• USA : +1 973 910 5725
  • INDIA: +91 905 291 3388
  • info@tekslate.com
  • Login

Execute an MVC Application

Execute of MVC Application in ASP .NET

 

8

 

Step 1: Client sends request for the application to IIS

 

Step 2:  IIS will redirect the request to global.asax file

2Hear route table collection will be created by adding all the routes.

 

Step 3: Perform Routing –> hear URL routing module will check for the request route in route table collections.

2If route is not available in route collection table error message will be send to client.

2If request route is available create route object and then also create request object.

 

Step 4: Create MVC request handler:-

2Hear MVC route handler class will take the route from route object and create the an object for the an MVC handler class by passing the request context object.

2Hear request context object originally responsible to pass the request from ASP.net to MVC.

Get through the interview bar with our selected interview questions for ASP.Net enthusiasts

Step 5: Create controller:-

2Hear MVC handler class identifies the controller that is to be executed with the help of request context object by using the route object.

2It creates an object to the controller class.

 

Step 6:  Execute controller:-

2Hear execute method of the controller class will be called to start the execution of controllers.

 

Step 7: Invoke action:-

2At this step MVC “run time will identify which action method should be called for execution and will invoke that method.”

 

Step 8: Execute result:-

2Hear code in action method will be executed by using data from model class

2Controller will be return to view

 

Step 9: Execute view:-

2In this step complete view code will execute by using the model class data if necessary.

 

Step 10:

2The executed result sends to client

2Once result is delivered to client the execution result is completely destroyed at server

The types of result that an MVC application can handle take

  1. View result
  2. Redirect to route result
  3. Redirect result
  4. Content result
  5. Json result
  6. File result

Empty result

For indepth understanding click on

Summary
Review Date
Reviewed Item
Execute an MVC Application
Author Rating
5

“At TekSlate, we are trying to create high quality tutorials and articles, if you think any information is incorrect or want to add anything to the article, please feel free to get in touch with us at info@tekslate.com, we will update the article in 24 hours.”

0 Responses on Execute an MVC Application"

Leave a Message

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

Site Disclaimer, Copyright © 2016 - All Rights Reserved.