This blog has moved!

You can now find my blog at, and all posts from now on will be there.  Here is the intro post on the new blog.  My feed goes through feedburner, so if you were subscribing to this blog before, you should now get updates from the new blog.  See you over there!


An update on the NuGet package submission process

If you’ve submitted a package to the NuGet feed, then you’re probably aware that our submission process is not as good as it could be.  Ok, this may be an understatement, so let’s go ahead and say it: it sucks! With the current process, you have to clone a repository that has all the other…


Turn your Razor helpers into reusable libraries

Note: the generator has evolved since this post. Although the post is still worth reading, please go to for the most up to date doc. The first blog post I ever wrote was titled “Turning an ascx user control into a redistributable custom control”.  It was almost exactly five years ago, and it still gets a…


Light up your NuGets with startup code and WebActivator

[Please see the WebActivator wiki for the latest docs] Wow, it’s hard to believe that it’s been less than a week since NuGet went public.  We were hoping to get noticed, but the attention we got was way beyond my wildest expectations!  The buzz on Twitter has just been phenomenal, and for the most part the feedback…


Introducing NuGet: the smart way to bring bits into your projects

I’m thrilled to announce that the secret project we’ve been working on for the last few months is no longer a secret!  It’s called NuGet, and you can download it from here.  Make sure you also read ScottGu’s post about it. So what the heck is NuGet?  In short, it’s an Open Source package manager…


The easy way to create an Entity Framework ‘Defining Query’

Entity Framework supports a concept called a ‘Defining Query’, which is basically a client side database View.  I only learned about that feature a few days ago, and I thought I’d share some tips about how to create them in a way that’s much easier than anything I could find out there. The first thing…


A short take on Microsoft.Data

Yesterday, David Fowler blogged about the Microsoft.Data APIs that come with ASP.NET WebMatrix.  While there were some positive comments, the majority were negative.  The reason for that is that a lot of readers completely missed the point of the API.  David is partially to blame for that, as he had not properly put it into…


T4MVC 2.6.20, and upcoming T4MVC talk at MvcConf

I just pushed T4MVC out to the MvcContrib CodePlex site.  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.  In the mean time, I released 2.6.14 and 2.6.15, but they were minor updates so I just tweeted them.  You can…


Check out Chirpy, a very cool Add-In to run T4MVC and do many other cool things

Just a quick post to point folks to a very cool CodePlex Add-In that you may not know about.  It’s called Chirpy and can be downloaded from  The reason I discovered it is that it includes functionality to automatically run T4MVC.  In fact, it is basically the new version of the Add-In by Wayne…


How WebMatrix, Razor, ASP.NET Web Pages and MVC fit together

Today, we announced the public availability of the Microsoft WebMatrix Beta.  This is an exciting time, as we’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,…