schangxiang@126.com
2025-09-18 4b02d54422910170d2cedabf6866b6e6bec20dac
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
<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <configSections>
    <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
    <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
  </configSections>
  <startup>
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
  </startup>
  <system.serviceModel>
    <bindings>
      <basicHttpBinding>
        <binding name="BasicHttpBinding_IDevInfoService" />
        <binding name="BasicHttpBinding_Iapitest" />
      </basicHttpBinding>
    </bindings>
    <client>
      <endpoint address="http://localhost:8734/Design_Time_Addresses/SiemenDevice.WCF/DevInfoService/"
        binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IDevInfoService"
        contract="DevInforService.IDevInfoService" name="BasicHttpBinding_IDevInfoService" />
      <endpoint address="http://localhost:8733/Design_Time_Addresses/wcftest.wcf/apitest/"
        binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_Iapitest"
        contract="wmsService.Iapitest" name="BasicHttpBinding_Iapitest" />
    </client>
    <behaviors>
      <serviceBehaviors>
        <behavior name="">
          <serviceMetadata httpGetEnabled="true" httpsGetEnabled="true" />
          <serviceDebug includeExceptionDetailInFaults="true" />
        </behavior>
      </serviceBehaviors>
    </behaviors>
    <services>
      <service name="IWareCC.WCf.ControlCenterWcfService.ControlCenterWcfService">
        <endpoint address="" binding="basicHttpBinding" contract="IWareCC.WCf.ControlCenterWcfService.IControlCenterWcfService">
          <identity>
            <dns value="localhost" />
          </identity>
        </endpoint>
        <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
        <host>
          <baseAddresses>
            <!--<add baseAddress="http://192.168.0.189:8733/Design_Time_Addresses/IWareCC.WCf.ControlCenterWcfService/ControlCenterWcfService/" />-->
            <add baseAddress="http://localhost:8733/Design_Time_Addresses/IWareCC.WCf.ControlCenterWcfService/ControlCenterWcfService/" />
          </baseAddresses>
        </host>
      </service>
    </services>
  </system.serviceModel>
  <entityFramework>
    <defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" />
    <providers>
      <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
    </providers>
  </entityFramework>
  <connectionStrings>
    
<add name="DbModel" connectionString="data source=.;initial catalog=Siemens;persist security info=True;user id=sa;password=123abc.com;MultipleActiveResultSets=True;App=EntityFramework" providerName="System.Data.SqlClient" /></connectionStrings>
 
</configuration>