Table of Contents

Class FriendlyUrlHelperExtensions

Namespace
Umbraco.Extensions
Assembly
Umbraco.Web.Common.dll
public static class FriendlyUrlHelperExtensions
Inheritance
FriendlyUrlHelperExtensions
Inherited Members

Methods

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

public static string SurfaceAction(this IUrlHelper url, string action, string controllerName)

Parameters

url IUrlHelper
action string
controllerName string

Returns

string

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

public static string SurfaceAction(this IUrlHelper url, string action, string controllerName, object additionalRouteVals)

Parameters

url IUrlHelper
action string
controllerName string
additionalRouteVals object

Returns

string

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

public static string SurfaceAction(this IUrlHelper url, string action, string controllerName, string area, object additionalRouteVals)

Parameters

url IUrlHelper
action string
controllerName string
area string
additionalRouteVals object

Returns

string