Deep Integration of MVC and WebForms

1 hour, 16 minutes, 13 seconds


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.

Follow the discussion

  • Oops, something didn't work.

    Getting subscription
    Subscribe to this conversation

Comments closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.