Tag Archives: csharp

Easy XML reading using XmlTextReader

When looking at examples and samples for the .NET System.Xml.XmlTextReader, i was hoping it would be as easy to use as XmlTextWriter. But i did not find such examples. XmlTextReader will read node per node, using the method Read, and a programmer will have to evaluate what type of node the current node is. But […]

WCF maximum string length

WCF and MaxStringContentLength on XmlDictionaryReaderQuotas When sending xml-data over WCF using a string, i bumped into the following error : The formatter threw an exception while trying to deserialize the message: Error in deserializing body of request message for operation ‘Test’. The maximum string content length quota (8192) has been exceeded while reading XML data. […]