| 123456789101112131415161718192021222324252627282930313233343536373839 |
- <?xml version="1.0"?>
- <!--
- 有关如何配置 ASP.NET 应用程序的详细信息,请访问
- http://go.microsoft.com/fwlink/?LinkId=169433
- -->
- <configuration>
- <connectionStrings>
- <add name="constr" connectionString="Data Source=192.168.0.94;Initial Catalog=Naire;User ID=sa;Password=sa" providerName="System.Data.SqlClient" />
- </connectionStrings>
- <system.web>
- <customErrors mode="Off" defaultRedirect="404.html"/>
- <compilation debug="true" targetFramework="4.0"/>
- </system.web>
- <system.serviceModel>
- <bindings>
- <basicHttpBinding>
- <binding name="BasicHttpBinding_IPowerMettersService" closeTimeout="00:01:00"
- openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
- allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
- maxBufferSize="2147483647" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647"
- messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
- useDefaultWebProxy="true">
- <readerQuotas maxDepth="32" maxStringContentLength="2147483647" maxArrayLength="2147483647"
- maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
- <security mode="None">
- <transport clientCredentialType="None" proxyCredentialType="None"
- realm="" />
- <message clientCredentialType="UserName" algorithmSuite="Default" />
- </security>
- </binding>
- </basicHttpBinding>
- </bindings>
- <client>
- <endpoint address="http://192.168.0.75:12351/" binding="basicHttpBinding"
- bindingConfiguration="BasicHttpBinding_IPowerMettersService"
- contract="ServiceReference.IPowerMettersService" name="BasicHttpBinding_IPowerMettersService" />
- </client>
- </system.serviceModel>
- </configuration>
|