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...
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...
Roadmap to high performance XML
Note : this entry has moved . I'll keep the updated list of posts relating to performance in XML manipulation here. Check out the whole "High-performance XML" series: High-performance XML (I): Dynamic XPath expressions compilation High-performance...
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...
High-performance XML (II'): Enhance XPath execution performance with XPathCache
Note : this entry has moved . Just about a month ago, most XVPs (XML MVPs) started the opensource Mvp.Xml project aimed at providing a single point of entry for all our efforts in advancing XML processing and APIs in .NET. By having a single project to...
High-performance XML (II): XPath execution tips
Note : this entry has moved . As I programmed an XPath-only implementation of the Schematron specification (soon an ISO standard and very cool XML validation language, incredibly flexible and powerfull), called (surprisingly) Schematron.NET , and part...
High-performance XML (I): Dynamic XPath expressions compilation
Note : this entry has moved . "Everybody" knows that precompiling your XPath expressions ahead of time, usually in static .ctors, improves execution performance. But what's actually happening at that "compilation" time? Unlike what many believe, compiled...
More Posts

Search

Go

This Blog

News

     

      Microsoft MVP Profile

Syndication