duan
2024-08-21 22bd5bc1ce2b49284cc2f042c7f4f48619fcf85b
提交 | 用户 | age
91d475 1 <?xml version="1.0"?>
4e8a53 2 <configuration>
91d475 3   <connectionStrings>
b347b1 4     <add name="DIX" connectionString="data source=43.98.47.159;initial catalog=DIX;Pooling=true;Max Pool Size=100;Min Pool Size=0;integrated security=false;persist security info=True;User ID=developer;Password=p@d201908"/>
J 5     <add name="DIXLOG" connectionString="data source=43.98.47.159;initial catalog=DIXLog;Pooling=true;Max Pool Size=100;Min Pool Size=0;integrated security=false;persist security info=True;User ID=developer;Password=p@d201908"/>
91d475 6   </connectionStrings>
4e8a53 7   <appSettings>
91d475 8     <add key="logfolder" value="c:\Lotlog\"/>
J 9     <add key="WriteLog" value="0"/>
10   </appSettings>
4e8a53 11   <!--
J 12     有关 web.config 更改的说明,请参见 http://go.microsoft.com/fwlink/?LinkId=235367。
13
14     可在 <httpRuntime> 标记上设置以下特性。
15       <system.Web>
16         <httpRuntime targetFramework="4.5" />
17       </system.Web>
18   -->
91d475 19   <system.web>
J 20     <compilation targetFramework="4.5" debug="true"/>
21     <httpRuntime targetFramework="4.5"/>
4e8a53 22     <pages validateRequest="false"/>
91d475 23   </system.web>
J 24   <system.webServer>
4e8a53 25     <!--<modules runAllManagedModulesForAllRequests="true"/>-->
91d475 26     <!--
J 27         若要在调试过程中浏览 Web 应用程序根目录,请将下面的值设置为 True。
28         在部署之前将该值设置为 False 可避免泄露 Web 应用程序文件夹信息。
29       -->
30     <directoryBrowse enabled="true"/>
31   </system.webServer>
32   <system.serviceModel>
4e8a53 33     <client/>
91d475 34     <bindings>
J 35       <basicHttpBinding>
36         <binding name="BasicHttpbindingConfig" closeTimeout="00:00:05"
37           openTimeout="00:00:05" receiveTimeout="11:00:00" sendTimeout="11:00:00"
38           maxBufferPoolSize="655360000" maxBufferSize="655360000" maxReceivedMessageSize="655360000"
39           transferMode="Buffered">
40           <readerQuotas maxDepth="32" maxStringContentLength="655360000"
41             maxArrayLength="655360000" maxBytesPerRead="655360000" maxNameTableCharCount="655360000" />
42         </binding>
4e8a53 43       </basicHttpBinding>
91d475 44     </bindings>
J 45     <behaviors>
46       <serviceBehaviors>
47         <behavior name="serviceBehavior">
4e8a53 48           <serviceMetadata httpGetEnabled="false" httpsGetEnabled="false"/>
J 49           <serviceDebug includeExceptionDetailInFaults="true"/>
91d475 50         </behavior>
J 51         <behavior name="">
4e8a53 52           <serviceMetadata httpGetEnabled="true" httpsGetEnabled="true"/>
J 53           <serviceDebug includeExceptionDetailInFaults="false"/>
91d475 54         </behavior>
J 55       </serviceBehaviors>
56     </behaviors>
57     <protocolMapping>
58       <add binding="basicHttpsBinding" scheme="https"/>
59     </protocolMapping>
60     <serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true"/>
61     <services>
62       <service name="DIXPad.DAS.Puppy" behaviorConfiguration="serviceBehavior">
63         <endpoint address="" binding="basicHttpBinding" contract="DIXPad.DAS.IPuppy" bindingConfiguration="BasicHttpbindingConfig">
64           <identity>
65             <dns value="localhost"/>
66           </identity>
67         </endpoint>
4e8a53 68         <!--<endpoint address="" binding="netTcpBinding" contract="DIXPad.DAS.IPuppy" bindingConfiguration="tcpbindingConfig">
91d475 69           <identity>
J 70             <dns value="localhost"/>
71           </identity>
4e8a53 72         </endpoint>-->
J 73         <!--<endpoint address="mex" binding="mexTcpBinding" bindingConfiguration="" contract="IMetadataExchange"/>-->
91d475 74         <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
J 75         <host>
76           <baseAddresses>
4e8a53 77             <add baseAddress="http://localhost:9001/Puppy"/>
J 78             <!--<add baseAddress="net.tcp://localhost:9001/Puppy"/>-->
91d475 79           </baseAddresses>
J 80         </host>
81       </service>
82       <!--<service name="LotDASF.LotService" behaviorConfiguration="serviceBehavior">
83         <endpoint address="" binding="basicHttpBinding" contract="LotDASF.ILotService" bindingConfiguration="BasicHttpbindingConfig">
84           <identity>
85             <dns value="localhost"/>
86           </identity>
87         </endpoint>
88         <endpoint address="" binding="netTcpBinding" contract="LotDASF.ILotService" bindingConfiguration="tcpbindingConfig">
89           <identity>
90             <dns value="localhost"/>
91           </identity>
92         </endpoint>
93         <endpoint address="mex" binding="mexTcpBinding" bindingConfiguration="" contract="IMetadataExchange"/>
94         <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
95         <host>
96           <baseAddresses>
97             <add baseAddress="http://localhost:8100/LotService"/>
98             <add baseAddress="net.tcp://localhost:8101/LotService"/>
99           </baseAddresses>
100         </host>
101       </service>-->
102     </services>
103   </system.serviceModel>
4e8a53 104 </configuration>