Delen via


UrlHelperExtensions Class

Definition

Static class for url helper extension methods.

public ref class UrlHelperExtensions abstract sealed
public static class UrlHelperExtensions
type UrlHelperExtensions = class
Public Module UrlHelperExtensions
Inheritance
UrlHelperExtensions

Methods

Action(IUrlHelper, String, Object)

Generates a URL with a path for an action method, which contains the specified action name and route values.

Action(IUrlHelper, String, String, Object, String, String, String)

Generates a URL with a path for an action method, which contains the specified action name, controller name, route values, protocol to use, host name, and fragment. Generates an absolute URL if the protocol and host are non-null. See the remarks section for important security information.

Action(IUrlHelper, String, String, Object, String, String)

Generates a URL with a path for an action method, which contains the specified action name, controller name, route values, protocol to use, and host name. Generates an absolute URL if the protocol and host are non-null. See the remarks section for important security information.

Action(IUrlHelper, String, String, Object, String)

Generates a URL with a path for an action method, which contains the specified action name, controller name, route values, and protocol to use. See the remarks section for important security information.

Action(IUrlHelper, String, String, Object)

Generates a URL with a path for an action method, which contains the specified action name, controller name, and route values.

Action(IUrlHelper, String, String)

Generates a URL with a path for an action method, which contains the specified action and controller names.

Action(IUrlHelper, String)

Generates a URL with a path for an action method, which contains the specified action name.

Action(IUrlHelper)

Generates a URL with a path for an action method.

ActionLink(IUrlHelper, String, String, Object, String, String, String)

Generates an absolute URL for an action method, which contains the specified action name, controller name, route values, protocol to use, host name, and fragment. Generates an absolute URL if the protocol and host are non-null. See the remarks section for important security information.

Page(IUrlHelper, String, Object)

Generates a URL with a relative path for the specified pageName.

Page(IUrlHelper, String, String, Object, String, String, String)

Generates a URL with an absolute path for the specified pageName. See the remarks section for important security information.

Page(IUrlHelper, String, String, Object, String, String)

Generates a URL with an absolute path for the specified pageName. See the remarks section for important security information.

Page(IUrlHelper, String, String, Object, String)

Generates a URL with an absolute path for the specified pageName. See the remarks section for important security information.

Page(IUrlHelper, String, String, Object)

Generates a URL with a relative path for the specified pageName.

Page(IUrlHelper, String, String)

Generates a URL with a relative path for the specified pageName.

Page(IUrlHelper, String)

Generates a URL with a relative path for the specified pageName.

PageLink(IUrlHelper, String, String, Object, String, String, String)

Generates an absolute URL for a page, which contains the specified pageName, pageHandler, route values, protocol to use, host name, and fragment. Generates an absolute URL if the protocol and host are non-null. See the remarks section for important security information.

RouteUrl(IUrlHelper, Object)

Generates a URL with an absolute path for the specified route values.

RouteUrl(IUrlHelper, String, Object, String, String, String)

Generates a URL with an absolute path for the specified route routeName and route values, which contains the specified protocol to use, host name and fragment. Generates an absolute URL if Protocol and Host are non-null. See the remarks section for important security information.

RouteUrl(IUrlHelper, String, Object, String, String)

Generates a URL with an absolute path for the specified route routeName and route values, which contains the specified protocol to use and host name. Generates an absolute URL if Protocol and Host are non-null. See the remarks section for important security information.

RouteUrl(IUrlHelper, String, Object, String)

Generates a URL with an absolute path for the specified route routeName and route values, which contains the specified protocol to use. See the remarks section for important security information.

RouteUrl(IUrlHelper, String, Object)

Generates a URL with an absolute path for the specified routeName and route values.

RouteUrl(IUrlHelper, String)

Generates a URL with an absolute path for the specified routeName.

Applies to