Deep Integration of MVC and WebForms

Embed code for this video

Copy the code above to embed our video on your website/blog.

Close

Video format

Option selected may change based on video formats available and browser capability.

Close

Download

Right click “Save as…”

WebForms, MVC with ASPX views, and MVC with Razor views have their own pros and cons. But ASP.NET doesn't make it an either/or choice. Not only can you have all three side-by-side in the same application, but also WebForms pages can take advantage of all the MVC goodness (routing, Html and Url helpers, etc.) and still let you use the WebForms viewstate/event model. It only takes a few lines of code.

Comment on this Session

Already have a Channel 9 account? Please sign in