WCF WEB API配置
2020-11-17 02:30
标签:style blog class code java javascript color get int rgb 数据 Web.config配置 WCF WEB API配置,搜素材,soscw.com WCF WEB API配置 标签:style blog class code java javascript color get int rgb 数据 原文地址:http://www.cnblogs.com/FlyCat/p/3701631.htmlsystem.serviceModel>
services>
service name="WCFServiceWebRole2.Service1">
endpoint contract="WCFServiceWebRole2.IService1"
binding="webHttpBinding"
behaviorConfiguration="web"
>endpoint>
service>
services>
behaviors>
serviceBehaviors>
behavior>
serviceMetadata httpGetEnabled="true"/>
serviceDebug includeExceptionDetailInFaults="false"/>
behavior>
serviceBehaviors>
endpointBehaviors>
behavior name="web">
webHttp helpEnabled="true" defaultBodyStyle="Bare" defaultOutgoingResponseFormat="Json" >webHttp>
behavior>
endpointBehaviors>
behaviors>
serviceHostingEnvironment multipleSiteBindingsEnabled="true" />
system.serviceModel>
behaviorConfiguration="web" 配置为HTTP访问
上一篇:win32 摄像头捕获系统vfw
下一篇:各国语言简写代码