Quantcast
Home / SOFTWARE DEVELOPMENT / WEB DEVELOPMENT / 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.

Facebook Comments

About admin

Check Also

ASP.NET Interview Question Part-2

1) How does the cookies work in asp.net? When a cookie is created it will …

ASP.NET Interview Question Part-1

1) What’s a bubbled event? The event processing routine for each object in complex control …

ADO.NET interview Questions-Part 2

1.What are the advantages of ADO.NET? The advantages of ADO.NET are as follows:- It is …

Leave a Reply

Your email address will not be published. Required fields are marked *