Thursday, 4 October 2007

Source code released for .Net Framework Libraries

This is super super cool. I know that every .Net nerd and his dog has blogged this by now, however for those two people that haven't heard, MS are releasing the source code for .NetFX2 within the Orcas time frame.

From ScottGu's blog:

We'll begin by offering the source code (with source file comments included) for the .NET Base Class Libraries (System, System.IO, System.Collections, System.Configuration, System.Threading, System.Net, System.Security, System.Runtime, System.Text, etc), ASP.NET (System.Web), Windows Forms (System.Windows.Forms), ADO.NET (System.Data), XML (System.Xml), and WPF (System.Windows). We'll then be adding more libraries in the months ahead (including WCF, Workflow, and LINQ). The source code will be released under the Microsoft Reference License (MS-RL).
Finally we can hit F11 whenever the APIs aren't doing what we expect and STEP IN TO the BCL or whatever and figure out whats going on ourselves. Remember scene in Star Wars where Obi-Wan Kenobi is telling Luke to put the blast shield down on his helmet on telling him to 'trust the force'? Well not being able to step into the .NetFX is very similar to that...

And of course the best part is now I finally have a defense against my Java friends when we have our inevitable .Net vs J2EE holy wars. I mean those guys have been able to do this right from the start.

Bloody fantastic.