Free cookie consent management tool by TermsFeed Policy Generator

source: branches/thasling/DistributedGA/DistributedGA.ContactServer/App.config @ 17558

Last change on this file since 17558 was 14074, checked in by thasling, 8 years ago

#2615:
made minor changes

File size: 2.0 KB
Line 
1<?xml version="1.0" encoding="utf-8" ?>
2<configuration>
3
4  <appSettings>
5    <add key="aspnet:UseTaskFriendlySynchronizationContext" value="true" />
6  </appSettings>
7  <system.web>
8    <compilation debug="true" />
9  </system.web>
10  <!-- When deploying the service library project, the content of the config file must be added to the host's
11  app.config file. System.Configuration does not support config files for libraries. -->
12  <system.serviceModel>
13    <bindings>
14      <basicHttpBinding>
15        <binding name="LargeObjects" maxBufferSize="2147483647" maxReceivedMessageSize="2147483647" />
16      </basicHttpBinding>
17      <netTcpBinding>
18        <binding name="LargeObjects" maxBufferSize="2147483647" maxReceivedMessageSize="2147483647" />
19      </netTcpBinding>
20    </bindings>   
21    <services>   
22      <service name="DistributedGA.ContactServer.ContactServiceImpl">
23        <endpoint bindingConfiguration="LargeObjects" address="ContactService" binding="netTcpBinding" contract="DistributedGA.ContactServer.IContactService"/>
24        <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
25        <host>
26          <baseAddresses>
27            <add baseAddress="net.tcp://localhost:9090/DistributedGA.ContactServer" />
28          </baseAddresses>
29        </host>
30      </service>
31    </services>
32    <behaviors>
33      <serviceBehaviors>
34        <behavior>
35          <!-- To avoid disclosing metadata information,
36          set the values below to false before deployment -->
37          <serviceMetadata httpGetEnabled="True" httpsGetEnabled="True"/>
38          <!-- To receive exception details in faults for debugging purposes,
39          set the value below to true.  Set to false before deployment
40          to avoid disclosing exception information -->
41          <serviceDebug includeExceptionDetailInFaults="true" />
42        </behavior>
43      </serviceBehaviors>
44    </behaviors>
45  </system.serviceModel>
46
47</configuration>
Note: See TracBrowser for help on using the repository browser.