public static void Main()
string consumerId = "m!ch@3l*";
string urlValue = HttpServerUtility.UrlTokenEncode(Encoding.UTF8.GetBytes(consumerId));
Console.WriteLine("{0,-35}{1}", "Consumer ID:", consumerId);
Console.WriteLine("{0,-35}{1}", "Invalid URL To Consumer Service:", "https://consumer.healthwise.net/"+consumerId);
Console.WriteLine("{0,-35}{1}", "URL-safe ConsumerID:", urlValue);
Console.WriteLine("{0,-35}{1}", "Valid URL to Consumer Service", "https://consumer.healthwise.net/"+urlValue+"?encoded=true");
Console.WriteLine("{0,-35}{1}", "To Get Prescriptions, for example:", "https://consumer.healthwise.net/"+urlValue+"/prescriptions?encoded=true");