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
Initializes a new instance of MiddlewareFactory.
Creates a middleware instance for each request.
Releases a IMiddleware instance at the end of each request.