MVC has two life cycles
1. Application Life Cycle
2. Request Life Cycle
1. Application Life Cycle
- Application life cycle starts when application starts in IIS and end when it stops, we can handle start and stop events in startup file of the application
2. Request Life Cycle
- Request life cycle starts with Routing
- Controller initialization
- Action Execution
- Result Execution (View Engine)
- Response
No comments:
Post a Comment