Generates a URL with an absolute path for the specified pageName
. See the remarks section for important security information.
public:
[System::Runtime::CompilerServices::Extension]
static System::String ^ Page(Microsoft::AspNetCore::Mvc::IUrlHelper ^ urlHelper, System::String ^ pageName, System::String ^ pageHandler, System::Object ^ values, System::String ^ protocol, System::String ^ host, System::String ^ fragment);
public static string? Page(this Microsoft.AspNetCore.Mvc.IUrlHelper urlHelper, string? pageName, string? pageHandler, object? values, string? protocol, string? host, string? fragment);
public static string Page(this Microsoft.AspNetCore.Mvc.IUrlHelper urlHelper, string pageName, string pageHandler, object values, string protocol, string host, string fragment);
static member Page : Microsoft.AspNetCore.Mvc.IUrlHelper * string * string * obj * string * string * string -> string
<Extension()>
Public Function Page (urlHelper As IUrlHelper, pageName As String, pageHandler As String, values As Object, protocol As String, host As String, fragment As String) As String
Parameters
The page name to generate the url for.
The handler to generate the url for.
An object that contains route values.
The protocol for the URL, such as "http" or "https".
The host name for the URL.
The fragment for the URL.
ReturnsThe generated URL.
RemarksThe value of host
should be a trusted value. Relying on the value of the current request can allow untrusted input to influence the resulting URI unless the Host
header has been validated. See the deployment documentation for instructions on how to properly validate the Host
header in your deployment environment.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4