Professional Documents
Culture Documents
GetAssemblies ICollection<Assembly>
No IHttpControllerActivator
Route.Handler DelegatingHandler
is null?
Yes
A message handler can create This message handler can invoke B Select Controller Action
the response directly, skipping HttpControllerDispatcher HttpMessageHandler HttpControllerDispatcher and return to the
the rest of the pipeline. main path, or provide a custom end point. Select an action based on the request.
Error response
ApiController
If the request is not authorized, an
authorization filter can create an error Authorization Exception
response and skip the rest of the pipeline. Filters Filters InvokeActionAsync Task<HttpResponseMessage>
C D
IHttpActionInvoker
Model Binding Result Conversion
Note
E Invoke Action
Request
C D
HttpRequestMessage
Model Binding Result Conversion
Request message HttpResponseMessage
Model binding uses the request to The return value from the
create values for the parameters of the action is converted to an
action. These values are passed to the URI HttpResponseMessage.
action when the action is invoked.
Headers
Entity-body
IContentNegotiator
Complex Type Simple Type Any Type HttpResponseMessage void IHttpActionResult Other types
Email: MSPoster@microsoft.com
2014 Microsoft Corporation. All rights reserved.