Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / January 2006

Tip: Looking for answers? Try searching our database.

Is .NET Framework Class Library source code open?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Chris - 19 Jan 2006 03:55 GMT
Hi,

I am interested in learning how .net class library works for diagnosing some
strange behavior in my application.
Is there a place I can get source code of the class library?
I worked on Java for many years, what really helped me is to learn the
under-hood mechanism of  the JDK classes.

Thanks in advance.
Chris
Mattias Sjögren - 19 Jan 2006 06:26 GMT
Chris,

>Is there a place I can get source code of the class library?

Parts of it: http://msdn.microsoft.com/net/sscli/

Mattias

Signature

Mattias Sjögren [C# MVP]  mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.

Jon Skeet [C# MVP] - 19 Jan 2006 07:23 GMT
> >Is there a place I can get source code of the class library?
>
> Parts of it: http://msdn.microsoft.com/net/sscli/

Note that although that's *an* implementation of a lot of the class
libraries, it's not the same implementation which is used in .NET
itself. In many places it may be very similar, but there's no
guarantee.

Signature

Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet   Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too

Richard Grimes [MVP] - 29 Jan 2006 17:53 GMT
>>> Is there a place I can get source code of the class library?
>>
[quoted text clipped - 4 lines]
> itself. In many places it may be very similar, but there's no
> guarantee.

Of course, if you compare practically any class in the framework library
in SSCLI with the code returned from Reflector for 1.1 of the framework,
the only difference is that the SSCLI has useful comments in it ;-)

Reflection and metadata means that the framework library is essentially
'open', but to *really* understand why classes are implemented the way
they are you need the developer's comments. That's what makes SSCLI so
useful :-)

Richard
Signature

Fusion Tutorial: http://www.grimes.demon.co.uk/workshops/fusionWS.htm
Security Tutorial:
http://www.grimes.demon.co.uk/workshops/securityWS.htm

Lloyd Dupont - 19 Jan 2006 06:45 GMT
Reflector is also quite helpfull.
http://www.aisto.com/roeder/dotnet/

Signature

Regards,
Lloyd Dupont

NovaMind development team
NovaMind Software
Mind Mapping Software
<www.nova-mind.com>

> Hi,
>
[quoted text clipped - 6 lines]
> Thanks in advance.
> Chris
"Jeffrey Tan[MSFT]" - 19 Jan 2006 09:06 GMT
Hi Chris,

Thanks for your post.

Currently, the .Net Framework class library is not open source, although
downloading and using it will be free. However, Microsoft has maintained an
open source implementation specification for .Net1.0, which is called
Shared Source CLI, for more information, please refer to the link below:
"Shared Source CLI Provides Source Code for a FreeBSD Implementation of
.NET"
http://msdn.microsoft.com/msdnmag/issues/02/07/SharedSourceCLI/

Additionally, if you are only curious with .Net FCL, you can use the tool
Reflector. Reflector did a good decompilation regarding .Net FCL
assemblies, and we can view the FCL code in C#, VB.net, IL etc...

Hope it helps

Best regards,
<you alias>
Microsoft Online Partner Support
Signature

Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.