51 lines
2.0 KiB
XML
51 lines
2.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<configuration>
|
|
<startup>
|
|
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/>
|
|
</startup>
|
|
<appSettings>
|
|
<!--<add key="connString" value="Data Source=127.0.0.1;Initial Catalog=DR_COMT;Integrated Security=TRUE"/>-->
|
|
<add key="connString" value="Data Source=192.168.0.127;password=zz.www0808;Initial Catalog=DR_COMT;Pooling=true;Max Pool Size=40000;Min Pool Size=0;User ID=sa"/>
|
|
</appSettings>
|
|
<system.serviceModel>
|
|
<services>
|
|
<service name="webHttp.Service">
|
|
<endpoint address="" behaviorConfiguration="webBehavior" binding="webHttpBinding" bindingConfiguration="webHttpBindingWithJsonP" contract="webHttp.IService">
|
|
<identity>
|
|
<dns value="localhost"/>
|
|
</identity>
|
|
</endpoint>
|
|
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
|
|
<host>
|
|
<baseAddresses>
|
|
<add baseAddress="http://0.0.0.0:8733/"/>
|
|
</baseAddresses>
|
|
</host>
|
|
</service>
|
|
</services>
|
|
<bindings>
|
|
<webHttpBinding>
|
|
<binding name="webHttpBindingWithJsonP" crossDomainScriptAccessEnabled="true"/>
|
|
</webHttpBinding>
|
|
</bindings>
|
|
<behaviors>
|
|
<serviceBehaviors>
|
|
<behavior>
|
|
<!-- 为避免泄漏元数据信息,
|
|
请在部署前将以下值设置为 false -->
|
|
<serviceMetadata httpGetEnabled="True" httpsGetEnabled="True"/>
|
|
<!-- 要接收故障异常详细信息以进行调试,
|
|
请将以下值设置为 true。在部署前设置为 false
|
|
以避免泄漏异常信息 -->
|
|
<serviceDebug includeExceptionDetailInFaults="False"/>
|
|
</behavior>
|
|
</serviceBehaviors>
|
|
<endpointBehaviors>
|
|
<behavior name="webBehavior">
|
|
<webHttp automaticFormatSelectionEnabled="true"/>
|
|
</behavior>
|
|
</endpointBehaviors>
|
|
</behaviors>
|
|
</system.serviceModel>
|
|
</configuration>
|