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::IMiddlewareFactorypublic class MiddlewareFactory : Microsoft.AspNetCore.Http.IMiddlewareFactorytype MiddlewareFactory = class
    interface IMiddlewareFactoryPublic 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. |