<?xml version="1.0" encoding="utf-8"?>
|
<configuration>
|
<configSections></configSections>
|
<startup>
|
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
|
</startup>
|
<system.serviceModel>
|
<bindings>
|
<basicHttpBinding>
|
<binding name="BasicHttpBinding_IControlCenterWcfService" />
|
<binding name="BasicHttpBinding_ISapWcfService" maxBufferSize="2147483647"
|
maxReceivedMessageSize="2147483647" />
|
</basicHttpBinding>
|
</bindings>
|
<client>
|
<endpoint address="http://localhost:8733/Design_Time_Addresses/iWareSAP.WCF/SapWcfService/"
|
binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_ISapWcfService"
|
contract="sendToSap.ISapWcfService" name="BasicHttpBinding_ISapWcfService" />
|
<endpoint address="http://localhost:8733/Design_Time_Addresses/IWareCC.WCf.ControlCenterWcfService/ControlCenterWcfService/"
|
binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IControlCenterWcfService"
|
contract="wcfApi.IControlCenterWcfService" name="BasicHttpBinding_IControlCenterWcfService" />
|
</client>
|
<behaviors>
|
<serviceBehaviors>
|
<behavior name="">
|
<serviceMetadata httpGetEnabled="true" httpsGetEnabled="true" />
|
<serviceDebug includeExceptionDetailInFaults="false" />
|
</behavior>
|
</serviceBehaviors>
|
</behaviors>
|
<services>
|
<service name="wcftest.wcf.apitest">
|
<endpoint address="" binding="basicHttpBinding" contract="wcftest.wcf.Iapitest">
|
<identity>
|
<dns value="localhost" />
|
</identity>
|
</endpoint>
|
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
|
<host>
|
<baseAddresses>
|
<add baseAddress="http://localhost:8733/Design_Time_Addresses/wcftest.wcf/apitest/" />
|
<!--<add baseAddress="http://192.168.0.191:8733/Design_Time_Addresses/wcftest.wcf/apitest/ " _Dev />-->
|
</baseAddresses>
|
</host>
|
</service>
|
</services>
|
</system.serviceModel>
|
<connectionStrings>
|
<add name="dbModel" connectionString="data source=.;initial catalog=YrtWMS_Siemens2;persist security info=True;user id=sa;password=123abc.com;MultipleActiveResultSets=True;App=EntityFramework" providerName="System.Data.SqlClient" />
|
|
|
<add name="deviceOrm" connectionString="data source=.;initial catalog=Siemens;integrated security=True;MultipleActiveResultSets=True;App=EntityFramework" providerName="System.Data.SqlClient" />
|
|
</connectionStrings>
|
<appSettings>
|
<!--是否是虚拟仿真模式,true:是,false:否。生产环境要配置为false 【EditBy shaocx,2022-01-27】-->
|
<add key="IsVirtualMode" value="true"/>
|
</appSettings>
|
</configuration>
|