HttpRequestExtensions.CreateRequestContainer(HttpRequest, String) Method
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.
Creates a request container that associates with the request
.
public static IServiceProvider CreateRequestContainer (this Microsoft.AspNetCore.Http.HttpRequest request, string routeName);
static member CreateRequestContainer : Microsoft.AspNetCore.Http.HttpRequest * string -> IServiceProvider
<Extension()>
Public Function CreateRequestContainer (request As HttpRequest, routeName As String) As IServiceProvider
Parameters
- request
- HttpRequest
The request.
- routeName
- String
The name of the route.
Returns
The request container created.