<system.servicemodel> <behaviors> <endpointbehaviors> <behavior name="webHttpBehavior"> <webhttp /> </behavior> </endpointbehaviors> <servicebehaviors> <behavior name="defaultServiceBehavior"> <servicemetadata httpgetenabled="true" /> <servicedebug includeexceptiondetailinfaults="true" /> </behavior> </servicebehaviors> </behaviors> <bindings> <basichttpbinding> <binding name="winAuthBasicHttpBinding" opentimeout="05:00" sendtimeout="05:00"> <security mode="TransportCredentialOnly"> <transport clientcredentialtype="Windows" /> </security> </binding> </basichttpbinding> </bindings> <servicehostingenvironment aspnetcompatibilityenabled="true" multiplesitebindingsenabled="true" /> <services> <service behaviorconfiguration="defaultServiceBehavior" name="DataService.CrossDomainService"> <endpoint address="" behaviorconfiguration="webHttpBehavior" binding="webHttpBinding" contract="DataService.ICrossDomainService"> <identity> <dns value="107.0.0.12" /> </identity> </endpoint> <host> <baseAddresses> <add baseaddress="http://107.0.0.12:2035/" /> </baseAddresses> </host> </service> <service behaviorconfiguration="defaultServiceBehavior" name="DataService.NewDataService"> <endpoint address="" binding="basicHttpBinding" bindingconfiguration="winAuthBasicHttpBinding" contract="DataService.INewDataService"> <identity> <dns value="107.0.0.12" /> </identity> </endpoint> <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" /> <host> <baseAddresses> <add baseaddress="http://107.0.0.12:2035/DataService/" /> </baseAddresses> </host> </service> </services> </system.servicemodel>
<system.web> <authentication mode="Windows" /> <identity impersonate="true" /> </system.web>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)