This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static class StringExtensions | |
{ | |
/// <summary> | |
/// Converts the provided app-relative path into an absolute Url containing the | |
/// full host name | |
/// </summary> | |
/// <param name="relativeUrl">App-Relative path</param> | |
/// <returns>Provided relativeUrl parameter as fully qualified Url</returns> | |
/// <example>~/path/to/foo to http://www.web.com/path/to/foo</example> | |
public static string ToAbsoluteUrl(this string relativeUrl) |