Advertisement
Guest User

Untitled

a guest
Apr 3rd, 2024
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.54 KB | None | 0 0
  1.  <!-- Services configuration -->
  2.   <system.serviceModel>
  3.     <!-- dont crash when there are both http and https bindings for the same site -->
  4.     <serviceHostingEnvironment multipleSiteBindingsEnabled="true" aspNetCompatibilityEnabled="true"/>
  5.     <!-- Make sure that http uses defualt binding and https uses bindingHttps binding -->
  6.     <protocolMapping>
  7.       <add scheme="http" binding="basicHttpBinding" bindingConfiguration=""/>
  8.       <add scheme="https" binding="basicHttpBinding" bindingConfiguration="bindingHttps"/>
  9.     </protocolMapping>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement