Welcome to MSDN Blogs Sign in | Join | Help

June 2009 - Posts

T4MVC 2.2 update: Routing, Forms, DI container, fixes

To get the latest build of T4MVC: Go to T4MVC home page This post is a continuation of various recent posts, most notably: A new and improved ASP.NET MVC T4 template The MVC T4 template is now up on CodePlex First, I’d like to thank all those who are
Posted by davidebb | 17 Comments
Filed under: , , ,

The MVC T4 template is now up on CodePlex, and it does change your code a bit

Short version : the MVC T4 template (now named T4MVC) is now available on CodePlex, as one of the downloads in the ASP.NET MVC v1.0 Source page . Go to T4MVC home page Poll verdict: it’s ok for T4MVC to make small changes Yesterday, I posted asking how
Posted by davidebb | 53 Comments
Filed under: , , ,

Mind if my MVC T4 template changes your code a bit?

Update : Please see this post for what came out of this ‘poll’, and for a pointer to the newest T4 template on CodePlex. When working on my MVC T4 template , I was not able to use reflection to discover the Controllers and Actions, because the code that
Posted by davidebb | 40 Comments
Filed under: , , ,

After almost five years, my blog has a name!

So I have had this blog since October 2005 , and the entire time it has been named “ David Ebbo’s blog ”.  There were a number of solid reasons that had led me to choose this catchy name: It’s a blog It’s mine My name is David Ebbo Last December,
Posted by davidebb | 5 Comments

A new and improved ASP.NET MVC T4 template

Update : Please read this post for the newest and greatest. A couple weeks ago, I blogged about using a Build provider and CodeDom to generate strongly typed MVC helpers at runtime. I followed up a few days later with another version that used T4 templates
Posted by davidebb | 40 Comments
Filed under: , , ,

A T4 based approach to creating ASP.NET MVC strongly typed helpers

Update : Please see this newer post for the latest and greatest MVC T4 template   Earlier this week, I wrote a post on using a BuildProvider to create ActionLink helpers .  That approach was using CodeDom to generate the code, and there was
Posted by davidebb | 12 Comments
Filed under: , ,

Attachment(s): AspNetT4Bridge.zip

CodeDom vs T4: two approaches to Code Generation

There are many scenarios where the need to generate source code arises. The MVC helpers I introduced in my last post is one such example. Note that I am focusing on generating source code here, and not on scenarios where you may want to generate IL directly
Posted by davidebb | 15 Comments
Filed under: ,

A BuildProvider to simplify your ASP.NET MVC Action Links

Update : Please see this newer post for the latest and greatest MVC T4 template   One downside of using Html.ActionLink in your views is that it is late bound.  e.g. say you write something like this: <% = Html.ActionLink( "Home"
Posted by davidebb | 26 Comments
Filed under: , ,

Attachment(s): MvcActionLinkHelper.zip
 
Page view tracker