84 lines
4.8 KiB
XML
84 lines
4.8 KiB
XML
<?xml version="1.0"?>
|
|
<configuration>
|
|
<appSettings>
|
|
<add key="SqlconnWMS" value="Data Source=localhost;Initial Catalog=wmsuzhou2;Integrated Security=True"/>
|
|
<add key="SqlconnPlatform" value="Data Source=localhost;Initial Catalog=deiniuPlatform;Integrated Security=True"/>
|
|
<add key="SqlconnWms_erp" value="Data Source=localhost;Initial Catalog=custErp_suzou2;Integrated Security=True"/>
|
|
<!--
|
|
<add key="SqlconnWMS" value="Data Source=175.24.179.109;Initial Catalog=wmsuzhou2;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="SqlconnWms_erp" value="Data Source=175.24.179.109;Initial Catalog=custErp_suzou2;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 targetFramework="4.0" debug="true"/>
|
|
<httpRuntime maxRequestLength="10485760"/>
|
|
</system.web>
|
|
<system.serviceModel>
|
|
<services>
|
|
<service name="DeiNiu.Wcf.Android" behaviorConfiguration="serviceBehavior">
|
|
<endpoint address="" binding="webHttpBinding" bindingConfiguration="myBinding" behaviorConfiguration="web" contract="DeiNiu.Wcf.IAndroid"/>
|
|
</service>
|
|
</services>
|
|
<extensions>
|
|
<behaviorExtensions>
|
|
<add name="AuthenticationBehavior" type="WcfServiceAuthentication.AuthenticationBehaviorExtension, WcfServiceAuthentication"/>
|
|
</behaviorExtensions>
|
|
</extensions>
|
|
<bindings>
|
|
<webHttpBinding>
|
|
<binding name="myBinding" closeTimeout="00:20:00" receiveTimeout="00:20:00" sendTimeout="00:20:00" maxReceivedMessageSize="2147483647" maxBufferSize="2147483647" maxBufferPoolSize="2147483647" transferMode="Streamed">
|
|
<readerQuotas maxDepth="64" maxArrayLength="2147483647" maxStringContentLength="2147483647"/>
|
|
</binding>
|
|
</webHttpBinding>
|
|
<basicHttpBinding>
|
|
<binding closeTimeout="00:20:00" receiveTimeout="00:20:00" sendTimeout="00:20:00" maxBufferSize="2147483647" maxReceivedMessageSize="2147483647"/>
|
|
</basicHttpBinding>
|
|
</bindings>
|
|
<behaviors>
|
|
<serviceBehaviors>
|
|
<behavior name="serviceBehavior">
|
|
<!-- 为避免泄漏元数据信息,请在部署前将以下值设置为 false 并删除上面的元数据终结点 -->
|
|
<serviceMetadata httpGetEnabled="true"/>
|
|
<!-- 要接收故障异常详细信息以进行调试,请将以下值设置为 true。在部署前设置为 false 以避免泄漏异常信息 -->
|
|
<serviceDebug includeExceptionDetailInFaults="false"/>
|
|
<!-- 开发调试引用服务时不需要权限拦截
|
|
<AuthenticationBehavior/>-->
|
|
</behavior>
|
|
<behavior name="serviceBehaviorNoAuthor">
|
|
<!-- 为避免泄漏元数据信息,请在部署前将以下值设置为 false 并删除上面的元数据终结点 -->
|
|
<serviceMetadata httpGetEnabled="true"/>
|
|
<!-- 要接收故障异常详细信息以进行调试,请将以下值设置为 true。在部署前设置为 false 以避免泄漏异常信息 -->
|
|
<serviceDebug includeExceptionDetailInFaults="false"/>
|
|
</behavior>
|
|
<behavior>
|
|
<!-- 为避免泄漏元数据信息,请在部署前将以下值设置为 false 并删除上面的元数据终结点 -->
|
|
<serviceMetadata httpGetEnabled="true"/>
|
|
<!-- 要接收故障异常详细信息以进行调试,请将以下值设置为 true。在部署前设置为 false 以避免泄漏异常信息 -->
|
|
<serviceDebug includeExceptionDetailInFaults="true"/>
|
|
<!-- 开发调试引用服务时不需要权限拦截
|
|
<AuthenticationBehavior/> -->
|
|
</behavior>
|
|
</serviceBehaviors>
|
|
<endpointBehaviors>
|
|
<behavior name="web">
|
|
<webHttp helpEnabled="true"/>
|
|
</behavior>
|
|
</endpointBehaviors>
|
|
</behaviors>
|
|
<serviceHostingEnvironment multipleSiteBindingsEnabled="true" minFreeMemoryPercentageToActivateService="0"/>
|
|
</system.serviceModel>
|
|
<system.webServer>
|
|
<modules runAllManagedModulesForAllRequests="true"/>
|
|
<security>
|
|
<requestFiltering>
|
|
<!-- 10 MB in bytes -->
|
|
<requestLimits maxAllowedContentLength="10485760"/>
|
|
</requestFiltering>
|
|
</security>
|
|
</system.webServer>
|
|
</configuration>
|
|
<!--ProjectGuid: BE0282B1-5A40-45A0-9556-B7C83271C393--> |