View Source
Class FriendlyUrlHelperExtensions
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
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
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