Mind map
Middleware

Map content
Middleware
It is software that is assembled to a pipeline of an application to control requests and responses.
- Each component can do the following
- Choose whether to pass the request to the next component in the pipeline.
- Perform work before and after invoking the next component in the pipeline. pipeline
- Each component can do the following
Writing
- This is usually encapsulated in a class and is exposed with an an extension method.
- It should follow the principle of explicit dependencies by exposing its dependencies in the constructor. Middleware is built once per application lifetime.
- Middleware components can resolve the dependencies of a dependency insertion by constructor parameters.
Middlewares build the request pipeline. The following figure illustrates the ASP.NET Core request processing.
Images and files in the map
Information
- Description
- Mind Map on Middleware, created by Juan Pablo Tique Sogamoso on 30/09/2022.
- Created by
- Juan Pablo Tique Sogamoso
- Views
- 0
- Rating

