Home / Dot Net / When to Use ASP.NET MVC

When to Use ASP.NET MVC

ASP.NET MVC has certain capabilities that make it the best option to choose if you need one or more of the following:
• A high level of control over the generated HTML: Unlike Web Forms, Views in ASP.NET MVC render HTML exactly as you tell them to. Recently, Web Forms have been improved in this area but still don’t have the level of control MVC has.
• Easier unit testing: With ASP.NET MVC, it is very easy to follow testing patterns such as test-driven development (TDD). Because of the complex event lifecycle in Web Forms, on top of a control-based framework, TDD is a lot easier with MVC.
• Separation of concerns: This refers to having all aspects of the system clearly separated from one another. Because of the pattern it implements, an MVC application is divided into discrete and loosely bound parts (model, views, and controllers), which makes it easy to maintain.

About admin

Check Also

Latest Book Marking List 2017

S.No. High PR Social Bookmarking Websites Lists Google PR Alexa MozRank Moz PA 2 www.google.com/bookmarks …