1: <?xml version="1.0" encoding="utf-8" ?>
2: <configuration>
3: <system.web>
4: <compilation debug="true" />
5: </system.web>
6: <!-- When deploying the service library project, the content
7: of the config file must be added to the host's app.config
8: file. System.Configuration does not support config files
9: for libraries. -->
10: <system.serviceModel>
11: <services>
12: <service name="WCFLanguage.Language"
13: behaviorConfiguration="WCFLanguage.LanguageBehavior">
14: <host>
15: <baseAddresses>
16: <add baseAddress ="http://192.168.10.68:8282/WCFLanguage/Language" />
17: </baseAddresses>
18: </host>
19: <!-- Service Endpoints -->
20: <!-- Unless fully qualified, address is relative to
21: base address supplied above -->
22: <endpoint address =""
23: binding="basicHttpBinding"
24: contract="WCFLanguage.ILanguage" />
25: <!--
26: Upon deployment, the following identity element
27: should be removed or replaced.
28: -->
29: <!-- Metadata Endpoints -->
30: <endpoint address="mex"
31: binding="mexHttpBinding"
32: contract="IMetadataExchange"/>
33: </service>
34:
35: </services>
36: <behaviors>
37: <serviceBehaviors>
38: <behavior name="WCFLanguage.LanguageBehavior">
39: <!-- To avoid disclosing metadata information,
40: set the value below to false and remove the metadata
41: endpoint above before deployment -->
42: <serviceMetadata httpGetEnabled="True"/>
43: <!-- To receive exception details in faults for
44: debugging purposes, set the value below to true.
45: Set to false before deployment to avoid disclosing
46: exception information -->
47: <serviceDebug includeExceptionDetailInFaults="False" />
48: </behavior>
49:
50: </serviceBehaviors>
51: </behaviors>
52: </system.serviceModel>
53: </configuration>