App.config 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <configuration>
  3. <appSettings>
  4. <add key="aspnet:UseTaskFriendlySynchronizationContext" value="true"/>
  5. </appSettings>
  6. <system.web>
  7. <compilation debug="true"/>
  8. </system.web>
  9. <!-- When deploying the service library project, the content of the config file must be added to the host's
  10. app.config file. System.Configuration does not support config files for libraries. -->
  11. <system.serviceModel>
  12. <services>
  13. <service name="GDNXFD.Alert.WcfService.AlertService">
  14. <endpoint address="" binding="basicHttpBinding" contract="GDNXFD.Alert.WcfService.IAlertService">
  15. <identity>
  16. <dns value="localhost"/>
  17. </identity>
  18. </endpoint>
  19. <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
  20. <host>
  21. <baseAddresses>
  22. <add baseAddress="http://localhost:8733/Design_Time_Addresses/GDNXFD.Alert.WcfService/Service1/"/>
  23. </baseAddresses>
  24. </host>
  25. </service>
  26. </services>
  27. <behaviors>
  28. <serviceBehaviors>
  29. <behavior>
  30. <!-- To avoid disclosing metadata information,
  31. set the values below to false before deployment -->
  32. <serviceMetadata httpGetEnabled="True" httpsGetEnabled="True"/>
  33. <!-- To receive exception details in faults for debugging purposes,
  34. set the value below to true. Set to false before deployment
  35. to avoid disclosing exception information -->
  36. <serviceDebug includeExceptionDetailInFaults="False"/>
  37. </behavior>
  38. </serviceBehaviors>
  39. </behaviors>
  40. </system.serviceModel>
  41. <startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/></startup></configuration>