<?xml version="1.0"?> <configuration> <system.web> <authorization> <deny users="?"/> </authorization> <compilation debug="true" targetFramework="4.0"/> <httpRuntime/> </system.web> <system.serviceModel> <services> <service name="WebApplication2.Service.Service1"> <endpoint address="" binding="webHttpBinding" contract="WebApplication2.Service.IService1" bindingConfiguration="ApiQuotaBinding" behaviorConfiguration="webHttpBehavior"></endpoint> <host> <baseAddresses> <add baseAddress="http://localhost:11008/Service"/> </baseAddresses> </host> </service> </services> <bindings> <!-- Customizations for REST service --> <webHttpBinding> <!-- Limits set to 10 MB (specified value in bytes) --> <binding name="ApiQuotaBinding" maxReceivedMessageSize="1048576000" maxBufferPoolSize="1048576000" maxBufferSize="1048576000" closeTimeout="00:03:00" openTimeout="00:03:00" receiveTimeout="00:10:00" sendTimeout="00:03:00"> <readerQuotas maxDepth="32" maxStringContentLength="104857600" maxArrayLength="1048576000" maxBytesPerRead="1048576000" /> <security mode="None" /> </binding> </webHttpBinding> </bindings> <behaviors> <endpointBehaviors> <behavior name="webHttpBehavior"> <webHttp /> </behavior> </endpointBehaviors> </behaviors> </system.serviceModel> <startup> <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/> </startup> </configuration>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)