完整的http请求在asp.net framework中的处理流程:

 Asp.Net
HttpRequest-->
HTTP.exe-->
inetinfo.exe(w3wp.exe)->
ASPNET_ISAPI.DLL-->
Http Pipeline-->ASPNET_WP.EXE-->
HttpRuntime.Init-->
HttpRuntime.ProcessRequest-->
ISAPIRuntime.ProcessRequest-->
HttpApplication Factory-->HttpApplication-->
HttpModule-->
HttpHandler Factory-->HttpHandler-->
HttpHandler.ProcessRequest() 
BeginRequest
AuthenticateRequest,PostAuthenticateRequest
AuthorizeRequest,PostAuthorizeRequest
ResolveRequestCache,PostResolveRequestCache
PostMapRequestHandler
AcquireRequestState,PostAcquireRequestState
PreRequestHandlerExecute,PostRequestHandlerExecute
ReleaseRequestState,PostReleaseRequestState
UpdateRequestCache,PostUpdateRequestCache
LogRequest,PostLogRequest
EndRequest

Asp.Net

 Asp.Net MVC
HttpRequest-->
HTTP.exe-->
inetinfo.exe(w3wp.exe)->
ASPNET_ISAPI.DLL-->
Http Pipeline-->
HttpRuntime.Init-->
HttpRuntime.ProcessRequest-->
ISAPIRuntime.ProcessRequest-->
BeginRequest
AuthenticateRequest,PostAuthenticateRequest
AuthorizeRequest,PostAuthorizeRequest
ResolveRequestCache,PostResolveRequestCache
MvcHandler
AcquireRequestState,PostAcquireRequestState
Controllor,Action
View
EndRequest

Asp.Net MVC

 Asp.Net Core
HttpRequest-->
Server-->
HttpApplication-->
MiddleWare(s)(handle features in HttpContext)
MiddleWare(s)(handle features in HttpContext)
MiddleWare(s)(handle features in HttpContext)
(error handling,static file server,authentication,Routing MVC)
.
.
.

Asp.Net Core

初识ASP.NET CORE:一、HTTP pipeline的更多相关文章

  1. .net core系列之初识asp.net core

    .net core已经发布了2.0版本,相对于1.0的有了很大的完善,最近准备在项目中尝试使用asp.net core,所以就进行了一些简单的研究. 初识asp.net core分为以下几个部分: 1 ...

  2. 初识ASP.NET CORE

    首先创建一个asp.net core web应用程序 第二步 目前官方预置了7种模板项目供我们选择.从中我们可以看出,既有我们熟悉的MVC.WebAPI,又新添加了Razor Page,以及结合比较流 ...

  3. 初识ASP.NET Core 1.0

    本文将对微软下一代ASP.NET框架做个概括性介绍,方便大家进一步熟悉该框架. 在介绍ASP.NET Core 1.0之前有必要澄清一些产品名称及版本号.ASP.NET Core1.0是微软下一代AS ...

  4. 初识ASP.NET CORE:二、优劣

    Which one is right for me? ASP.NET is a mature web platform that provides all the services that you ...

  5. 初识ASP.NET CORE:三、Middleware

    Middleware are simpler than HTTP modules and handlers:Modules, handlers, Global.asax.cs, Web.config  ...

  6. ASP.NET Core文章汇总

    现有Asp.Net Core 文章资料,2016 3-20月汇总如下 ASP.NET Core 1.0 与 .NET Core 1.0 基础概述 http://www.cnblogs.com/Irvi ...

  7. ASP.NET Core 2.0 MVC - 获取当前登录用户信息

    一.前言 上篇实战完成后,没想到会有那么多的圈友给了那么多的支持,甚至连只是作为代码仓储的git上也给了一些小星星,真的感觉很惶恐啊,哈哈哈,毕竟代码写的很烂啊.由于上一篇只是大概说了下项目,所以准备 ...

  8. Filters in ASP.NET Core

    Filters in ASP.NET Core allow code to be run before or after specific stages in the request processi ...

  9. ASP.NET Core 3.0 入门

    原文:ASP.NET Core 3.0 入门 课程简介 与2.x相比发生的一些变化,项目结构.Blazor.SignalR.gRPC等 课程预计结构 ASP.NET Core 3.0项目架构简介 AS ...

随机推荐

  1. How do you build a database?

    在reddit上看到的一篇讲解数据库实现的文章,非常有意思,在这里记录一下. 回答者technical_guy: Its a great question, and deserves a long a ...

  2. Java基础之-ExecutorService

    翻译javadoc系列文章之:ExecutorService /** * An {@link Executor} that provides methods to manage termination ...

  3. 通过前台选择输入用来计算圆,三角形以及长方形的面积(此题目主要是while以及if 的使用)

    #!/bin/usr/env python#coding=utf-8'''完成一段简单的Python程序,用于实现计算圆面积,三角形面积,长方形面积'''flag=Truewhile flag: pi ...

  4. PHP 输出图像 imagegif 、imagejpeg 与 imagepng 函数

    imagegif().imagejpeg().imagepng() 和 imagewbmp() 函数分别允许以 GIF.JPEG.PNG 和 WBMP 格式将图像输出到浏览器或文件. PHP 输出图像 ...

  5. WebApi:WebApi的Self Host模式

    不用IIS也能執行ASP.NET Web API 转载:http://blog.darkthread.net/post-2013-06-04-self-host-web-api.aspx 在某些情境, ...

  6. SpringMVC 中获取所有的路由配置。

    ApplicationContext context = TMSContextLookup.getApplicationContext(); String[] controllerList = con ...

  7. [HTML] CSS 渐变

    CSS3 渐变 CSS3 渐变(gradients)可以让你在两个或多个指定的颜色之间显示平稳的过渡. 以前,你必须使用图像来实现这些效果.但是,通过使用 CSS3 渐变(gradients),你可以 ...

  8. Android 常见问题收集 (持续更新)

    gridview中设置item的高度. 一.BaseAdapter中的getView中设置 AbsListView.LayoutParams param = new AbsListView.Layou ...

  9. HEAP CORRUPTION 错误

    一般是new一块内存过小,  在这个内存块上写入的内容过大, delete时出现的错误; 如: char* ptr = new char[2]; //申请了两个字节 *ptr = "1234 ...

  10. 潜入ICU的四逆汤

    制附子50克(先煎2小时).干姜15克.炙甘草10克.桂枝10克.上好肉桂10克(后下).煎取药液300毫升,分三次鼻饲.这是昨天我给A先生病危的父亲开的处方:四逆汤加肉桂.桂枝. 昨天上午的门诊到2 ...