Search Results for

    Show / Hide Table of Contents
    View Source

    Class FriendlyUrlHelperExtensions

    Inheritance
    object
    Namespace: Umbraco.Extensions
    Assembly: Umbraco.Web.Common.dll
    Syntax
    public static class FriendlyUrlHelperExtensions

    Methods

    View Source

    SurfaceAction(IUrlHelper, string, string)

    Generates a URL based on the current Umbraco URL with a custom query string that will route to the specified SurfaceController

    Declaration
    public static string SurfaceAction(this IUrlHelper url, string action, string controllerName)
    Parameters
    Type Name Description
    IUrlHelper url
    string action
    string controllerName
    Returns
    Type Description
    string
    View Source

    SurfaceAction(IUrlHelper, string, string, object)

    Generates a URL based on the current Umbraco URL with a custom query string that will route to the specified SurfaceController

    Declaration
    public static string SurfaceAction(this IUrlHelper url, string action, string controllerName, object additionalRouteVals)
    Parameters
    Type Name Description
    IUrlHelper url
    string action
    string controllerName
    object additionalRouteVals
    Returns
    Type Description
    string
    View Source

    SurfaceAction(IUrlHelper, string, string, string, object)

    Generates a URL based on the current Umbraco URL with a custom query string that will route to the specified SurfaceController

    Declaration
    public static string SurfaceAction(this IUrlHelper url, string action, string controllerName, string area, object additionalRouteVals)
    Parameters
    Type Name Description
    IUrlHelper url
    string action
    string controllerName
    string area
    object additionalRouteVals
    Returns
    Type Description
    string
    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX