The ASP.NET Roadmap and Why Event Sinks are Unnecessary

Recently, the ASP.NET Roadmap was published on Codeplex. It goes into a good amount of detail about some of the potential future enhancements of ASP.NET Ajax such as DOM databinding and a number of features that are an attempt to catch up to the better Ajax libraries such as jQuery and Dojo. There are a […]

ASP.NET Developers Don’t "Get" The Web

Please excuse some of the broad generalizations that appear in this article, but they are some of the things that I have observed to be true of the ASP.NET community as a whole. Don’t take it personally, as it obviously doesn’t apply to all ASP.NET developers.
There are way too many ASP.NET developers out there that […]

Turn off ViewState for ListBoxes & DropDownLists Now!

ListBoxes and DropdownLists are 2 controls that I always disable ViewState for. I will explain why this is essential for page performance and I’ll show you how you can do this and still get the correct selected values. I’ll then go into an example of how you can do this even when the values are […]

Programming Interview Question #4 from Dev102

Over at Dev102, they are running a weekly series of programming job interview questions. Here is this week’s question:
How would you implement the following method: Foo(7) = 17 and Foo(17) = 7. Any other input to that method is not defined so you can return anything you want. Just follow those rules:

Conditional statements (if, switch, […]

Use Unique Element Names in your XML

The Problem
It seems to me that this should be fairly obvious, but you should use unique element names in your XML. I only bring this up because I recently ran into some XML code at work that breaks this guideline. Here is an example of what I’m talking about (Keep in mind that this is […]

Using jQuery & JSON with ASP.NET

There was a recent post on Encosia about how to use jQuery to interact with web services. In this article I will expand on a couple of the points and add a few new wrinkles
Creating the Web Service
The first thing that we need to do is to define our web service. I am using ASP.NET […]