What is ASP .Net MVC

 Microsoft's ASP.NET MVC is a new web application platform. Model-View-Controller (MVC) is a web development system pattern that is becoming increasingly common. You won't have to deal with pages and controls, postbacks or view state, or the complicated ASP.NET event life cycle with ASP.NET MVC, which is an alternative and complement to Web Forms.

MVC stands for Model View Controller Architecture, and it is a framework technique that divides an application's implementation into three component roles: models, views, and controllers. As a result, you'll need to experiment with controllers, behaviour, and views in Asp.net MVC.


MVC Pattern

The Model-View-Controller (MVC) pattern is an evolution of a pattern created by Trygve Reenskaug in the Smalltalk community in the 1970s.


  • Model

Models are the components of an MVC-based framework that are responsible for keeping the application's state. This state is often stored in a database, as in the case of a Product class that represents order data from the Products table in SQL.

  • View

Views are the components that represent the application's user interface in an MVC-based application. For example, we could build a Product "Edit" view that displays textboxes, dropdowns, and checkboxes based on the current state of a Product object.

  • Controller

Controllers are the components in an MVC-based application that handle end-user interaction, manipulate the model, and finally choose a view to make to show UI. In an MVC application, the view is only responsible for displaying data; the controller is responsible for handling and responding to user input and interaction.


ASP .NET MVC Advantages


The ASP.NET MVC Platform is a modern framework that offers the following benefits over the Web Forms solution (i.e., ASP.Net):

  • Separation of interests

            The framework is split into three sections in ASP.NET MVC, making it easier to handle the application's complexity.

  • TDD

            The ASP.NET MVC platform improves test-driven development support.
  • Extensible and pluggable

            Since the components of the ASP.NET MVC system are pluggable and extensible, they can be replaced or customized more easily than Web Forms.
  • Full control over application behavior

           View State and server-based forms, including Web Forms, are not used in the ASP.NET MVC framework. This allows the application developer to have more control over the application's actions while also lowering the bandwidth used by server requests.
  • ASP.NET features are supported

          Since the ASP.NET MVC system is designed on top of ASP.NET, it can take advantage of many of ASP.NET's features, such as the providers architecture, authentication and authorization scenarios, membership and roles, caching, sessions, and so on.
  • URL routing mechanism

         The ASP.NET MVC system includes a powerful URL routing feature that makes your                             application's URLs more understandable and searchable. This mechanism makes the application             more accessible to search engines and customers, which can aid in search engine optimization.

Summary


The ASP.NET MVC framework simplifies the more technical aspects of ASP.NET Web Forms while maintaining the platform's strength and versatility. Model-View-Controller (MVC) is a user interface template for web application creation that allows you to create applications in a loosely coupled manner. The Model, View, and Controller (MVC) pattern divides an application into three parts: Model, View, and Controller.

These were few well known features of ASP .Net MVC.

Next Part: Installation

Happy coding!



          


        

Post a Comment

0 Comments