HttpRequestExtensions.GetUrlHelper(HttpRequest) 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.
Extension method to return the IUrlHelper from the HttpRequest.
public static Microsoft.AspNetCore.Mvc.IUrlHelper GetUrlHelper (this Microsoft.AspNetCore.Http.HttpRequest request);
static member GetUrlHelper : Microsoft.AspNetCore.Http.HttpRequest -> Microsoft.AspNetCore.Mvc.IUrlHelper
<Extension()>
Public Function GetUrlHelper (request As HttpRequest) As IUrlHelper
Parameters
- request
- HttpRequest
The Http request.
Returns
The IUrlHelper.