App.config 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <configuration>
  3. <configSections>
  4. <sectionGroup name="applicationSettings"
  5. type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
  6. <section name="Foghorn.Service.Properties.Settings"
  7. type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
  8. requirePermission="false" />
  9. </sectionGroup>
  10. </configSections>
  11. <connectionStrings>
  12. <add name="FoghornEntities"
  13. connectionString="metadata=res://*/FoghornModel.csdl|res://*/FoghornModel.ssdl|res://*/FoghornModel.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=(local);initial catalog=Foghorn;integrated security=True;MultipleActiveResultSets=True;App=EntityFramework&quot;"
  14. providerName="System.Data.EntityClient" />
  15. </connectionStrings>
  16. <appSettings>
  17. <add key="aspnet:UseTaskFriendlySynchronizationContext" value="true" />
  18. </appSettings>
  19. <system.web>
  20. <compilation debug="true" />
  21. </system.web>
  22. <!-- When deploying the service library project, the content of the config file must be added to the host's
  23. app.config file. System.Configuration does not support config files for libraries. -->
  24. <system.serviceModel>
  25. <services>
  26. <service name="Foghorn.WcfService.FoghornService">
  27. <host>
  28. <baseAddresses>
  29. <add baseAddress="http://localhost:8733/Design_Time_Addresses/Foghorn.WcfService/FoghornService/" />
  30. </baseAddresses>
  31. </host>
  32. <!-- Service Endpoints -->
  33. <!-- Unless fully qualified, address is relative to base address supplied above -->
  34. <endpoint address="" binding="basicHttpBinding" contract="Foghorn.WcfService.IFoghornService">
  35. <!--
  36. Upon deployment, the following identity element should be removed or replaced to reflect the
  37. identity under which the deployed service runs. If removed, WCF will infer an appropriate identity
  38. automatically.
  39. -->
  40. <identity>
  41. <dns value="localhost" />
  42. </identity>
  43. </endpoint>
  44. <!-- Metadata Endpoints -->
  45. <!-- The Metadata Exchange endpoint is used by the service to describe itself to clients. -->
  46. <!-- This endpoint does not use a secure binding and should be secured or removed before deployment -->
  47. <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
  48. </service>
  49. </services>
  50. <behaviors>
  51. <serviceBehaviors>
  52. <behavior>
  53. <!-- To avoid disclosing metadata information,
  54. set the values below to false before deployment -->
  55. <serviceMetadata httpGetEnabled="True" httpsGetEnabled="True" />
  56. <!-- To receive exception details in faults for debugging purposes,
  57. set the value below to true. Set to false before deployment
  58. to avoid disclosing exception information -->
  59. <serviceDebug includeExceptionDetailInFaults="False" />
  60. </behavior>
  61. </serviceBehaviors>
  62. </behaviors>
  63. </system.serviceModel>
  64. <applicationSettings>
  65. <Foghorn.Service.Properties.Settings>
  66. <setting name="GrowlDefaultPort" serializeAs="String">
  67. <value>23053</value>
  68. </setting>
  69. </Foghorn.Service.Properties.Settings>
  70. </applicationSettings>
  71. </configuration>