12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- <?xml version="1.0" encoding="utf-8"?>
- <configuration>
- <startup>
- <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
- </startup>
- <runtime>
- <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
-
- <probing privatePath="Library;dll;bin"/>
- </assemblyBinding>
- </runtime>
- <system.serviceModel>
- <services>
-
- <service name="LYFZ.SWcfServiceLibrary.CommunicationService" behaviorConfiguration="CalculatorServiceBehavior">
-
-
- <host>
- <baseAddresses>
-
- <add baseAddress="http://localhost:8000/webService"/>
- </baseAddresses>
- </host>
-
- <endpoint address="" binding="webHttpBinding" contract="LYFZ.SWcfServiceLibrary.ICommunication"></endpoint>
- <endpoint address="http://localhost:8000/ISmsService" binding="webHttpBinding" contract="LYFZ.SWcfServiceLibrary.ISmsService"></endpoint>
- </service>
- <service name="LYFZ.SWcfServiceLibrary.WsConnectService" behaviorConfiguration="WsCalculatorServiceBehavior">
-
- <host>
- <baseAddresses>
-
- <add baseAddress="http://localhost:8000/wsService"/>
- </baseAddresses>
- </host>
-
- <endpoint address="" binding="wsHttpBinding" contract="LYFZ.SWcfServiceLibrary.IWsConnectService"></endpoint>
- </service>
- </services>
-
- <behaviors>
- <serviceBehaviors>
- <behavior name="CalculatorServiceBehavior">
- <serviceMetadata httpGetEnabled="true"/>
- <serviceDebug includeExceptionDetailInFaults="false"/>
- </behavior>
- <behavior name="WsCalculatorServiceBehavior">
- <serviceMetadata httpGetEnabled="true"/>
- <serviceDebug includeExceptionDetailInFaults="false"/>
- </behavior>
- </serviceBehaviors>
- </behaviors>
- </system.serviceModel>
-
- </configuration>
|