June 2008 Blog Posts

The Information Card Foundation (ICF) is here - informationcard.net

One of my idols is keeping up his good work by being one of the founders of The Information Card Foundation. I just wanted to put this news out there and give it some praise and a couple of well deserved cheers! Just to get you pumped to read on at the site and get excited about this here are a few lines I cut from there: "The Information Card Foundation is a group of thoughtful designers, architects, and companies who want to make the digital world easier for you by building better products that help you get control of your...

Dynamic Data is Magical

Just fiddled a bit with Dynamic Data. And man is it cool! It's absolutely Magical! Just to be funny i droped all tables, views and stored procedures from Northwind (OK so maybe Northwind is not so funny)! IT took a while to run the site since I guess Dynamic Data has to do some reflecting on the database before it runs but the result is really cool! You get lots of nice goodies like full CRUD support on all tables. Sorting, filtering and linking between tables is included. Master-Detail views. Forgein keys are linked as drop down lists and not integer references. Everything...

Installing Visual Studio 2008 SP1 Beta Fails if you have the Symbol server hotfix installed

I recently re-installed my system and so I've piecemeal added back all installations I had in my last configuration. This time round I installed source server support for debugging the .NET Framework before I installed the Visual Studio 2008 SP1 Beta. This turns out to be... not so productive. I just wasted a couple of hours to figure out what went wrong and so I thought I'd post it to you so you won't have to wind up in the same situation. I already had configure(d) Visual Studio to Debug .NET Framework Source Code and so I had also applied Kb944899: FIX:...

Hosted a summer MSDN radio show

How cool is it to have your very own blog post on some one elses blog? I think it's pretty cool, well... at least a little bit charming and funny! ;~) Dag König posts all the notes and links to each MSDN Summer Radio show. I got published on Wednesday. Here's Dag's post: MSDN Radio Sommar med Magnus Mårtensson, DotWay Thanks Dag! Cheers, /Magnus P.S. This is a follow up to my post Hosting a summer MSDN radio show

Speaking at the (Swedish) Microsoft Summer Camp

Microsoft Sweden host what they call a Summer Camp each summer. This means a big number of seminars at three locations in Sweden and also some online. It's a huge set of seminars and sessions so if you're a Swede check it out! What I wanted to especially point out is that I'll be ganging up with one of the Swedish MSDN evangelists (once again) for a talk on news for web developers in Visual Studio 2008, .NET Framework 3.5 and ASP.NET 3.5. It's on 19th of August between 9am and 12pm in Stockholm, Sweden. See you there! Session text in Swedish...

Hosting a summer MSDN radio show

Swedish MSDN will be airing a set of podcasts over summer (TechNet will do the same). The language is Swedish. I am one of the lucky ones to have gotten a slot on the Internet digital waves this summer! As a matter of fact I am on next week on Wednesday 11. Nervewrecking but exiting! Here's the site: www.msdn.se/sommarpratare/ Cheers, /Magnus

Dynamic Code presentation at Oredev 2008

The fourth annual Øredev is due in November this year and as it stands now I am speaking at the event! The program is not finished yet but it is beginning to settle and so far I've made the cut. ;~) I happen to know very intimately how HUGE this year's event will be with key notes by Ted Neward, James Bash and Robert C. Martin (Uncle Bob) so I can honestly say it's going to be really great to be a speaker! Also the .NET track for the event is PACKED with GREAT speakers and content! You - yes YOU -...

Generic Singleton behavior which does not force inheritance (take II)

I created a Singleton class which can create and store singleton instances of other classes. This version of Singleton behavior does not force you to inherit a Singleton behavior to your type. Naturally I use a little System.Reflection to pull this off since I don’t like to expose public constructors on Singleton classes. The sample is quite simple just read on! Note: This is an update of this post: Generic Singleton behavior which does not force inheritance. In fact this older post on the same subject contained an error which I decided to let be as a warning of this potential...

Generic Singleton behavior which does not force inheritance

Update: This code contains a bug! ;~) I decided to leave it be as a warning example. The problem is that Generic Types don't share static members. I've posted about it and I have also corrected this code in a new post: Generic Singleton behavior which does not force inheritance (take II)! I created a static Singleton class which can create and store singleton instances of other classes. This version of the Singleton pattern does not force you to inherit a Singleton behavior class to your object. Naturally I use a little System.Reflection to pull this off. It’s quite simple… just read...

Generic Types don't share static members

I just published an article on the Code Project under advanced generic topics. The article is about how open and closed generic types compared to non generic types might cause some confusion where static members are concerned! Note: Perhaps this is not so ‘advanced’ after all? Some comments to the article indicate that it is quite basic. Guess everything is easy once you know it. However I do feel this might be a pitfall where you can end up if you’re not careful and thus I wrote it up as an article! Here is the issue: Each closed generic type is its...