<?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: ASP.NET MVC View Best Practices – Save time creating views with MvcContrib.FluentHtml</title>
	<atom:link href="http://www.arrangeactassert.com/asp-net-mvc-view-best-practices-save-time-creating-views-with-mvccontrib-fluenthtml/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.arrangeactassert.com/asp-net-mvc-view-best-practices-save-time-creating-views-with-mvccontrib-fluenthtml/</link>
	<description>Jag Reehal on Agile Development, ASP.NET MVC and all manner of good stuff</description>
	<lastBuildDate>Wed, 09 Dec 2009 23:50:17 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Jag Reehal</title>
		<link>http://www.arrangeactassert.com/asp-net-mvc-view-best-practices-save-time-creating-views-with-mvccontrib-fluenthtml/comment-page-1/#comment-29</link>
		<dc:creator>Jag Reehal</dc:creator>
		<pubDate>Sun, 25 Oct 2009 18:56:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.arrangeactassert.com/?p=358#comment-29</guid>
		<description>Hi Chester,

Thanks for the comment.

You’re right to say there can be performance issues with lambdas and the ActionLink you mention is a perfect example (even though the MvcContrib.FluentHtml assembly doesn’t actually contain an ActionLink helper).  

The ActionLink helper in the MVC Futures project got pulled out because &lt;strong&gt;passing a variable as parameter of the lambda expression had an impact on performance&lt;/strong&gt;.  See&lt;a href=&quot;http://haacked.com/archive/2009/06/02/alternative-to-expressions.aspx&quot; rel=&quot;nofollow&quot;&gt; Phil Haack’s ‘An Alternative Approach To Strongly Typed Helpers’&lt;/a&gt; blog post for more information.

The examples in this blog post don&#039;t have the same problem.  

If you use the MvcContrib.FluentHtml like many people are, I doubt performance will be an issue no matter how many visitors your site gets.</description>
		<content:encoded><![CDATA[<p>Hi Chester,</p>
<p>Thanks for the comment.</p>
<p>You’re right to say there can be performance issues with lambdas and the ActionLink you mention is a perfect example (even though the MvcContrib.FluentHtml assembly doesn’t actually contain an ActionLink helper).  </p>
<p>The ActionLink helper in the MVC Futures project got pulled out because <strong>passing a variable as parameter of the lambda expression had an impact on performance</strong>.  See<a href="http://haacked.com/archive/2009/06/02/alternative-to-expressions.aspx" rel="nofollow"> Phil Haack’s ‘An Alternative Approach To Strongly Typed Helpers’</a> blog post for more information.</p>
<p>The examples in this blog post don&#8217;t have the same problem.  </p>
<p>If you use the MvcContrib.FluentHtml like many people are, I doubt performance will be an issue no matter how many visitors your site gets.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chester</title>
		<link>http://www.arrangeactassert.com/asp-net-mvc-view-best-practices-save-time-creating-views-with-mvccontrib-fluenthtml/comment-page-1/#comment-28</link>
		<dc:creator>Chester</dc:creator>
		<pubDate>Sun, 25 Oct 2009 16:23:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.arrangeactassert.com/?p=358#comment-28</guid>
		<description>How about the performance with lambda? 
For example, ActionLink(c=&gt;c.Update()) is totally a performance killer. too slow to apply to any serious web site.</description>
		<content:encoded><![CDATA[<p>How about the performance with lambda?<br />
For example, ActionLink(c=&gt;c.Update()) is totally a performance killer. too slow to apply to any serious web site.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tracy Phillips</title>
		<link>http://www.arrangeactassert.com/asp-net-mvc-view-best-practices-save-time-creating-views-with-mvccontrib-fluenthtml/comment-page-1/#comment-27</link>
		<dc:creator>Tracy Phillips</dc:creator>
		<pubDate>Fri, 23 Oct 2009 10:16:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.arrangeactassert.com/?p=358#comment-27</guid>
		<description>Thanks - this will save me creating as many extension methods myself!</description>
		<content:encoded><![CDATA[<p>Thanks &#8211; this will save me creating as many extension methods myself!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
