From the monthly archives: April 2005

I inherited some of the worst code I have ever seen. Part of the problem, according to the original coder, is ASP.Net strange ways of doing things. The real problem is that he didn’t really try to understand how the framework actually works. This led to him creating a method called EnsureStart() that is the first thing called inside every method for example.

Anyway, in two weeks, I refactored most of his code to make it understandable, have the intialization happen only in one place. I think the biggest problem with ASP.Net right now is the magic is does automatically when you create your controls in the web form with the Visual Studio designer. Once you start to add dynamic controls, things start to get messy, as the magic is not done for you, and you have to make sure you recreate them every time. Also, on your page_load event, your dynamic controls might not all be loaded. This generally means that you do not have access to the new values entered by the user yet.

After two weeks, I cannot say that I’m impressed, but it is definitely less bad than what most people told me.

Popularity: 3% [?]


Over the next few weeks, at work, I will be reworking an application that is made with ASP.Net. I would like to do it in Rails, but since we’re using .Net for everything, that’s the way it is going to be. However, I think I will try to reimplement it in Rails in my spare time to compare both framework.

Popularity: 14% [?]