Asp.Net Mvc Controllers Overview

Controller Overview

The ASP.NET MVC framework maps URLs to classes that are referred to as controllers.

Controllers

  • Process incoming requests
  • Handle user input and interactions and
  • Execute appropriate application

The Controller class inherits from ControllerBase and is the default implementation of a controller. The Controller class is responsible for the following processing stages:

  1. Locating the appropriate action method to call and validate that it can be
  2. Getting the values to be used as the action method’s
  3. Handling all errors that might occur during the execution of the action
  4. Providing the View for rendering ASP.NET pages to

Continue reading “Asp.Net Mvc Controllers Overview”

Please follow and like us:
0

What is MVC. Best Dot Net Training

Description: What is MVC. Best Dot Net Training

     MVC stands for Model – View – Controller.

What is MVC. Best Dot Net Training

  • It is architecture for developing interactive applications where there would be a user interaction involved and event handling would occur.

What is the role of Model, View and Controller?

What is MVC. Best Dot Net Training
What is MVC. Best Dot Net Training

Model: It manages data basically state of the application in memory. There is no fixed size or shape of model objects since what we intend to hold in memory in one application may not be the same as that in other application. It includes all of an application’s validation logic, business logic and data access logic. For example, an Employee object (Model) might retrieve information from a database, operate on it, validate it and then write updated information back to an Employee table in the database. Continue reading “What is MVC. Best Dot Net Training”

Please follow and like us:
0