<system.serviceModel> <serviceHostingEnvironment aspNetCompatibilityEnabled="true"/> <standardEndpoints> <webHttpEndpoint> <!-- Configure the WCF REST service base address via the global.asax.cs file and the default endpoint via the attributes on the <standardEndpoint> element below --> <standardEndpoint name="UserService" helpEnabled="true" automaticFormatSelectionEnabled="true"/> <standardEndpoint name="Anonymous" helpEnabled="true" automaticFormatSelectionEnabled="true"> <security mode="None" /> </standardEndpoint> </webHttpEndpoint> </standardEndpoints> <services> <service name="ICloudServices.UserService" behaviorConfiguration="debug"> <endpoint address="json" binding="webHttpBinding" behaviorConfiguration="restBehavior" contract="ICloudServices.IUserService"/> <endpoint address="" bindingConfiguration="basicHttpBindingSettings" binding="basicHttpBinding" contract="ICloudServices.IUserService"> <identity> <dns value="localhost"/> </identity> </endpoint> <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/> <host> <baseAddresses> <add baseAddress="http://localhost:1120/UserService.svc"/> </baseAddresses> </host> </service> </services> <bindings> <basicHttpBinding> <binding name="basicHttpBindingSettings" receiveTimeout="10:00:00" sendTimeout="10:00:00" openTimeout="10:00:00" closeTimeout="10:00:00" maxReceivedMessageSize="2147483647" maxBufferSize="2147483647" maxBufferPoolSize="2147483647" transferMode="Buffered" messageEncoding="Text" textEncoding="utf-8" bypassProxyOnLocal="false" useDefaultWebProxy="true"> <readerQuotas maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxDepth="2147483647" maxStringContentLength="2147483647" maxNameTableCharCount="2147483647"/> </binding> </basicHttpBinding> <webHttpBinding> <binding name="webHttpBindingSettings" crossDomainScriptAccessEnabled="true" openTimeout="00:01:00" receiveTimeout="05:00:00" sendTimeout="05:00:00" maxReceivedMessageSize="2147483647" maxBufferPoolSize="2147483647" > <readerQuotas maxDepth="128" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647"/> </binding> </webHttpBinding> </bindings> <behaviors> <endpointBehaviors> <behavior name="restBehavior"> <webHttp helpEnabled="true"/> </behavior> </endpointBehaviors> <serviceBehaviors> <behavior> <dataContractSerializer maxItemsInObjectGraph="2147483647"/> <serviceMetadata httpGetEnabled="True"/> <serviceDebug includeExceptionDetailInFaults="true"/> </behavior> <behavior name="debug"> <serviceMetadata httpGetEnabled="True" /> <serviceDebug includeExceptionDetailInFaults="true" /> </behavior> </serviceBehaviors> </behaviors> </system.serviceModel>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)