# Friday, 10 March 2006

A colleague of mine (thanks Sune) sent me a link to a hilarious post over at Joel on Software. Descriptions don’t do it justice so just head on over there to get a good laugh. Before you go keep this quote in mind, “we're introducing a general-purpose tool-building factory factory factory”. I guarantee that It’ll all make sense when we’re done over there

Why I Hate Frameworks

posted on Friday, 10 March 2006 10:04:51 (Romance Standard Time, UTC+01:00)  #    Comments [0] Trackback
# Thursday, 09 March 2006

Code_logo_whiteIf you’re just getting started with ASP.NET 2.0 Dino Esposito has a great article just for you over at Code Magazine called Top-Ten Annotations and Remarks about the Wonderful and Powerful New Set of Features in ASP.NET 2.0. A great read for a heads up about some of the new features:

“You’ll still write a good deal of code in ASP.NET 2.0. Don’t completely trust those who say that ASP.NET 2.0 cuts 70% of the amount of code you’re called to write. You’ll end up writing more or less the same quantity of code, but you’ll write code of different quality. You’ll have more components and less boilerplate code to tie together pages and controls. Features like the provider model, data source controls, and master pages make coding easier and equally effective. But since there’s no magic behind, you have to learn the implications of each feature you employ. In the end, ASP.NET 2.0 comes with code behind, not magic behind.”

I liked this little bit of statistics:

“The core functions of ASP.NET are implemented in the system.web assembly. In ASP.NET 1.x, the system.web assembly counts 14 namespaces and 321 exported types. In ASP.NET 2.0, the number of namespaces grows up to 22. The number of exported types, instead, almost quadruples up to 1121 types. Do you still want to call it a major upgrade?”

posted on Thursday, 09 March 2006 08:57:52 (Romance Standard Time, UTC+01:00)  #    Comments [0] Trackback
# Thursday, 23 February 2006

When doing exception logging in our applications I’ve always needed additional information about the object which caused the exception. In my rush to get things done I created a new exception type which an ObjectData property which would hold my user data never thinking that my work might already have been done for me.

Sure enough, today I stumble upon the Exception.Data property which is new to .NET 2.0 and…. wait for it…. supports user data. It’s basically an IDictionary which will hold any number of objects for later use. Now I can through away my custom exception and be on my merry way with the project.

Sometimes it’s the little things that count

posted on Thursday, 23 February 2006 14:40:00 (Romance Standard Time, UTC+01:00)  #    Comments [0] Trackback
# Friday, 17 February 2006

Dejligt med noget sne, som blidt daler ned og lægger en dæmper på verden. Dejligt med noget sne, som kan dække vinterens brune og grå farver. Dejligt med noget sne, som får tempoet i verden til at sænke sig.


Fucking lorte Århus Sporveje busser, som ikke fatter at holde afstand til cykelstien, hvilket resulterer i at de stakkels cyklister bliver smurt ind i sjap og splat på vejen på arbejde. Undertegnede sidder lige nu og skriver denne post indsmurt i brun sjap og sand, som bussen fra Århus Sporveje var så venlig at smadre op over mig 5 minutter inden jeg nåede frem til kontoret.

Nam nam og god fucking weekend Århus Sporveje!

Eller som Dolph ville sige, “AAAAAAAAAAAAAAAARGH!”

posted on Friday, 17 February 2006 08:29:53 (Romance Standard Time, UTC+01:00)  #    Comments [0] Trackback
# Thursday, 16 February 2006

ASPNETWebApplicationVisual Studio 2005 introduces a new model for web based projects which is great but has some limitations for what I need to do. Basically I need to specify which permissions are needed to be able to access a specific web control using attributes.

ASP.NET 2.0 does away with class level members for each web control so I basically needed the old web project model back; Scott Guthrie to the rescue with Web Application Projects.

Basically you get the old model back with some of the new stuff from ASP.NET 2.0. Be aware that this is preview version. There are only a couple of minor annoyances present at the moment, i.e. you have to declare your web controls members on the class yourself and switching from code view to UI view using hotkeys doesn’t always work reliably. These are things you’ll be able to live with until the final version is released.

Download Web Application Project or read Scott’s initial post about it which includes a tutorial.

posted on Thursday, 16 February 2006 11:31:29 (Romance Standard Time, UTC+01:00)  #    Comments [2] Trackback

I was very fond of Whidbey Commands for Visual Studio 2003 so naturally I was disappointed when the features wasn’t included in VS 2005 as I originally assumed they would be. Anyway I discovered that Gaston Milano was kind enough to port his code to VS 2005 in the form of Cool Commands for Visual Studio 2005.

It adds the following features of which I find “Open Project Folder” and “Collapse All Projects” very useful:

- Reference Manager

- Collapse All Project, Command Prompt Here, Open Project Folder, Demo Font and Wheel Font Zooming

Check out CoolCommands for Visual Studio 2005 RTM, you’ll never know how you made do without it  Please note that you need to run the install.bat from a Visual Studio command prompt for it to work.

posted on Thursday, 16 February 2006 10:43:40 (Romance Standard Time, UTC+01:00)  #    Comments [0] Trackback
# Wednesday, 15 February 2006

Windows_defender_screenshotMicrosoft finally released the next version of their anti spyware utility Windows Defender, formerly Microsoft AntiSpyware. Hope this one will be able to remember allowed programs so I can stop clicking that annoying allow dialog every single time my computer starts up.

Microsoft Defender

posted on Wednesday, 15 February 2006 08:40:30 (Romance Standard Time, UTC+01:00)  #    Comments [0] Trackback
# Monday, 13 February 2006

Sit back and enjoy the wonder that is direct manipulation of a computer screen using only your hands. A friend of mine passed along this link for an absolutely amazing demo of new technology which basically reminds me of a scene from Minority Report where Tom Cruise is manipulation a couple of views using a data glove-thingy. Now the truly amazing thing about the actual technology is that is has done away with the gloves making the experience look very intuitive.

You need to see this: http://www.youtube.com/watch?v=iVI6xw9Zph8

posted on Monday, 13 February 2006 09:38:19 (Romance Standard Time, UTC+01:00)  #    Comments [0] Trackback
# Thursday, 02 February 2006

Speaking of UI changes in IE7 I stumbled on the “A New Look for IE” post on the IE blog which describes many of the changes made to the UI. Great read for sure.

Here’s snip, “Hello, I’m Max Stevens, and I recently joined the IE team as a Program Manager working on the user experience. In anticipation of our next major pre-release of IE, I’d like to give an overview of some of the great work we’ve done in the UI, especially a lot of the progress we’ve made since Beta 1.

posted on Thursday, 02 February 2006 13:11:36 (Romance Standard Time, UTC+01:00)  #    Comments [0] Trackback