I have a MVC3 page that is consumed a WCF Service. It worked fine for small amount of data; however, it closed the connection when I have large amount of data. For example, it worked fine for 2000 records, but it did not work for 3000 or more. Has anyone else came across this issue or have fixed it before? The issue is only when I am calling the method through the webservice. If I create a method and call the method outside of the webservice, it load the data without issues.
See custom binding below
<bindings>
<customBinding>
<binding name="WSHttpBinding_IDALContentManager" closeTimeout="00:30:00" receiveTimeout="00:30:00" sendTimeout="00:30:00">
<textMessageEncoding maxReadPoolSize="2147483647" maxWritePoolSize="2147483647"
messageVersion="Soap12" writeEncoding="utf-8">
<readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647"
maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
</textMessageEncoding>
<httpTransport manualAddressing="false" maxBufferPoolSize="2147483647"
maxReceivedMessageSize="2147483647" allowCookies="false" authenticationScheme="Anonymous"
bypassProxyOnLocal="false" decompressionEnabled="true" hostNameComparisonMode="StrongWildcard"
keepAliveEnabled="true" maxBufferSize="2147483647" proxyAuthenticationScheme="Anonymous"
realm="" transferMode="Buffered" unsafeConnectionNtlmAuthentication="false"
useDefaultWebProxy="true" />
</binding>
</customBinding>
</bindings>