MiddlewareFactory Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Default implementation for IMiddlewareFactory.
public ref class MiddlewareFactory : Microsoft::AspNetCore::Http::IMiddlewareFactory
public class MiddlewareFactory : Microsoft.AspNetCore.Http.IMiddlewareFactory
type MiddlewareFactory = class
interface IMiddlewareFactory
Public Class MiddlewareFactory
Implements IMiddlewareFactory
- Inheritance
-
MiddlewareFactory
- Implements
Constructors
MiddlewareFactory(IServiceProvider) |
Initializes a new instance of MiddlewareFactory. |
Methods
Create(Type) |
Creates a middleware instance for each request. |
Release(IMiddleware) |
Releases a IMiddleware instance at the end of each request. |