webchannelfactory

WCF + REST, Increase MaxStringContentLength

℡╲_俬逩灬. 提交于 2019-12-07 13:55:02
问题 We are running into the following error: There was an error deserializing the object of type Project.ModelType. The maximum string content length quota (8192) has been exceeded while reading XML data. This quota may be increased by changing the MaxStringContentLength property on the XmlDictionaryReaderQuotas object used when creating the XML reader. There are a ton of articles, forum posts, etc., showing how to increase the MaxStringContentLength size for a WCF service. The problem I'm

Does the WCF REST WebChannelFactory client support REST services that use redirects?

前提是你 提交于 2019-11-28 08:33:08
问题 If you have a RESTful web service that uses HTTP 301 redirects to send requests like: http://server/customers/?name=John to the url http://server/customers/324 (as created by a service similar to the one in this question.) Can these types of services be consumed with the WebChannelFactory and a ServiceContract? If so, how? 来源: https://stackoverflow.com/questions/1033142/does-the-wcf-rest-webchannelfactory-client-support-rest-services-that-use-redire