Monthly Archives: July 2011

Web Forms to Razor

I’m honored to present at SEVDNUG tonight.  Our topic is “Web Forms to Razor”.  Our primary focus is getting familiar with the new mechanisms in Razor and MVC, and learning how we can transition a product from one platform to another.

We’ll run with the solution here, comparing the Web project (MVC) to the WebForms project.  Both include identical functionality and look & feel.  When we’re done, we’ll have a good introduction to MVC concepts and in particular Razor concepts — enough to begin you thinking.  Over the course of the evening, we’ll reference Phil Hack’s Razor Cheat Sheet found at http://haacked.com/archive/2011/01/06/razor-syntax-quick-reference.aspx

Razor and MVC provide a newer, cleaner mechanism for handling web scenarios.  The former paradigm of abstracting HTML and JavaScript away from us has gotten in the way.  MVC gives us a foundation for a clean separation of concerns where it matters, and Razor provides a format for cleanly rendering html.  It’s a very elegant stack, and I hope you enjoy this evening’s demo.

Rob