Aminur Rahman
Aminur Rahman

Reputation: 1

When a user request a link in ASP.NET MVC. Where it handle first? web.config or Global.asax

I know Global.asax file first handel the incoming request in asp.net mvc and web.config file contain the configuration the application. My query is which is first handle request Global.asax or web.config.

Upvotes: 0

Views: 55

Answers (1)

Mohammad Olfatmiri
Mohammad Olfatmiri

Reputation: 1675

Hi and welcome to Stackoverflow!

You should know more about ASP.NET MVC Life Cycle

The application life cycle refers to the time at which the application process actually begins running IIS until the time it stops. This is marked by the application start and end events in the startup file of your application.

Check this link Lifecycle of an ASP.NET MVC 5 Application. There is a pdf that charts the lifecycle of every ASP.NET MVC 5 application.

Upvotes: 0

Related Questions