IHttpContextFactory Interface
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.
Provides methods to create and dispose of HttpContext instances.
public interface class IHttpContextFactory
C#
public interface IHttpContextFactory
type IHttpContextFactory = interface
Public Interface IHttpContextFactory
- Derived
Create(IFeature |
Creates an HttpContext instance for the specified set of HTTP features. |
Dispose(Http |
Releases resources held by the HttpContext. |
Product | Versions |
---|---|
ASP.NET Core | 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |