.SHARP{C#DERS}

.net development, server management, and related topics

ASP.Net MVC Remote Validator

This is an old post from my now defunct personal blogSometimes regex validators are not enough. I have a case where I want to make sure an email address exists in a database when a person is filling out a form. To do this you can use a remote validator which performs an AJAX call to an action for a ... [More]

HTML sanitization for ASP.Net

This is an old post from my now defunct personal blogI spent a great deal of time trying to find a reasonable way to clean HTML. I wanted to remove script tags, broken HTML, and etc but still allow rich text editing. Most of the sanitization routines are just too strict. My input is from a ckeditor ... [More]