Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0"?>
- <configuration>
- <appSettings>
- <!--logs errors and warnings to event log-->
- <add key="EnableLogging" value="true" />
- <!--geo keys-->
- <add key="GOOGLEMAPS_URL" value="http://maps.google.com/maps/geo?q=" />
- <add key="GOOGLEMAPS_KEY" value="ABQIAAAAjn-nMVgqYGUJgHZ1P-pZ_BQuQ9_xRF0rWq1R-8w6REs8Q4vfKxQ0wYlwHP8P11Oq1njGKFp3uqhVtw" />
- </appSettings>
- <system.web>
- <compilation debug="false" targetFramework="4.0" />
- </system.web>
- <system.serviceModel>
- <bindings>
- <customBinding>
- <binding name="BinaryHttpBinding">
- <binaryMessageEncoding />
- <httpTransport />
- </binding>
- </customBinding>
- <basicHttpBinding>
- <binding name="BasicHttpBinding">
- </binding>
- </basicHttpBinding>
- <netTcpBinding>
- <binding portSharingEnabled="true">
- <security mode="None" />
- </binding>
- </netTcpBinding>
- </bindings>
- <behaviors>
- <serviceBehaviors>
- <behavior name="default">
- <!-- To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment -->
- <serviceMetadata httpGetEnabled="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"/>
- <!--throttle service-->
- <serviceThrottling
- maxConcurrentCalls="10000"
- maxConcurrentSessions="10000"
- maxConcurrentInstances="10000" />
- </behavior>
- </serviceBehaviors>
- </behaviors>
- <services>
- <service behaviorConfiguration="default" name="Housters.Services.ListingService">
- <endpoint name="TcpEndpoint"
- address="net.tcp://127.0.0.1:8000/ListingService"
- binding="netTcpBinding"
- contract="Housters.Services.IListingService" />
- <endpoint name="ListingServiceHttpEndpoint"
- address=""
- binding="basicHttpBinding"
- bindingConfiguration="BasicHttpBinding"
- contract="Housters.Services.IListingService" />
- </service>
- </services>
- <serviceHostingEnvironment multipleSiteBindingsEnabled="true" />
- </system.serviceModel>
- <system.webServer>
- <modules runAllManagedModulesForAllRequests="true"/>
- </system.webServer>
- </configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement