BTS2013 features explained: XslCompiledTransform

In a previous post we announced the release of the new BizTalk 2013, listing all of the new features it will bring. In the upcoming posts I would like to explain in more detail some of these features, and the consequences it will bring with it.
First of all, one of the changes introduced in BizTalk 2013 is the use of the enhanced XslCompiledTransform API, instead of using the XslTransform API that is used in older BizTalk versions. This change would provide significant improvements in mapping engine performance for complex maps. Sounds great, but what is the difference between both?

First of all, I would like to note that the XslTransform API has become obsolete and has been replaced by XslCompiledTransform.

The new XslCompiledTransform API will boost the performance for complex maps. Although I would like to make a side note about this one… Although the overall performance of the XslCompiledTransform class is better than the XslTransform class, the Load method of the XslCompiledTransform class might perform more slowly than the Load method of the XslTransform class the first time it is called on a transformation. This is because the XSLT file must be compiled before it is loaded. For more information, see the following blog post: XslCompiledTransform Slower than XslTransform?

Using the XslCompiledTransform will compile the XSLT style sheet down to a common intermediate format. And once the style sheet is compiled, it can be cached and reused. Making the XslCompiledTransform considered the best choice for the “one Load, many Transforms” scenarios.



4 comments on “BTS2013 features explained: XslCompiledTransform

  1. […] BTS2013 features explained: XslCompiledTransform […]

  2. […] a previous post, I started a series on explaining some of the new features of BizTalk 2013 in more detail. We […]

  3. […] the new features that were introduced in BizTalk 2013 in more detail. We’ve already discussed the XslCompiledTransform API and the Improvements in dynamic send ports. A complete list of the new features in BizTalk 2013 can […]

  4. RMore says:

    We have analyzed the biztalk map and the map in the .net class . Performance was much faster in the .net class than in the Biztalk map and even well controlled exception handling in terms of returning error messages . we are OK to stick to implement logic in .net.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s