News

First Source Code for .NET Framework Libraries Released

Microsoft releases .NET 3.5 Framework library source code.

Microsoft has followed up on its promise to release the .NET 3.5 Framework library source code.

Libraries Now Open

A list of what's available for developers to view:
  • .NET Base Class Libraries (including System, System.CodeDom, System.Collections, System.ComponentModel, System.Diagnostics, System.Drawing, System.Globalization, System.IO, System.Net, System.Reflection, System.Runtime, System.Security, System.Text, System.Threading, etc.)
  • .ASP.NET (System.Web, System.Web.Extensions)
  • Windows Forms (System.Windows.Forms)
  • Windows Presentation Foundation (System.Windows)
  • ADO.NET and XML (System.Data and System.Xml)
Source: Microsoft
The company released the source code of more than a dozen libraries -- including ASP.NET, Windows Presentation Layer, Windows Forms and the .NET Base Class Libraries -- last month (see "Libraries Now Open").

Scott Guthrie, general manager of the Microsoft Developer Division, is promising that more libraries will come soon, including ones for Workflow, Windows Communication Foundation and LINQ.

"We think that enabling source code access and debugger integration of the .NET Framework libraries is going to be really valuable for .NET developers," he says in his blog post announcing the release of the class libraries. "Being able to step through and review the source should provide much better insight into how the .NET Framework libraries are implemented, and in turn enable you to build better applications and make even better use of them."

His blog includes instructions for configuring Visual Studio 2008 to access and debug the source code.

While the source code is being released under the company's read-only reference license (as originally planned), Guthrie notes Microsoft has made a change to the license terms.

"When we announced that we were releasing the source code back in October, some people had concerns about the potential impact of their viewing the source," notes Guthrie. Now, if a developer is coding for the Windows platforms, "You can look at the code, even if that software has 'the same or substantially the same features or functionality' as the .NET Framework," he says.

About the Author

Becky Nagel serves as vice president of AI for 1105 Media specializing in developing media, events and training for companies around AI and generative AI technology. She also regularly writes and reports on AI news, and is the founding editor of PureAI.com. She's the author of "ChatGPT Prompt 101 Guide for Business Users" and other popular AI resources with a real-world business perspective. She regularly speaks, writes and develops content around AI, generative AI and other business tech. Find her on X/Twitter @beckynagel.

comments powered by Disqus

Featured

  • Get Started Using .NET Aspire with SQL Server & Azure SQL Database

    Microsoft experts are making the rounds educating developers about the company's new, opinionated, cloud-ready stack for building observable, production ready, distributed, cloud-native applications with .NET.

  • Microsoft Revamps Fledgling AutoGen Framework for Agentic AI

    Only at v0.4, Microsoft's AutoGen framework for agentic AI -- the hottest new trend in AI development -- has already undergone a complete revamp, going to an asynchronous, event-driven architecture.

  • IDE Irony: Coding Errors Cause 'Critical' Vulnerability in Visual Studio

    In a larger-than-normal Patch Tuesday, Microsoft warned of a "critical" vulnerability in Visual Studio that should be fixed immediately if automatic patching isn't enabled, ironically caused by coding errors.

  • Building Blazor Applications

    A trio of Blazor experts will conduct a full-day workshop for devs to learn everything about the tech a a March developer conference in Las Vegas keynoted by Microsoft execs and featuring many Microsoft devs.

  • Gradient Boosting Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the gradient boosting regression technique, where the goal is to predict a single numeric value. Compared to existing library implementations of gradient boosting regression, a from-scratch implementation allows much easier customization and integration with other .NET systems.

Subscribe on YouTube