UriHelper.GetDisplayUrl(HttpRequest) UriHelper.GetDisplayUrl(HttpRequest) UriHelper.GetDisplayUrl(HttpRequest) Method

Definition

Returns the combined components of the request URL in a fully un-escaped form (except for the QueryString) suitable only for display. This format should not be used in HTTP headers or other HTTP operations.

public static string GetDisplayUrl (this Microsoft.AspNetCore.Http.HttpRequest request);
static member GetDisplayUrl : Microsoft.AspNetCore.Http.HttpRequest -> string
<Extension()>
Public Function GetDisplayUrl (request As HttpRequest) As String

Parameters

request
HttpRequest HttpRequest HttpRequest

The request to assemble the uri pieces from.

Returns

Applies to