When it comes to choosing which framework to work with, you need to think about several key points that differentiate conceptually MVC and WebForms models.
Following is a comparison between the two frameworks that can help you when choosing one or the other when deciding which model suits your web application requirements
MVC fully embraces HTTP.
Controllers in MVC are decoupled from any state and can be easily tested and mocked. Thus, automatic unit testing is easily supported.
Rich routing capabilities.
MVC supports a number of view engines, such as Razor. In addition, you can implement your own view engine.
You can also use container models, such as Dependency Injection and Inversion of Control.
You can extend the routes, controllers, filters, and actions in MVC and also to define your own HTML Helpers.
The important point to note is that one framework does not replace the other, but they serve different purposes and requirements. For example, an advantage of ASP.NET WebForms is the vast infrastructure and ecosystem built around it. On the other hand, working with ASP.NET MVC makes a lot of sense for web pages.
Back To Top
For developers: Develop with Sitefinity and ASP.NET MVC