Asp.Net MVC Life cycle [duplicate]

2019-02-18 03:50发布

问题:

Possible Duplicate:
What is the 'page lifecycle' of an ASP.NET MVC page, compared to ASP.NET WebForms?

I will appreciate if Gurus Out there can point me to ASP.Net MVC Life cycle. I am interested to know what happens once a request comes and a response is sent and where does ControllerFactory comes in picture. this will help me to understand the hooks and extension point to MVC. All pointers are appreciated.

P.S. Is there any way I can step into code and see how the Factories are being used to create instance.

Thanks

回答1:

Have a look at Steve Sanderson's Request-Handling Pipeline Poster.



回答2:

This is a pretty good answer. Also here etc. These are just top results on Google for "asp mvc lifecycle," so you can probably find more if you need them.



回答3:

Here are some blogposts for quick review