开发者

What can I put in a .SVC file for IIS?

开发者 https://www.devze.com 2022-12-17 09:49 出处:网络
I\'m trying to find a definition of the directives that can be put into the file, but can\'t find any particular reference?

I'm trying to find a definition of the directives that can be put into the file, but can't find any particular reference?

I know of http://msdn.microsoft.com/en-us/library/aa967389.a开发者_JAVA百科spx

which specified @ServiceHost

but you can also use @Assembly etc... But I can't find a definitive reference of what .svc is and what you can put in it?


The designer intellisense for the .svc endpoint file only shows @ServiceHost and @Assembly so that's pretty much your lot.

You would use the @Assembly attribute to reference to other source files or assemblies if you were in-lining your WCF endpoint code in the .svc file instead of in a codebehind file.

0

精彩评论

暂无评论...
验证码 换一张
取 消