UriHelper.GetDisplayUrl(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.
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:
[System::Runtime::CompilerServices::Extension]
static System::String ^ GetDisplayUrl(Microsoft::AspNetCore::Http::HttpRequest ^ request);
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
The request to assemble the uri pieces from.
Returns
The combined components of the request URL in a fully un-escaped form (except for the QueryString) suitable only for display.