关于几个入口
IIS: application pool------>w3wp
CLR: appdomain
console:?
asp.net: httpruntime + httpcontext
website: httpapplication
HttpApplication对象不直接处理request,因此,在httpapplicatin中读取httpcontext没有意义。
Mvchandler(controller) 处理Httpcontext
AppDomain------->
HttpRuntime | WCF |
HttpContext, HttpApplication | ............ |
出处:http://cnblogs.com/daishuguang