Creates a URL And SEO friendly slug

public static string UrlFriendly(string text, int maxLength = 0)
Returns:
string

Parameters

text string

Text to slugify

maxLength int

Max length of slug

In this article