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