C# Class Core.Web.Helpers.UrlExtensions

Extends UrlHelper functionality.
Show file Open project: coreframework/Core-Framework

Public Methods

Method Description
EncodeForSEO ( this helper, String unencodedUrl ) : String

Encodes url for SEO.

RootUrl ( this url ) : String

Generate site root url.

Method Details

EncodeForSEO() public static method

Encodes url for SEO.
public static EncodeForSEO ( this helper, String unencodedUrl ) : String
helper this The helper.
unencodedUrl String The unencoded URL.
return String

RootUrl() public static method

Generate site root url.
public static RootUrl ( this url ) : String
url this The URL helper instance that this method extends.
return String