<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://weblogs.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>ASP.NET IronPython</title><link>http://weblogs.asp.net/aspnet-ironpython/default.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Turn your Razor helpers into reusable libraries</title><link>http://blogs.msdn.com/b/davidebb/archive/2010/10/27/turn-your-razor-helpers-into-reusable-libraries.aspx</link><pubDate>Thu, 28 Oct 2010 00:55:26 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7637098</guid><dc:creator>Angle Bracket Percent : ASP.NET</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/aspnet-ironpython/rsscomments.aspx?PostID=7637098</wfw:commentRss><comments>http://blogs.msdn.com/b/davidebb/archive/2010/10/27/turn-your-razor-helpers-into-reusable-libraries.aspx#comments</comments><description>The first blog post I ever wrote was titled “ Turning an ascx user control into a redistributable custom control ”.&amp;#160; It was almost exactly five years ago, and it still gets a lot of hits today.&amp;#160; And interestingly, this new blog post is about solving essentially the same problem, but with a much nicer Razor based solution than was available at the time. The general issue we’re trying to solve is to encapsulate reusable pieces of UI.&amp;#160; Unfortunately, this has typically meant choosing between two approaches, each having their pros and cons (this mirrors the intro from my old post): Custom code in a library project: this makes it easy to produce a binary that can be used in multiple projects without having to keep source files around...(&lt;a href="http://blogs.msdn.com/b/davidebb/archive/2010/10/27/turn-your-razor-helpers-into-reusable-libraries.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7637098" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/aspnet-ironpython/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://weblogs.asp.net/aspnet-ironpython/archive/tags/MVC/default.aspx">MVC</category><category domain="http://weblogs.asp.net/aspnet-ironpython/archive/tags/Razor/default.aspx">Razor</category><category domain="http://weblogs.asp.net/aspnet-ironpython/archive/tags/Web+Pages/default.aspx">Web Pages</category></item><item><title>Light up your NuPacks with startup code and WebActivator</title><link>http://blogs.msdn.com/b/davidebb/archive/2010/10/11/light-up-your-nupacks-with-startup-code-and-webactivator.aspx</link><pubDate>Mon, 11 Oct 2010 08:52:42 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7637099</guid><dc:creator>Angle Bracket Percent : ASP.NET</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/aspnet-ironpython/rsscomments.aspx?PostID=7637099</wfw:commentRss><comments>http://blogs.msdn.com/b/davidebb/archive/2010/10/11/light-up-your-nupacks-with-startup-code-and-webactivator.aspx#comments</comments><description>Wow, it’s hard to believe that it’s been less than a week since NuPack went public.&amp;#160; We were hoping to get noticed, but the attention we got was way beyond my wildest expectations!&amp;#160; The buzz on Twitter has just been phenomenal, and for the most part the feedback has been very positive.&amp;#160; Thank you all for that, this is very encouraging for our little NuPack team :) &amp;#160; NuPack as a noun for the packages &amp;#160; Before I get into the meat, I’ll just say that I want to start using NuPack as a noun that refers to the packages.&amp;#160; So rather than saying “There is a NuPack package for Spark”, I’ll say “There is a NuPack for Spark”.&amp;#160; Or to use NuPack teammate Rob Reynold’s catch phrase. “ There a NuPack for that! ”.&amp;#160; Hmmm...(&lt;a href="http://blogs.msdn.com/b/davidebb/archive/2010/10/11/light-up-your-nupacks-with-startup-code-and-webactivator.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7637099" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/aspnet-ironpython/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://weblogs.asp.net/aspnet-ironpython/archive/tags/MVC/default.aspx">MVC</category><category domain="http://weblogs.asp.net/aspnet-ironpython/archive/tags/NuPack/default.aspx">NuPack</category><category domain="http://weblogs.asp.net/aspnet-ironpython/archive/tags/Spark/default.aspx">Spark</category></item><item><title>T4MVC 2.6.20, and upcoming T4MVC talk at MvcConf</title><link>http://blogs.msdn.com/b/davidebb/archive/2010/07/20/t4mvc-2-6-20-and-upcoming-t4mvc-talk-at-mvcconf.aspx</link><pubDate>Tue, 20 Jul 2010 07:28:11 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7593061</guid><dc:creator>Angle Bracket Percent : ASP.NET</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/aspnet-ironpython/rsscomments.aspx?PostID=7593061</wfw:commentRss><comments>http://blogs.msdn.com/b/davidebb/archive/2010/07/20/t4mvc-2-6-20-and-upcoming-t4mvc-talk-at-mvcconf.aspx#comments</comments><description>I just pushed T4MVC out to the MvcContrib CodePlex site.&amp;#160; You can go to the T4MVC Home Page to get started with it. Last time I blogged about a T4MVC release was for 2.6.13.&amp;#160; In the mean time, I released 2.6.14 and 2.6.15, but they were minor updates so I just tweeted them.&amp;#160; You can check out the history page to see what they changed.&amp;#160; Now, 2.5.20 brings a more interesting new feature, so I figured I’d blog it. New feature to easily render Partials &amp;#160; Update (7/20/2010) : there was a small issue with this change when multiple ascx have the same name.&amp;#160; I just pushed a new 2.6.21 build which addresses it. This new feature was written by Evan Nagle (who is also the author of the Chirpy add-in I discussed a few days...(&lt;a href="http://blogs.msdn.com/b/davidebb/archive/2010/07/20/t4mvc-2-6-20-and-upcoming-t4mvc-talk-at-mvcconf.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7593061" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/aspnet-ironpython/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://weblogs.asp.net/aspnet-ironpython/archive/tags/MVC/default.aspx">MVC</category><category domain="http://weblogs.asp.net/aspnet-ironpython/archive/tags/T4MVC/default.aspx">T4MVC</category></item><item><title>Check out Chirpy, a very cool Add-In to run T4MVC and do many other cool things</title><link>http://blogs.msdn.com/b/davidebb/archive/2010/07/17/check-out-chirpy-a-very-cool-add-in-to-run-t4mvc-and-do-many-other-cool-things.aspx</link><pubDate>Sun, 18 Jul 2010 04:30:05 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7593062</guid><dc:creator>Angle Bracket Percent : ASP.NET</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/aspnet-ironpython/rsscomments.aspx?PostID=7593062</wfw:commentRss><comments>http://blogs.msdn.com/b/davidebb/archive/2010/07/17/check-out-chirpy-a-very-cool-add-in-to-run-t4mvc-and-do-many-other-cool-things.aspx#comments</comments><description>Just a quick post to point folks to a very cool CodePlex Add-In that you may not know about.&amp;#160; It’s called Chirpy and can be downloaded from http://chirpy.codeplex.com/ .&amp;#160; The reason I discovered it is that it includes functionality to automatically run T4MVC.&amp;#160; In fact, it is basically the new version of the Add-In by Wayne Brantley that I blogged about a few months back.&amp;#160; Wayne has been working on this with Evan Nagle , who is the main owner. But note that Chirpy does a lot more than just run T4MVC automatically!&amp;#160; Check out Evan’s post for a complete tutorial.&amp;#160; To give a really quick intro, Chirpy makes it really easy to automatically: Minify your JavaScript files, using a selction of popular engines like YUI and...(&lt;a href="http://blogs.msdn.com/b/davidebb/archive/2010/07/17/check-out-chirpy-a-very-cool-add-in-to-run-t4mvc-and-do-many-other-cool-things.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7593062" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/aspnet-ironpython/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://weblogs.asp.net/aspnet-ironpython/archive/tags/MVC/default.aspx">MVC</category><category domain="http://weblogs.asp.net/aspnet-ironpython/archive/tags/T4MVC/default.aspx">T4MVC</category></item><item><title>How WebMatrix, Razor, ASP.NET Web Pages and MVC fit together</title><link>http://blogs.msdn.com/b/davidebb/archive/2010/07/07/how-webmatrix-razor-asp-net-web-pages-and-mvc-fit-together.aspx</link><pubDate>Wed, 07 Jul 2010 07:29:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7593063</guid><dc:creator>Angle Bracket Percent : ASP.NET</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/aspnet-ironpython/rsscomments.aspx?PostID=7593063</wfw:commentRss><comments>http://blogs.msdn.com/b/davidebb/archive/2010/07/07/how-webmatrix-razor-asp-net-web-pages-and-mvc-fit-together.aspx#comments</comments><description>Today, we announced the public availability of the Microsoft WebMatrix Beta . This is an exciting time, as we&amp;rsquo;ve been working on this project for quite a while, and have been eager to get it out there! Our VP Scott Guthrie has been blogging about a number of its components in the last week or so, and you should definitely read through his posts to get a lot of information about it (start here ). In this post, I&amp;rsquo;d like to discuss how various pieces fit together, as I&amp;rsquo;ve seen some amount of confusion in the early user comments that I have read. Note that I&amp;rsquo;m not going to describe the pieces in much details (again, see ScottGu&amp;rsquo;s blog for this). Instead, my focus is on clarifying the relationship between some of the...(&lt;a href="http://blogs.msdn.com/b/davidebb/archive/2010/07/07/how-webmatrix-razor-asp-net-web-pages-and-mvc-fit-together.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7593063" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/aspnet-ironpython/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://weblogs.asp.net/aspnet-ironpython/archive/tags/Razor/default.aspx">Razor</category><category domain="http://weblogs.asp.net/aspnet-ironpython/archive/tags/Web+Pages/default.aspx">Web Pages</category><category domain="http://weblogs.asp.net/aspnet-ironpython/archive/tags/WebMatrix/default.aspx">WebMatrix</category></item><item><title>An even better way to run T4MVC: a VS AddIn</title><link>http://blogs.msdn.com/davidebb/archive/2010/03/18/an-even-better-way-to-run-t4mvc-a-vs-addin.aspx</link><pubDate>Thu, 18 Mar 2010 21:43:41 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7388563</guid><dc:creator>Angle Bracket Percent : ASP.NET</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/aspnet-ironpython/rsscomments.aspx?PostID=7388563</wfw:commentRss><comments>http://blogs.msdn.com/davidebb/archive/2010/03/18/an-even-better-way-to-run-t4mvc-a-vs-addin.aspx#comments</comments><description>Last week, I blogged about a nice way of auto-running T4MVC by using the Macro IDE to write an OnBuildBegin event handler .&amp;#160; This was a big improvement over the hacky ‘AlwaysKeepTemplateDirty’ flag that we’ve been using since T4MVC’s early days. Since then, Wayne Brantley has taken this idea to the next level by turning it into a Visual Studio AddIn.&amp;#160; Check out his post and give it a try! The nice benefits of the AddIn over directly handling VS events in the macro IDE are: Simpler install : you drop a couple files in the AddIn folder and it just works Encapsulation : all the code related to this is in one binary Easy to disable : once the AddIn is installed, you can just go in Tools / AddIn Manager to turn it on or off Note that Wayne...(&lt;a href="http://blogs.msdn.com/davidebb/archive/2010/03/18/an-even-better-way-to-run-t4mvc-a-vs-addin.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7388563" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/aspnet-ironpython/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://weblogs.asp.net/aspnet-ironpython/archive/tags/MVC/default.aspx">MVC</category><category domain="http://weblogs.asp.net/aspnet-ironpython/archive/tags/T4MVC/default.aspx">T4MVC</category></item><item><title>A better way to auto-run T4MVC when you build</title><link>http://blogs.msdn.com/davidebb/archive/2010/03/12/a-better-way-to-auto-run-t4mvc-when-you-build.aspx</link><pubDate>Fri, 12 Mar 2010 19:18:40 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7380680</guid><dc:creator>Angle Bracket Percent : ASP.NET</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/aspnet-ironpython/rsscomments.aspx?PostID=7380680</wfw:commentRss><comments>http://blogs.msdn.com/davidebb/archive/2010/03/12/a-better-way-to-auto-run-t4mvc-when-you-build.aspx#comments</comments><description>T4MVC has always struggled with finding the right way of running automatically when you build.&amp;#160; Being a T4 template in your project, by default it just runs when you save it.&amp;#160; This is not great, because you really want it to rerun whenever you make a change that affects it: e.g. new controller action, new static file, … So I had come up with a pretty crazy workaround (the AlwaysKeepTemplateDirty flag), described in details in this previous post (under “ The T4 file automatically runs whenever you build ”).&amp;#160; It’s a pretty hacky technique, which mostly works but has some nasty quirks: You need to open and save it once to start the save ‘cycle’ You need to leave it open It’s always marked as dirty, which is an annoyance.&amp;#160; The...(&lt;a href="http://blogs.msdn.com/davidebb/archive/2010/03/12/a-better-way-to-auto-run-t4mvc-when-you-build.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7380680" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/aspnet-ironpython/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://weblogs.asp.net/aspnet-ironpython/archive/tags/T4/default.aspx">T4</category><category domain="http://weblogs.asp.net/aspnet-ironpython/archive/tags/MVC/default.aspx">MVC</category><category domain="http://weblogs.asp.net/aspnet-ironpython/archive/tags/T4MVC/default.aspx">T4MVC</category></item><item><title>T4MVC 2.6.13: now officially in MvcContrib, with a few new features</title><link>http://blogs.msdn.com/davidebb/archive/2010/03/08/t4mvc-2-6-13-now-officially-in-mvccontrib-with-a-few-new-features.aspx</link><pubDate>Tue, 09 Mar 2010 01:02:49 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7375178</guid><dc:creator>Angle Bracket Percent : ASP.NET</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/aspnet-ironpython/rsscomments.aspx?PostID=7375178</wfw:commentRss><comments>http://blogs.msdn.com/davidebb/archive/2010/03/08/t4mvc-2-6-13-now-officially-in-mvccontrib-with-a-few-new-features.aspx#comments</comments><description>To get the latest build of T4MVC: Go to MvcContrib T4MVC page on CodePlex &amp;#160; A few weeks back, we announced (mostly on Twitter) that T4MVC was moving into the MvcContrib Codeplex project.&amp;#160; I didn’t say much about it at the time because there wasn’t a whole lot to say yet, in the sense that the move had not actually happened.&amp;#160; MvcContrib was transitioning from github to Mercurial, and since I wasn’t familiar with either one, I figured I’d wait for that and only have to learn Mercurial. So to make it short, all of this has finally happen, and we can now say that T4MVC is officially part of MvcContrib!&amp;#160; Many thanks to Eric Hexter and Jeremy Skinner for helping make this possible. &amp;#160; So what difference does it make for it...(&lt;a href="http://blogs.msdn.com/davidebb/archive/2010/03/08/t4mvc-2-6-13-now-officially-in-mvccontrib-with-a-few-new-features.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7375178" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/aspnet-ironpython/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://weblogs.asp.net/aspnet-ironpython/archive/tags/T4/default.aspx">T4</category><category domain="http://weblogs.asp.net/aspnet-ironpython/archive/tags/MVC/default.aspx">MVC</category><category domain="http://weblogs.asp.net/aspnet-ironpython/archive/tags/T4MVC/default.aspx">T4MVC</category></item><item><title>Debugging ASP.NET generated code</title><link>http://blogs.msdn.com/davidebb/archive/2010/02/03/debugging-asp-net-generated-code.aspx</link><pubDate>Thu, 04 Feb 2010 00:31:16 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7333508</guid><dc:creator>Angle Bracket Percent : ASP.NET</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/aspnet-ironpython/rsscomments.aspx?PostID=7333508</wfw:commentRss><comments>http://blogs.msdn.com/davidebb/archive/2010/02/03/debugging-asp-net-generated-code.aspx#comments</comments><description>This post applies to any ASP.NET app that uses .aspx files, whether WebForms or MVC. When you write an aspx/ascx/master file (I’ll just say aspx for here on, but it applies to all), it gets compiled dynamically by the ASP.NET runtime.&amp;#160; Note that this is true whether you use a Web Site or a Web Application Project (WAP).&amp;#160; While in a WAP, most of the code is built by Visual Studio, the aspx pages themselves are always built dynamically . Normally, when you work with aspx files, you only need to worry about what you write in there, and the specifics of what ASP.NET generates under the cover are somewhat of an implementation details.&amp;#160; However, in some cases it’s pretty useful to look at the generated code, either to learn exactly...(&lt;a href="http://blogs.msdn.com/davidebb/archive/2010/02/03/debugging-asp-net-generated-code.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7333508" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/aspnet-ironpython/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://weblogs.asp.net/aspnet-ironpython/archive/tags/CodeDom/default.aspx">CodeDom</category><category domain="http://weblogs.asp.net/aspnet-ironpython/archive/tags/MVC/default.aspx">MVC</category></item><item><title>Take your MVC User Controls to the next level</title><link>http://blogs.msdn.com/davidebb/archive/2010/01/13/take-your-mvc-user-controls-to-the-next-level.aspx</link><pubDate>Wed, 13 Jan 2010 08:46:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7309334</guid><dc:creator>Angle Bracket Percent : ASP.NET</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/aspnet-ironpython/rsscomments.aspx?PostID=7309334</wfw:commentRss><comments>http://blogs.msdn.com/davidebb/archive/2010/01/13/take-your-mvc-user-controls-to-the-next-level.aspx#comments</comments><description>Note: this is based on ASP.NET MVC 2 RC , and will not work on earlier builds. &amp;#160; The quick pitch: make your User Controls as cool as built-in render helpers! The goal of this post is to show you how to change the way MVC user controls are called from something like this: &amp;lt;%= Html.Partial(&amp;quot;~/Views/Shared/gravatar.ascx&amp;quot;, new { Email = &amp;quot;foo@bar.com&amp;quot;, Size = 80 }) %&amp;gt; To something that looks just like a built-in render helper (like Html.TextBox(…)): &amp;lt;%= Html.Gravatar(&amp;quot;foo@bar.com&amp;quot;, 80) %&amp;gt; &amp;#160; The current model for User Controls in MVC If you have used ASP.NET MVC, you probably know that you can use User Controls (.ascx files) to provide partial rendering. For example, the default MVC app has a Site...(&lt;a href="http://blogs.msdn.com/davidebb/archive/2010/01/13/take-your-mvc-user-controls-to-the-next-level.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7309334" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/aspnet-ironpython/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://weblogs.asp.net/aspnet-ironpython/archive/tags/CodeDom/default.aspx">CodeDom</category><category domain="http://weblogs.asp.net/aspnet-ironpython/archive/tags/MVC/default.aspx">MVC</category></item><item><title>T4MVC 2.6.10: fluent route value API, shorter way to refer to action, and more</title><link>http://blogs.msdn.com/davidebb/archive/2010/01/04/t4mvc-2-6-10-fluent-route-value-api-shorter-way-to-refer-to-action-and-more.aspx</link><pubDate>Tue, 05 Jan 2010 02:45:36 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7300591</guid><dc:creator>Angle Bracket Percent : ASP.NET</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/aspnet-ironpython/rsscomments.aspx?PostID=7300591</wfw:commentRss><comments>http://blogs.msdn.com/davidebb/archive/2010/01/04/t4mvc-2-6-10-fluent-route-value-api-shorter-way-to-refer-to-action-and-more.aspx#comments</comments><description>To get the latest build of T4MVC: Go to T4MVC page on CodePlex &amp;#160; I just posted build 2.6.10.&amp;#160; There were also a few builds in between since I last blogged about 2.6, so this post describes some of those changes (full history here ). &amp;#160; Fluent route value API As you probably know, T4MVC uses a pattern where the route values are encapsulated using a pseudo-call to a controller action, e.g. Html.ActionLink(&amp;quot;Delete Dinner&amp;quot;, MVC.Dinners.Delete(Model.DinnerID)) This adds the controller, the action and the method parameters to the route values in a convenient way with no hard coded strings. But in some situation, you may need to add extra values to the route that don’t exist in the action method.&amp;#160; Now you can do it as follows...(&lt;a href="http://blogs.msdn.com/davidebb/archive/2010/01/04/t4mvc-2-6-10-fluent-route-value-api-shorter-way-to-refer-to-action-and-more.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7300591" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/aspnet-ironpython/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://weblogs.asp.net/aspnet-ironpython/archive/tags/MVC/default.aspx">MVC</category><category domain="http://weblogs.asp.net/aspnet-ironpython/archive/tags/T4MVC/default.aspx">T4MVC</category></item><item><title>Passing anonymous objects to MVC views and accessing them using dynamic</title><link>http://blogs.msdn.com/davidebb/archive/2009/12/18/passing-anonymous-objects-to-mvc-views-and-accessing-them-using-dynamic.aspx</link><pubDate>Sat, 19 Dec 2009 00:06:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7284106</guid><dc:creator>Angle Bracket Percent : ASP.NET</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/aspnet-ironpython/rsscomments.aspx?PostID=7284106</wfw:commentRss><comments>http://blogs.msdn.com/davidebb/archive/2009/12/18/passing-anonymous-objects-to-mvc-views-and-accessing-them-using-dynamic.aspx#comments</comments><description>First, I’ll start with a little disclaimer: this post is not about whether using dynamic is better/worse than static typing. Instead, it’s about making it more convenient to use dynamic if you choose to go that route . Clearly, some people dislike dynamic, as you can see in the comments in that post from Phil Haack , and for the most part, all the key arguments for/against have been made. So anyway, let’s proceed… Recently, a few people have experimented with extending their view pages from ViewPage&amp;lt;dynamic&amp;gt;. The idea is to then be able to access model data using the more convenient dynamic syntax. e.g. check out this thread on StackOverflow, as well as Phil’s post I mention above. One limitation that people are hitting is that you can...(&lt;a href="http://blogs.msdn.com/davidebb/archive/2009/12/18/passing-anonymous-objects-to-mvc-views-and-accessing-them-using-dynamic.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7284106" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/aspnet-ironpython/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://weblogs.asp.net/aspnet-ironpython/archive/tags/MVC/default.aspx">MVC</category><category domain="http://weblogs.asp.net/aspnet-ironpython/archive/tags/Dynamic/default.aspx">Dynamic</category></item><item><title>T4MVC 2.6: MVC 2 Areas support</title><link>http://blogs.msdn.com/davidebb/archive/2009/11/29/t4mvc-2-6-mvc-2-areas-support.aspx</link><pubDate>Mon, 30 Nov 2009 06:51:36 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7267100</guid><dc:creator>Angle Bracket Percent : ASP.NET</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/aspnet-ironpython/rsscomments.aspx?PostID=7267100</wfw:commentRss><comments>http://blogs.msdn.com/davidebb/archive/2009/11/29/t4mvc-2-6-mvc-2-areas-support.aspx#comments</comments><description>To get the latest build of T4MVC: Go to T4MVC page on CodePlex &amp;#160; One of MVC 2&amp;#39;s major new features is the support for breaking up a large application into &amp;quot;Areas&amp;quot;. This works by following a structure that looks like: Root folder Models Views Controllers Areas NerdDinner Models Views Controllers Blog Models Views Controllers So basically you still have your top level Models/Views/Controllers folders, and in addition to that you can have an arbitrary number of “Areas”, each having their own set of Models/Views/Controllers folders. Starting with MVC 2.6, T4MVC lets you use areas in much the same way it lets you access top level items.&amp;#160; e.g. you can now write: &amp;lt;%= Html.ActionLink(&amp;quot;Delete Dinner&amp;quot;, MVC.NerdDinner...(&lt;a href="http://blogs.msdn.com/davidebb/archive/2009/11/29/t4mvc-2-6-mvc-2-areas-support.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7267100" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/aspnet-ironpython/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://weblogs.asp.net/aspnet-ironpython/archive/tags/T4/default.aspx">T4</category><category domain="http://weblogs.asp.net/aspnet-ironpython/archive/tags/MVC/default.aspx">MVC</category><category domain="http://weblogs.asp.net/aspnet-ironpython/archive/tags/T4MVC/default.aspx">T4MVC</category></item><item><title>T4MVC now has a real home and a dedicated forum!</title><link>http://blogs.msdn.com/davidebb/archive/2009/11/25/t4mvc-now-has-a-real-home-and-a-dedicated-forum.aspx</link><pubDate>Wed, 25 Nov 2009 08:09:39 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7264668</guid><dc:creator>Angle Bracket Percent : ASP.NET</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/aspnet-ironpython/rsscomments.aspx?PostID=7264668</wfw:commentRss><comments>http://blogs.msdn.com/davidebb/archive/2009/11/25/t4mvc-now-has-a-real-home-and-a-dedicated-forum.aspx#comments</comments><description>Up until now, most things related to T4MVC were happening through my various blog posts about it.&amp;#160; And while that was sort of working ok for a while, it was also less than ideal for a couple reasons. First, there was no single place to go to in order to get information about it.&amp;#160; You’d basically have to go through the various posts that describe the various features as they were added.&amp;#160; And as the number of posts grew, so did the pain involved in doing that. The second issue is that there was no good place to discuss it, ask questions and report issues.&amp;#160; So all of those things were mostly just happening organically as comments in my various posts, which really doesn’t work so well.&amp;#160; Blog Post comments don’t support threading...(&lt;a href="http://blogs.msdn.com/davidebb/archive/2009/11/25/t4mvc-now-has-a-real-home-and-a-dedicated-forum.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7264668" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/aspnet-ironpython/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://weblogs.asp.net/aspnet-ironpython/archive/tags/T4/default.aspx">T4</category><category domain="http://weblogs.asp.net/aspnet-ironpython/archive/tags/MVC/default.aspx">MVC</category><category domain="http://weblogs.asp.net/aspnet-ironpython/archive/tags/T4MVC/default.aspx">T4MVC</category></item><item><title>T4MVC 2.5.01: added support for Html.RenderAction and Html.Action</title><link>http://blogs.msdn.com/davidebb/archive/2009/11/20/t4mvc-2-5-01-added-support-for-html-renderaction-and-html-action.aspx</link><pubDate>Sat, 21 Nov 2009 02:10:19 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7262293</guid><dc:creator>Angle Bracket Percent : ASP.NET</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/aspnet-ironpython/rsscomments.aspx?PostID=7262293</wfw:commentRss><comments>http://blogs.msdn.com/davidebb/archive/2009/11/20/t4mvc-2-5-01-added-support-for-html-renderaction-and-html-action.aspx#comments</comments><description>To get the latest build of T4MVC: Go to download page on CodePlex &amp;#160; MVC 2 Beta introduces two nice helpers called Html.RenderAction and Html.Action.&amp;#160; Phil Haack described them in detail on his blog , so you may want to read through that before reading this post. Basically, they’re two additional methods that follow the standard MVC pattern of passing the controller name and action name as literal strings, and the action parameters as anonymous objects.&amp;#160; e.g. Copying from Phil’s example, if you have an Action like this: public ActionResult Menu(MenuOptions options) { return PartialView(options); } You can write this in your View: &amp;lt;%= Html.Action(&amp;quot;Menu&amp;quot;, new { options = new MenuOptions { Width=400, Height=500} })%&amp;gt;...(&lt;a href="http://blogs.msdn.com/davidebb/archive/2009/11/20/t4mvc-2-5-01-added-support-for-html-renderaction-and-html-action.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7262293" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/aspnet-ironpython/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://weblogs.asp.net/aspnet-ironpython/archive/tags/T4/default.aspx">T4</category><category domain="http://weblogs.asp.net/aspnet-ironpython/archive/tags/MVC/default.aspx">MVC</category><category domain="http://weblogs.asp.net/aspnet-ironpython/archive/tags/T4MVC/default.aspx">T4MVC</category></item></channel></rss>