I installed a WCF web service to call from my website. It works fine, but if I request a large amount of data (not sure about the size, but it is easily 3-4 times larger than the "standard" data that I return), Cassini (Visual Studio Web Server) just closes the answer, doesnβt sending anything - no error or anything else. Nothing in the event log. Just nada.
I am new to WCF, but I know that there must be some kind of configuration parameter that is missing here (e.g. maximum message / response size / limit) that solves my problem. This is what my web.config section looks like:
<system.serviceModel> <serviceHostingEnvironment aspNetCompatibilityEnabled="true" /> <behaviors> <endpointBehaviors> <behavior name="securetmhAspNetAjaxBehavior"> <enableWebScript /> </behavior> </endpointBehaviors> <serviceBehaviors> <behavior name="tmhsecureBehavior"> <serviceMetadata httpGetEnabled="false" /> <serviceDebug includeExceptionDetailInFaults="false" /> </behavior> </serviceBehaviors> </behaviors> <services> <service name="securetmh"> <endpoint address="" behaviorConfiguration="securetmhAspNetAjaxBehavior" binding="webHttpBinding" contract="securetmh" /> </service> </services> </system.serviceModel>
Any help would be appreciated.
source share