In this tutorial I will show you how to decode HTML characters in c#. Here, my string values contains HTML characters. But I need to convert to normal plain text.
I am using jpeg metadata utility in c#. I want to remove the old keyword tags and add new tags. When I used metaAdapter.Metadata.Keywords.Add(“”) it overwrites with existing keywords.
I got this following error I removed the old version of System.Net.Http.Formatting version 4.0.0.0 and referenced Version=5.2.3.0. This reference resolved by problem.
When I try to display the html file HostingEnvironment.MapPath I got the error. "An exception of type 'System.ArgumentException' occurred in System.Web.dll but was not handled in user code".