码迷,mamicode.com
首页 > Windows程序 > 详细

ASP.NET WEB API 2: HTTP MESSAGE LIFECYLE

时间:2019-02-25 15:11:49      阅读:238      评论:0      收藏:0      [点我收藏+]

标签:dispatch   ima   spn   ica   ESS   fir   auth   target   gdi   

https://www.asp.net/media/4071077/aspnet-web-api-poster.pdf

 

1.You can host Web API inside IIS or inside your own process (self-hosting).   

2.The HTTP request message is first converted to an HttpRequestMessage object, which provides strongly typed access to the HTTP message.

3.HttpMessageHandler

   3.1  Delegating Handler

   3.2  HTTPRoutingDispatcher

   3.3  HTTPControllerDispatcher

    StepA:Create Api Controller

4.Controller

   StepB: Select controller action

   4.1  Authentication Filters

   4.2  Authorization Filters

   StepC:Model Binding

   4.3  Action Filters

   StepE: Invoke Action

   StepD:Result Conversion

在看pdf的时候,还需要注意标准

技术图片

 

扩展阅读

https://exceptionnotfound.net/the-asp-net-web-api-2-http-message-lifecycle-in-43-easy-steps-2/

 

ASP.NET WEB API 2: HTTP MESSAGE LIFECYLE

标签:dispatch   ima   spn   ica   ESS   fir   auth   target   gdi   

原文地址:https://www.cnblogs.com/chucklu/p/10430831.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!