Tekpub - Hacking WebMatrix
In this short production Rob Conery hacks into Microsoft's "Scripter Framework" and builds the foundations of a dynamic Web Framework using C#4, Razor, and Microsoft Web Pages. Along the way you can see how Massive was built, along with Manatee (simple Migration framework) and Quixote (high-level testing framework).
1 - What Do We Have To Work With Here?
In this episode Rob takes a look at the core functionality of WebMatrix - the good stuff as well as the bad - and discusses the road ahead.
2 - Cleaning Things Up, Making It Sweeter
In this episode Rob cleans up the "out of the box" experience using some conventions borrowed from Rails, then drops in his "Sugar" library from SubSonic to make working with C#4 a little more fun.
3 - Data Access with Massive
In this episode Rob dives into using System.Dynamic - a new feature in C#4 - with everyone' favorite part of application development: Data Access. Along the way Rob spawns a new movement in .NET data access - the Micro ORM.
4 - Layouts and URLs
In this episode Rob dives into the flexxible and friendly Layouts built-in to Microsoft Web Pages and WebMatrix. Topics include Layouts, Sections, Page Start and AppStart - and once again System.Dynamics.
5 - Migrations with Manatee
In this episode Rob takes on Migrations - a feature that is the cornerstone of building out your database in Rails. Borrowing just about every concept from that framework, Rob turns JSON and System.Dynamic into a flexible database schema builder.
6 - High Level Testing With Quixote
In this episode Rob fixes up a glaring hole in the WebMatrix story: the lack of testing. Quixote was created in this episode and is a high-level testing/acceptance framework built on Razor and, yes, System.Dynamic. It's also one page coming in at less than 500 lines of code.