-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.config
57 lines (55 loc) · 2.38 KB
/
App.config
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
<?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>
<bindings>
<basicHttpBinding>
<binding name="BasicHttpBinding_ITemplateService" />
<binding name="BasicHttpBinding_ICusServ" />
</basicHttpBinding>
</bindings>
<client>
<endpoint address="http://localhost:8733/Design_Time_Addresses/TemplateService/Service1/"
binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_ITemplateService"
contract="TemplateService.ITemplateService" name="BasicHttpBinding_ITemplateService" />
<endpoint address="http://localhost:8733/Design_Time_Addresses/ServiceCustomers/Service1/"
binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_ICusServ"
contract="ServiceCustomers.ICusServ" name="BasicHttpBinding_ICusServ" />
</client>
<services>
<service name="BackEndService_.BackEService">
<endpoint address="" binding="basicHttpBinding" contract="BackEndService_.IBackEService">
<identity>
<dns value="localhost" />
</identity>
</endpoint>
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
<host>
<baseAddresses>
<add baseAddress="http://localhost:8733/Design_Time_Addresses/BackEndService/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="true" />
</behavior>
</serviceBehaviors>
</behaviors>
</system.serviceModel>
</configuration>