I need to decode HTML characters in .NET Core (MVC6). It looks like .NET Core doesn\'t have WebUtility.HtmlDecode function which everybody used for that purpose before. Is t
This is in Net Core 2.0
using System.Text.Encodings.Web;
and call it:
$"Please confirm your account by clicking here.");
UPDATE: Also in .Net Core 2.1:
using System.Web;
HttpUtility.UrlEncode(code)
HttpUtility.UrlDecode(code)