Advertisement
Guest User

Untitled

a guest
Mar 5th, 2017
246
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.92 KB | None | 0 0
  1. <?xml version="1.0"?>
  2. <configuration>
  3.  
  4.   <appSettings>
  5.     <add key="aspnet:UseTaskFriendlySynchronizationContext" value="true"/>
  6.   </appSettings>
  7.  
  8.  
  9.   <system.web>
  10.     <compilation debug="true" targetFramework="4.5.2"/>
  11.     <httpRuntime targetFramework="4.5.2"/>
  12.     <httpModules>
  13.       <add name="ApplicationInsightsWebTracking" type="Microsoft.ApplicationInsights.Web.ApplicationInsightsHttpModule, Microsoft.AI.Web"/>
  14.     </httpModules>
  15.   </system.web>
  16.  
  17.  
  18.   <system.serviceModel>
  19.     <services>
  20.       <service name="GeocodeWCF.GeocodeService" behaviorConfiguration="ServiceBehaviour">
  21.         <endpoint address="" binding="webHttpBinding"
  22.        behaviorConfiguration="webBehavior" contract="GeocodeWCF.IGeoService">
  23.         </endpoint>
  24.       </service>
  25.     </services>
  26.    
  27.     <behaviors>
  28.       <serviceBehaviors>
  29.         <behavior name="ServiceBehaviour">
  30.           <serviceMetadata httpGetEnabled="true" httpsGetEnabled="true"/>
  31.           <serviceDebug includeExceptionDetailInFaults="true"/>
  32.         </behavior>
  33.       </serviceBehaviors>
  34.       <endpointBehaviors>
  35.         <behavior name="webBehavior">
  36.           <webHttp/>
  37.         </behavior>
  38.       </endpointBehaviors>
  39.     </behaviors>
  40.     <protocolMapping>
  41.         <add binding="basicHttpsBinding" scheme="https"/>
  42.     </protocolMapping>    
  43.     <serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true"/>
  44.   </system.serviceModel>
  45.  
  46.  
  47.   <system.webServer>
  48.     <modules runAllManagedModulesForAllRequests="true">
  49.       <remove name="ApplicationInsightsWebTracking"/>
  50.       <add name="ApplicationInsightsWebTracking" type="Microsoft.ApplicationInsights.Web.ApplicationInsightsHttpModule, Microsoft.AI.Web"
  51.        preCondition="managedHandler"/>
  52.     </modules>
  53.     <directoryBrowse enabled="true"/>
  54.     <validation validateIntegratedModeConfiguration="false"/>
  55.   </system.webServer>
  56.  
  57. </configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement