A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://learn.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.mvc.urlhelperextensions.page below:

UrlHelperExtensions.Page Method (Microsoft.AspNetCore.Mvc) | Microsoft Learn

Source:
UrlHelperExtensions.cs
Source:
UrlHelperExtensions.cs
Source:
UrlHelperExtensions.cs

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
pageName
String

The page name to generate the url for.

pageHandler
String

The handler to generate the url for.

values
Object

An object that contains route values.

protocol
String

The protocol for the URL, such as "http" or "https".

host
String

The host name for the URL.

fragment
String

The fragment for the URL.

Returns

The generated URL.

Remarks

The 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