Deep Integration of MVC and WebForms
- Day 1
- Speakers: Matthew Kane
- 3,400 Views
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