customized webhttpbinding for large messages

<endpointBehaviors>

<behavior name=”AspNetAjaxEndpointBehavior”>

<enableWebScript/>

<dataContractSerializer maxItemsInObjectGraph=”2147483647″ />

</behavior>

</endpointBehaviors>

</behaviors>

<bindings>

 

<webHttpBinding>

<binding name=”AspNetAjaxBinding” hostNameComparisonMode=”StrongWildcard” closeTimeout=”00:01:00″ openTimeout=”10:01:00″ receiveTimeout=”10:10:00″ sendTimeout=”10:01:00″ maxBufferPoolSize=”2147483647″ maxReceivedMessageSize=”2147483647″ bypassProxyOnLocal=”false”>

<readerQuotas maxDepth=”2147483647″ maxStringContentLength=”2147483647″ maxArrayLength=”2147483647″ maxBytesPerRead=”2147483647″ maxNameTableCharCount=”2147483647″/>

<security mode=”TransportCredentialOnly”>

<transport clientCredentialType=”Ntlm” />

</security>

</binding>

</webHttpBinding>

</bindings>

<services>

<service name=”Namespace.Classname” behaviorConfiguration=”ProxyServiceBehavior”>

<endpoint address=””

binding=”webHttpBinding” bindingConfiguration=”AspNetAjaxBinding”

contract=”IInteface” behaviorConfiguration=”AspNetAjaxEndpointBehavior” />

</service>

</services>

 

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: