The processing of requests is different for MVC than it is for ASP.NET.
Here is a quick overview:
ASP.NET MVC Life Cycle Overview | | | ASP.NET Webforms Life Cycle Overview |
Request | | | Request |
Perform routing | | | Page |
MVC Request Handler | | | Page Lifecycle (initialization) |
Execute Controller | | | Load |
Invoke Method | | | Postback |
View Engine | | | Page Lifecycle (finalize) |
Output Response | | | Rendering |
| | Output Response (unload) |
More Information
This is just a light comparison of the basic differences. For more information click on the links to the titles above to get the details from MSDN.
0 comments:
Post a Comment