摘要:
asp.net mvc的生命周期主要分三个阶段1、网址路由对比2、找到对应的Controller执行相应的Action3、执行View并返回结果完整的生命周期Request->UrlRoutingModule->RouteHandler->MvcHandler->DefaultControllerFactory->Controller->View Factory->View->Response执行control和view当程序执行到MvcHandler,它的入口是ProcessRequest,在MvcHandler中的ProcessRequest 阅读全文