My Asp.Net web applications makes extensive calls to WCF services. For debugging UI issues, I use to deserialize earlier saved WCF responses. This is controlled by a config key.
However by manual deserialization, I miss-out some of the deserialization issues which could arise out of wrong entries in ServiceModel of Web.config file.
Thus, using WCF extensibility points I wish -
- Read xml response from the disk.
- Let WCF framework desrialize the xml for me.
Which extensiblity point can be helpful to achieve this ?
Edit:
To be precise, I am trying to play around with these values offline
(without hitting actual service), to find the optimum value for our scenario -
<binding name="voucherServiceBinding" closeTimeout="00:01:00"
openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard"
maxBufferPoolSize="524288" maxReceivedMessageSize="65536"
messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true"
allowCookies="false">
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
maxBytesPerRead="4096" maxNameTableCharCount="16384" />
</binding>