Have you ever heard the saying “If you don’t know where to look, don’t look at all”? Think about this saying and coding. If a piece of code somewhere in the system is causing an error, don’t split the whole thing apart...

There are two reasons why it is desirable to do so. The first is for letting search engines see more of your content rather than the big portion of ViewState many sites have. The other is perceived rendering time, which...

On a website with the ability for users to logon, it is a good idea to have some sort of password policy. The most widely used contains minimum requirements for the length of the password and that the individual...

Today I had to add some functionality to an already existing class library. In there were a internal virtual method that I thought were supposed to be protected virtual. To no big surprise, I couldn’t compile after...

The W3C has introduced an API for their HTML Validator. It is not a SOAP web service, but it does return XML that can be parsed, so now you have the ability to incorporate validation to any web application, Windows...

I recently realized that you can add more than one class to a single HTML element. This opens up to even more structured stylesheets and more code reuse. It’s a standard and has cross-browser support. You simply just...

There is no doubt in my mind, that ASP.NET is the most powerful and versatile platform for web applications at the moment. By leveraging the .NET Framework you can do absolutely anything in no time, but is that power...

Office pranks are among the funniest and we’ve probably all done some of our own over the years. This time, my boss and I came up with a good one. Write an add-in for Windows Live Messenger that auto replies to all...

The Session in ASP.NET is a very simple way of storing user specific data for the duration of a single user session. I’ve many times added data to the Session that had an even shorter lifespan. That could be as a data...

For a website that supports multiple languages, it is important to tell the client what the selected language is. This is done in the <html> tag in the lang or xml:lang attribute and could look something like this for an...