<?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 for Chris van de Steeg</title>
	<atom:link href="http://www.chrisvandesteeg.nl/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.chrisvandesteeg.nl</link>
	<description>What&#039;s practical is logical</description>
	<lastBuildDate>Mon, 23 Jan 2012 06:50:40 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Comment on Compile your asp.net mvc Razor views into a seperate dll by Building Dotnetnuke like App using Asp .net MVC</title>
		<link>http://www.chrisvandesteeg.nl/2010/11/22/embedding-pre-compiled-razor-views-in-your-dll/comment-page-2/#comment-92220</link>
		<dc:creator>Building Dotnetnuke like App using Asp .net MVC</dc:creator>
		<pubDate>Mon, 23 Jan 2012 06:50:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisvandesteeg.nl/?p=242#comment-92220</guid>
		<description>[...] checked the http://www.chrisvandesteeg.nl/2010/11/22/embedding-pre-compiled-razor-views-in-your-dll/ article, but I think this is not what I [...]</description>
		<content:encoded><![CDATA[<p>[...] checked the <a href="http://www.chrisvandesteeg.nl/2010/11/22/embedding-pre-compiled-razor-views-in-your-dll/" rel="nofollow">http://www.chrisvandesteeg.nl/2010/11/22/embedding-pre-compiled-razor-views-in-your-dll/</a> article, but I think this is not what I [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Compile your asp.net mvc Razor views into a seperate dll by Nathan Pledger</title>
		<link>http://www.chrisvandesteeg.nl/2010/11/22/embedding-pre-compiled-razor-views-in-your-dll/comment-page-2/#comment-90980</link>
		<dc:creator>Nathan Pledger</dc:creator>
		<pubDate>Thu, 05 Jan 2012 10:34:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisvandesteeg.nl/?p=242#comment-90980</guid>
		<description>This is awesome. Thanks.

I&#039;m looking at using it for Partial Views, however, which I am thinking is not going to work as I get an error when compiling within the Execute() override method: &quot;THe name &#039;model&#039; does not exist in the current context&quot;

    [System.CodeDom.Compiler.GeneratedCodeAttribute(&quot;MvcRazorClassGenerator&quot;, &quot;1.0&quot;)]
    [System.Web.WebPages.PageVirtualPathAttribute(&quot;~/Views/CurrentLivePolicyCountParams.cshtml&quot;)]
    public class _Page_Views_CurrentLivePolicyCountParams_cshtml : System.Web.Mvc.WebViewPage
    {
#line hidden

        public _Page_Views_CurrentLivePolicyCountParams_cshtml()
        {
        }
        protected System.Web.HttpApplication ApplicationInstance
        {
            get
            {
                return ((System.Web.HttpApplication)(Context.ApplicationInstance));
            }
        }
        public override void Execute()
        {
			
Write(model); // &lt;-- ERROR position

WriteLiteral(&quot; Mis.Reports.Models.CurrentLivePolicyCountReportModel\r\n\r\nHell&quot; +
&quot;o&quot;);


        }
    }
}</description>
		<content:encoded><![CDATA[<p>This is awesome. Thanks.</p>
<p>I&#8217;m looking at using it for Partial Views, however, which I am thinking is not going to work as I get an error when compiling within the Execute() override method: &#8220;THe name &#8216;model&#8217; does not exist in the current context&#8221;</p>
<p>    [System.CodeDom.Compiler.GeneratedCodeAttribute("MvcRazorClassGenerator", "1.0")]<br />
    [System.Web.WebPages.PageVirtualPathAttribute("~/Views/CurrentLivePolicyCountParams.cshtml")]<br />
    public class _Page_Views_CurrentLivePolicyCountParams_cshtml : System.Web.Mvc.WebViewPage<br />
    {<br />
#line hidden</p>
<p>        public _Page_Views_CurrentLivePolicyCountParams_cshtml()<br />
        {<br />
        }<br />
        protected System.Web.HttpApplication ApplicationInstance<br />
        {<br />
            get<br />
            {<br />
                return ((System.Web.HttpApplication)(Context.ApplicationInstance));<br />
            }<br />
        }<br />
        public override void Execute()<br />
        {</p>
<p>Write(model); // &lt;&#8211; ERROR position</p>
<p>WriteLiteral(&quot; Mis.Reports.Models.CurrentLivePolicyCountReportModel\r\n\r\nHell&#8221; +<br />
&#8220;o&#8221;);</p>
<p>        }<br />
    }<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Compile your asp.net mvc Razor views into a seperate dll by antogg2004</title>
		<link>http://www.chrisvandesteeg.nl/2010/11/22/embedding-pre-compiled-razor-views-in-your-dll/comment-page-2/#comment-90369</link>
		<dc:creator>antogg2004</dc:creator>
		<pubDate>Tue, 27 Dec 2011 15:20:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisvandesteeg.nl/?p=242#comment-90369</guid>
		<description>What about using filters to secure controllers?</description>
		<content:encoded><![CDATA[<p>What about using filters to secure controllers?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Compile your asp.net mvc Razor views into a seperate dll by Embedding Razor views in class library as resources</title>
		<link>http://www.chrisvandesteeg.nl/2010/11/22/embedding-pre-compiled-razor-views-in-your-dll/comment-page-2/#comment-87629</link>
		<dc:creator>Embedding Razor views in class library as resources</dc:creator>
		<pubDate>Tue, 22 Nov 2011 10:35:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisvandesteeg.nl/?p=242#comment-87629</guid>
		<description>[...] I guess I have to compile that view and I&#8217;ve followed these instructions. [...]</description>
		<content:encoded><![CDATA[<p>[...] I guess I have to compile that view and I&#8217;ve followed these instructions. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Compile your asp.net mvc Razor views into a seperate dll by António Albuquerque</title>
		<link>http://www.chrisvandesteeg.nl/2010/11/22/embedding-pre-compiled-razor-views-in-your-dll/comment-page-2/#comment-87242</link>
		<dc:creator>António Albuquerque</dc:creator>
		<pubDate>Thu, 17 Nov 2011 17:37:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisvandesteeg.nl/?p=242#comment-87242</guid>
		<description>Hi.

I&#039;m trying to use the precompiled views in a project similar with a CMS.

Instead of adding the Assembly to the main mvc web project, I load the assembly with reflection in the Application_Start() method and then register using BoC.Web.Mvc.PrecompiledViews.ApplicationPartRegistry.Register().

All works fine until I try to open a page and I get an error like: An unexpected exception occurred while binding a dynamic operation and it points to the generated .cs of the page I&#039;m trying to open.

Any ideas?

Thanks</description>
		<content:encoded><![CDATA[<p>Hi.</p>
<p>I&#8217;m trying to use the precompiled views in a project similar with a CMS.</p>
<p>Instead of adding the Assembly to the main mvc web project, I load the assembly with reflection in the Application_Start() method and then register using BoC.Web.Mvc.PrecompiledViews.ApplicationPartRegistry.Register().</p>
<p>All works fine until I try to open a page and I get an error like: An unexpected exception occurred while binding a dynamic operation and it points to the generated .cs of the page I&#8217;m trying to open.</p>
<p>Any ideas?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Compile your asp.net mvc Razor views into a seperate dll by Using Reusable Views in ASP.NET MVC 3.0 &#171; AVS Narayan</title>
		<link>http://www.chrisvandesteeg.nl/2010/11/22/embedding-pre-compiled-razor-views-in-your-dll/comment-page-2/#comment-86989</link>
		<dc:creator>Using Reusable Views in ASP.NET MVC 3.0 &#171; AVS Narayan</dc:creator>
		<pubDate>Mon, 14 Nov 2011 19:36:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisvandesteeg.nl/?p=242#comment-86989</guid>
		<description>[...] is a detailed blog from Chris van de Steeg here. With the help of the information in this blog we were able to reuse the MVC views. In this blog I [...]</description>
		<content:encoded><![CDATA[<p>[...] is a detailed blog from Chris van de Steeg here. With the help of the information in this blog we were able to reuse the MVC views. In this blog I [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Compile your asp.net mvc Razor views into a seperate dll by Herb</title>
		<link>http://www.chrisvandesteeg.nl/2010/11/22/embedding-pre-compiled-razor-views-in-your-dll/comment-page-2/#comment-84334</link>
		<dc:creator>Herb</dc:creator>
		<pubDate>Tue, 04 Oct 2011 21:04:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisvandesteeg.nl/?p=242#comment-84334</guid>
		<description>May I inquire as to where you are with getting this ready for Visual Studio 11?</description>
		<content:encoded><![CDATA[<p>May I inquire as to where you are with getting this ready for Visual Studio 11?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Compile your asp.net mvc Razor views into a seperate dll by A Plug-in System for Web Applications Including ASP.NET Razor &#171; MickyD&#039;s Random Thoughts</title>
		<link>http://www.chrisvandesteeg.nl/2010/11/22/embedding-pre-compiled-razor-views-in-your-dll/comment-page-2/#comment-83668</link>
		<dc:creator>A Plug-in System for Web Applications Including ASP.NET Razor &#171; MickyD&#039;s Random Thoughts</dc:creator>
		<pubDate>Sat, 24 Sep 2011 02:42:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisvandesteeg.nl/?p=242#comment-83668</guid>
		<description>[...] resource as described here.&#160;&#160; Initially I wanted to “pre-compile” them as described here but in my experience I could not get that to work (something about compiling in some ASP [...]</description>
		<content:encoded><![CDATA[<p>[...] resource as described here.&#160;&#160; Initially I wanted to “pre-compile” them as described here but in my experience I could not get that to work (something about compiling in some ASP [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Compile your asp.net mvc Razor views into a seperate dll by MickyD</title>
		<link>http://www.chrisvandesteeg.nl/2010/11/22/embedding-pre-compiled-razor-views-in-your-dll/comment-page-2/#comment-83216</link>
		<dc:creator>MickyD</dc:creator>
		<pubDate>Thu, 15 Sep 2011 23:15:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisvandesteeg.nl/?p=242#comment-83216</guid>
		<description>@chris - well done!  allows for some splendid possibilities.  reminds me a bit of the XNA Custom Pipeline processors</description>
		<content:encoded><![CDATA[<p>@chris &#8211; well done!  allows for some splendid possibilities.  reminds me a bit of the XNA Custom Pipeline processors</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flash, hashes and ms ie bug by Jessie Specht</title>
		<link>http://www.chrisvandesteeg.nl/2006/09/15/flash-hashes-and-ms-ie-bug/comment-page-1/#comment-83135</link>
		<dc:creator>Jessie Specht</dc:creator>
		<pubDate>Thu, 15 Sep 2011 00:08:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ilikeu2.nl/2006/09/15/flash-hashes-and-ms-ie-bug/#comment-83135</guid>
		<description>Have you ever considered about adding a little bit more than just your articles? I mean, what you say is important and everything. But imagine if you added some great images or video clips to give your posts more, &quot;pop&quot;! Your content is excellent but with pics and clips, this website could definitely be one of the greatest in its niche. Excellent blog!</description>
		<content:encoded><![CDATA[<p>Have you ever considered about adding a little bit more than just your articles? I mean, what you say is important and everything. But imagine if you added some great images or video clips to give your posts more, &#8220;pop&#8221;! Your content is excellent but with pics and clips, this website could definitely be one of the greatest in its niche. Excellent blog!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

