Tuesday, May 15, 2012

Advantages of using MVC in ASP.NET


  • There's no duplicated code.
  • The business logic is encapsulated; hence the controller code is transparent and safer.
  • The business logic can be used in several front ends like Web pages, Web services, Windows applications, services, etc.
  • Exception handling is well managed showing the user only digested error messages.
  • Testing every part of an application is easier as it can be done separately using automated methods.
  • Application changes are easier to apply as they are focused in one part of the architecture only.

No comments:

Using Authorization with Swagger in ASP.NET Core

 Create Solution like below LoginModel.cs using System.ComponentModel.DataAnnotations; namespace UsingAuthorizationWithSwagger.Models {     ...