Web 2.0 ASP.NET

A Blog about ASP.NET, MVC, Web 2.0, AJAX, SQL server and other web technologies.
Helping the little guy win!

Resharper


The HttpUtility.HtmlEncode Answer

Is it just me.... but surely if you want to HtmlEncode something then you want to Encode all of it and not just the symbols? rant rant Anyway I found a nice little piece of code which will do ALL of the encoding over at the EggHead cafe thanks again Peter Bromberg for saving me an hour or three!

http://www.eggheadcafe.com/tutorials/aspnet/ca7f59b0-e086-4974-9130-3210625e675c/html-entities-class.aspx

Now Reading







Microsoft Store

Microsoft Store

Blog Archive

About Me

My Photo
MCSD MCAD MCSE David has been architecting and developing software applications for the last 15 years using Microsoft technologies, more recently he has specialized in developing Web 2.0 ASP.NET applications using C#, SQL Server, AJAX, JavaScript and other development tools. When not tapping on the keyboard programming you can find him strumming guitars, banging drums and tinkling the piano keys in local bars and cafes around Osaka.

Disclaimer

All data and information provided in THIS blog is for informational purposes only. I make no representations as to accuracy, completeness, currentness, suitability, or validity of any information on this blog and will not be liable for any errors, omissions, or delays in this information or any losses, injuries, or damages arising from its display or use. All information is provided on an as-is basis. All code may be used under the standard UIIYW BDBMIITDW license (Use It If You Want But Dont Blame Me If It Doesnt Work) :)