Microsoft publishes source files for most of the .Net Framework 3.5 libraries.
Yesterday, Scott Guthrie wrote a very interesting note on his blog that with the release of Visual Studio 2008, they would provide an opportunity to debug not only their code, but also see what happens in the source code of the .Net Framework 3.5 libraries. He said (free translation):
“We will start publishing source code (including comments in source files) from the base class library (namespace 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). In a few months, we will open other libraries (including WCF, Workflow, and LINQ). Source code will be available under Microsoft Reference License (MS-RL)
You can download and install it separately (for example, the author is without Visual Studio 2008, because the possibility of integrated debugging of this code in Visual Studio 2008 is still provided) and viewed locally using any text editor. ” ')
If you want to know all the details, you still better go here .
And I'd add on my own - lately, many have become accustomed to condemning Microsoft “out of habit” - so they say, bad, greedy, evil empire, inhibits the progress of proprietary software, etc. ... Maybe this was observed in the 90s, when the MS dominated the OS market, but now they have changed their policies very radically (no, frantic GPL scribes, they are not going to die, and will not go under the GPL) - Microsoft has become more open in terms of technology, more "turned" to the user with his wide smile: D. The new software development process (Security Development Lifecycle), which is introduced by MS in the development of all new products. The disclosure of the source code of the newest .NET 3.5 Framework (I was particularly struck by the fact that they are opening their “main weapon” - LINQ) and the recent discovery of the source code ASP.NET Ajax Extensions. All this suggests that the company has ceased to be "the concentration of world IT evil." Try to evaluate Microsoft in a new way, not by the labels of a decade ago, which are firmly rooted in the brain, but by its actions, by policy. Compare with the same all your favorite Google. I do not urge to love Microsoft, just stop evaluating it by the actions of 10-15 years ago. And 15 years ago you were not like now - some wrote in diapers - no one thinks that you do it now and you will do it all your life;)
PS: Remember - no one, of course, will open the source code of the latest developments for you because a lot of money is invested in them and this money still needs to be “returned”. Yes, and foolishly left and right to distribute copyright property to all lovers of “freebies” - this is, or rather the realization that for your “invention” you will get shish with butter and mention in a “free” license, which no one usually reads, inhibits progress much more.