05 June 2005
Today I started learning the new ASP.NET pramming model in earnest. My first impressions are good overall. I like the simplified project file model that does not require every file in a website to be registered with the project file. In my group we've seen more than one crazy merge on project file changes. One of the things I totally utterly disagree with, however, is the "simplified code-behind model" using implictly defined control object references. How that encourages seperation of code from display is beyond me. The new simplified model requires the code-behind editor to know about every control defined in the ASPX page. That's idiotic and hardly improved seperation. In 1.1 I had to declare a private field reference to every server object I wanted to manipulate. The advatage to this is that I can write an manipulate control references that don't yet exist in the ASPX. That allowed the code-behind editor and the ASPX editor to develop in parallel. Now the code-behind editor has to wait for the ASPX editor to add a control. That's not faster or simpler. It's downright stupid and a great example of tight coupling, a.k.a., bad nasty programming.