ldj/WcfServicePortal/Web.config

47 lines
1.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<configuration>
<appSettings>
<add key="SqlconnPlatform" value="Data Source=localhost;Initial Catalog=deiniuPlatform;Integrated Security=True"/>
<add key="ClientSettingsProvider.ServiceUri" value="" />
<add key="ConStringEncrypt" value="false" />
</appSettings>
<system.web>
<compilation debug="true" targetFramework="4.0" />
</system.web>
<system.serviceModel>
<services>
<service name="DeiNiu.Wcf.T_ONLINE" behaviorConfiguration="serviceBehavior">
<endpoint binding="webHttpBinding" contract="DeiNiu.Wcf.IOnline" behaviorConfiguration="web"></endpoint>
</service>
</services>
<behaviors>
<serviceBehaviors>
<behavior name="serviceBehavior">
<!-- 为避免泄漏元数据信息,请在部署前将以下值设置为 false 并删除上面的元数据终结点 -->
<serviceMetadata httpGetEnabled="true"/>
<!-- 要接收故障异常详细信息以进行调试,请将以下值设置为 true。在部署前设置为 false 以避免泄漏异常信息 -->
<serviceDebug includeExceptionDetailInFaults="true"/>
</behavior>
</serviceBehaviors>
<endpointBehaviors>
<behavior name="web">
<webHttp/>
</behavior>
</endpointBehaviors>
</behaviors>
<serviceHostingEnvironment multipleSiteBindingsEnabled="true" />
</system.serviceModel>
<system.webServer>
<modules runAllManagedModulesForAllRequests="true"/>
</system.webServer>
</configuration>