Subscribe to Windows IT Pro
October 04, 2007 12:00 AM

Microsoft Reveals Developer Tools Source Code

Windows IT Pro
InstantDoc ID #97241
Rating: (11)

Microsoft this week announced it was opening up the source code to the next version of its .NET Framework, a set of developer libraries used by so-called managed code applications written in languages like C# and Visual Basic. The .NET Framework 3.5 will be licensed under the Microsoft Reference License, which gives developers the right to view but not modify the source code. Microsoft says this will give developers a better understanding of how the system works.

"You'll be able to download the .NET Framework source libraries via a standalone install, allowing you to use any text editor to browse it locally," Scott Guthrie, a general manager in Microsoft's Developer division, wrote in a recent blog post. "We will also provide integrated debugging support of it within Visual Studio 2008."

Guthrie notes that the source code for the .NET Framework 3.5 will be made available over time, beginning with core components as the .NET Base Class Libraries, ASP .NET, Windows Forms, ADO .NET, XML, and Windows Presentation Foundation (WPF). Then, he adds, the company will release the code to more libraries, including those for Windows Communication Foundation (WCF), Windows Workflow, and LINQ (Language Integrated Query), the latter of which is new to upcoming products like Visual Studio 2008 and SQL Server 2008.

This week's announcement is the latest in a long string of Microsoft efforts at promoting source code sharing, albeit on a more restrictive scale than is possible with open source products like Linux. The company also makes the source code to its Windows CE platform, the basis for Windows Mobile and other products, available via its Shared Source program.

Related Content:

ARTICLE TOOLS

Comments
  • Orion
    5 years ago
    Oct 05, 2007

    I'm always shocked at the idea that people are mistrustful of additional features on newer versions of software. They have the option of either selling this as an add-on to VS 2005 (and then where does it stop), integrating it into VS 2008 since that's what they're working on anyways, or giving the features away free with VS 2005, loosing money and possibly introducing bugs into software that wasn't designed to do it.

    Who cares if this is a marketing ploy? It's a good thing.

  • Sachin
    5 years ago
    Oct 05, 2007

    "We will also provide integrated debugging support of it within Visual Studio 2008."

    Ahh... I missed that point. Stepping into their code would indeed make this useful.

    On the other hand, I'm left wondering if this is a marketing ploy to get developers to upgrade to VS 2008. Will integrated debugging work in older Visual Studio versions? I'm loathe to trade a known set of VS bugs (with workarounds) for a brand-spankin' new set of bugs with Visual Studio 2008.

  • Sachin
    5 years ago
    Oct 05, 2007

    "We will also provide integrated debugging support of it within Visual Studio 2008."

    Ahh... I missed that point. Stepping into their code would indeed make this useful.

    On the other hand, I'm left wondering if this is a marketing ploy to get developers to upgrade to VS 2008. Will integrated debugging work in older Visual Studio versions? I'm loathe to trade a known set of VS bugs (with workarounds) for a brand-spankin' new set of bugs with Visual Studio 2008.

  • Orion
    5 years ago
    Oct 04, 2007

    This is incredibly good news. As a .net developer there have been lots of times where I've wanted to step into framework code and see what the hell is going on. It helps to be able to track down where behavior is coming from _and_ helps you determine what can be done to get around said behavior.

    Additionally while Reflector will give you the source code, it won't integrate with debugging which means you kind of have to ALT-Tab back and forth a ton of times as you try and understand what the hell is going on.

  • Alejandro
    5 years ago
    Oct 04, 2007

    The way I understand it is that you want to see the source code of the functions/objects you use to debug your own code. Sometimes, the black-box functions one calls seem not to do their job. In 99.9% of the cases, the problem is in the caller function (ie, your own), but you may have trouble seeing this. So, by looking at the codes of the functions you call, you may finally get what's wrong with your own code.

    Actually, if you read the blog post of the .Net team announcement, they refer to this scenario in particular.

    So, if anything, the fact that MS follows others in making the code visible shows that there is a problem in the theory of object oriented and modular code that recommend to hide the inner workings of the code you depend on. However, showing everything is known to backfire, as people start writing code under certain assumptions about the code in these functions, which are not guaranteed to still be true in the next update of the library.

    When it comes to Windows, you have to remember that there are a lot of programmers (millions) that are, how to say it, not that good. This is much less true in the Linux world. So, if you give any sharp object to them, they end up causing trouble pretty soon.

You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.