Wednesday, 4 May 2016

Escape text for HTML - Embed Symbols in HTML

ASP.NET 
    var encoded = System.Web.HttpUtility.HtmlEncode(un_encoded);

C# console and Windows apps 
    var encoded = System.Security.SecurityElement.Escape(un_encoded);


No comments:

Setup Windows Local Account without the Internet

During the Windows setup,  On the WiFi screen, press SHIFT + F10  or  FN + SHIFT + F10  This will open the command prompt window with admini...