<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Properly utilizing XslCompiledTransform</title>
	<atom:link href="http://www.mattberther.com/2009/02/27/properly-utilizing-xslcompiledtransform/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mattberther.com/2009/02/27/properly-utilizing-xslcompiledtransform/</link>
	<description>Agile Manager and Occasional Code Monkey</description>
	<lastBuildDate>Sun, 21 Feb 2010 22:01:35 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Matt Berther</title>
		<link>http://www.mattberther.com/2009/02/27/properly-utilizing-xslcompiledtransform/comment-page-1/#comment-166466</link>
		<dc:creator>Matt Berther</dc:creator>
		<pubDate>Mon, 02 Mar 2009 16:08:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattberther.com/?p=1071#comment-166466</guid>
		<description>@kyle: Our applications use Castle Windsor for dependency injection, so that is how we&#039;re using that. It&#039;s default lifecycle works perfectly for this type of thing. If you&#039;re not using an IoC container, defining it in your application class and then using it that way would work as well.</description>
		<content:encoded><![CDATA[<p>@kyle: Our applications use Castle Windsor for dependency injection, so that is how we&#8217;re using that. It&#8217;s default lifecycle works perfectly for this type of thing. If you&#8217;re not using an IoC container, defining it in your application class and then using it that way would work as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kyle</title>
		<link>http://www.mattberther.com/2009/02/27/properly-utilizing-xslcompiledtransform/comment-page-1/#comment-166465</link>
		<dc:creator>Kyle</dc:creator>
		<pubDate>Mon, 02 Mar 2009 15:28:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattberther.com/?p=1071#comment-166465</guid>
		<description>Thank you for sharing this tip. How are you creating an instance of CachedXslTransformLoader so that it is available everywhere it is needed? For instance, we use XSL heavily to handle website navigation and would want this object to be available to all requests, site-wide.

Options I&#039;ve considered include marking the Dictionary as static but that seems like a bad idea because it&#039;ll make it available server wide, not site-wide (which could have negative affects on a shared host).

Another option might be to define an instance in the Application_OnStart method and then pass that in as a dependency to the method(s) we use for xml/xsl processing.

Thoughts?</description>
		<content:encoded><![CDATA[<p>Thank you for sharing this tip. How are you creating an instance of CachedXslTransformLoader so that it is available everywhere it is needed? For instance, we use XSL heavily to handle website navigation and would want this object to be available to all requests, site-wide.</p>
<p>Options I&#8217;ve considered include marking the Dictionary as static but that seems like a bad idea because it&#8217;ll make it available server wide, not site-wide (which could have negative affects on a shared host).</p>
<p>Another option might be to define an instance in the Application_OnStart method and then pass that in as a dependency to the method(s) we use for xml/xsl processing.</p>
<p>Thoughts?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
