ldj/WcfServicePortal/Web.config

52 lines
2.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<configuration>
<appSettings>
<!--
<add key="SqlconnPlatform" value="Data Source=121.42.142.11;Initial Catalog=deiniuPlatform;Persist Security Info=True;User ID=sa; Password=Es@cn09!;Pooling=true;Max Pool Size = 300; Min Pool Size=0; Connection Lifetime = 10;packet size=1000 " />
<add key="SqlconnPlatform" value="Data Source=175.24.179.109;Initial Catalog=deiniuPlatform;Persist Security Info=True;User ID=sa; Password=Es@cn09!;Pooling=true;Max Pool Size = 300; Min Pool Size=0; Connection Lifetime = 10;packet size=1000 " />
-->
<add key="SqlconnPlatform" value="Data Source=localhost;Initial Catalog=deiniuPlatform;Persist Security Info=True;User ID=sa; Password=Es@cn09!;Pooling=true;Max Pool Size = 300; Min Pool Size=0; Connection Lifetime = 10;packet size=1000 " />
<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>