UrlHelper.EncodeUrlPart Method

Namespace:
Weavy.Core.Helpers
Assembly:
Weavy.Core.dll

EncodeUrlPart(string, bool)

Encodes url part.

public static string EncodeUrlPart(string part, bool uppercase = true)

Parameters

part
string

Url part to encode.

uppercase
bool

true to use uppercase escaping characters.

Returns

string

Encoded url part.