Browse by Tags

High-performance XML (V): Increase performance on message-based web services by avoiding XmlDocument creation when using XmlSerializer
Note : this entry has moved . In a previous post, I discussed the way coarse-grained web service interfaces can be used in a strongly typed way by resorting to the xsd.exe or a cool custom tool . The only problem with that approach is that in order to...
Microsoft licenses open source project from MVPs
Note : this entry has moved . In a major achievement for MVPs contributing to the Mvp.Xml project, a couple weeks ago I signed a license agreement with Microsoft to confer ample rights to use and distribute our code base. This has several implications...
Zero-click design-time validation of XML in VS: the XmlValidate custom tool
Note : this entry has moved . Have you ever wanted you could just save an XML file and have a custom tool tell you what's the output of its validation with a schema (or set of schemas) just as it would be at runtime using the XmlValidatingReader? Go ahead...
XInclude in .NET v2?
Note : this entry has moved . Now that the XInclude spec is officially a Recomendation , is it too late to include it in System.Xml v2? Unfortunately I think so :( Luckily, you can still use it in your apps by using the Mvp.Xml project XInclude.NET .
Boost XmlSerializer usability and performance by using strongly-typed serializers
Note : this entry has moved . The XmlSerializer has a farily well-known problem: the first time you use it, it will generate a class to read instances of the received type, compile it, and then load it. Of course, this can take considerable time, directly...
Strongly-typed, event-rising, design-time generated custom XmlSerializers (even more than Whidbey sgen!)
Note : this entry has moved . Summary There are a couple known issues with the XmlSerializer: First-time use is painfully slow, because of the temporary assembly generation and compilation. If you want to do something else other than straight serialization...
High-performance XML (V): in-memory XML Schema validation without re-parsing
Note : this entry has moved . I may have not stressed enough one of the most important features enabled by the XPathNavigatorReader : in-memory (without reparsing) XML Schema validation of arbitrary sources exposed as XPathNavigator . When XML editing...
High-performance XML (IV): subtree transformations without re-parsing
Note : this entry has moved . In a previous post I showed how to load and transform subsets of a document with the XPathNavigatorReader . In the example I used, which follows the MSDN documentation one (under the section "Transforming a Section of an...
High-performance XML (III): returning well-formed XML from WebServices without XmlDocument
Note : this entry has moved . Recently, Matt Powell wrote about returning XML from webservices , and I certainly agree with him that returning it as an opaque string is really bad. Later on, Matevz Gacnik suggested a couple points to consider when to...
Mvp.Xml project: packed XML cool utilities
Note : this entry has moved . I've released the seventh eighth "version" of the Mvp.Xml project on SourceForge . This is a maintenance release with some bugs fixed in the XPathNavigatorReader . Thanks to Tom Smalley and Joost Ploegmakers! So far, the...
More Posts Next page »