0

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.

1
  • Web config doesn't handle requests; it's is used during startup and running of the app, to store configuration. If it is corrupt, app wont start, but that doesn't mean it's anything to do with serving a request; just that request is causing app to start and app start is reading config Commented Nov 11, 2019 at 8:42

1 Answer 1

0

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.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.