44 lines
1.8 KiB
Plaintext
44 lines
1.8 KiB
Plaintext
|
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
|
<configuration>
|
||
|
|
|
||
|
|
<appSettings>
|
||
|
|
<add key="aspnet:UseTaskFriendlySynchronizationContext" value="true"/>
|
||
|
|
</appSettings>
|
||
|
|
<system.web>
|
||
|
|
<compilation debug="true"/>
|
||
|
|
</system.web>
|
||
|
|
<!-- When deploying the service library project, the content of the config file must be added to the host's
|
||
|
|
app.config file. System.Configuration does not support config files for libraries. -->
|
||
|
|
<system.serviceModel>
|
||
|
|
<services>
|
||
|
|
<service name="DTS.Common.ServiceLibrary.ServiceLibrary">
|
||
|
|
<endpoint address="" binding="basicHttpBinding" contract="DTS.Common.ServiceLibrary.IServiceLibrary">
|
||
|
|
<identity>
|
||
|
|
<dns value="localhost"/>
|
||
|
|
</identity>
|
||
|
|
</endpoint>
|
||
|
|
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
|
||
|
|
<host>
|
||
|
|
<baseAddresses>
|
||
|
|
<add baseAddress="http://localhost:8733/Design_Time_Addresses/DTS.Common.ServiceLibrary/Service1/"/>
|
||
|
|
</baseAddresses>
|
||
|
|
</host>
|
||
|
|
</service>
|
||
|
|
</services>
|
||
|
|
<behaviors>
|
||
|
|
<serviceBehaviors>
|
||
|
|
<behavior>
|
||
|
|
<!-- To avoid disclosing metadata information,
|
||
|
|
set the values below to false before deployment -->
|
||
|
|
<serviceMetadata httpGetEnabled="True" httpsGetEnabled="True"/>
|
||
|
|
<!-- To receive exception details in faults for debugging purposes,
|
||
|
|
set the value below to true. Set to false before deployment
|
||
|
|
to avoid disclosing exception information -->
|
||
|
|
<serviceDebug includeExceptionDetailInFaults="False"/>
|
||
|
|
</behavior>
|
||
|
|
</serviceBehaviors>
|
||
|
|
</behaviors>
|
||
|
|
</system.serviceModel>
|
||
|
|
|
||
|
|
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2"/></startup></configuration>
|