AutoCompleteExtender with data from ASPX code behind

The auto complete functionality is a useful aid where suggestions are displayed when you type into a textbox. You would have come across this in many sites. Looking at how to implement this in an ASP.Net application using the AJAX control toolkit, it was not a complex task, as the great video tutorial here demonstrates. … Continue reading AutoCompleteExtender with data from ASPX code behind

Code contracts in DotNet 4.0

Microsoft research has come out with some new additions in the .Net 4.0 release, and one feature that caught my eye was code contracts. An earlier Microsoft research project dealt with a language called spec#, which is an extension of C# but with some added enhancements (http://research.microsoft.com/en-us/projects/specsharp/), code contracts being one of them. Now that … Continue reading Code contracts in DotNet 4.0

Breakpoint in global.asax is never reached by debugger in VS

Yesterday at work, I came across the situation where I had inserted a breakpoint to debug some code inside my global.asax file in a web application, but the VS debugger never reaches it. The first indication of trouble came when some data values loaded during application start never changed, even after I manually changed the … Continue reading Breakpoint in global.asax is never reached by debugger in VS