|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Is .NET Framework Class Library source code open?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 Chris,
>Is there a place I can get source code of the class library? Parts of it: http://msdn.microsoft.com/net/sscli/Mattias -- Mattias Sjögren [C# MVP] mattias @ mvps.org http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com Please reply only to the newsgroup. Mattias Sjögren <mattias.dont.want.spam@mvps.org> wrote:
> >Is there a place I can get source code of the class library? Note that although that's *an* implementation of a lot of the class > > Parts of it: http://msdn.microsoft.com/net/sscli/ 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. -- Jon Skeet - <sk***@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 Jon Skeet [C# MVP] wrote:
> Mattias Sjögren <mattias.dont.want.spam@mvps.org> wrote: Of course, if you compare practically any class in the framework library >>> 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. 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 -- Fusion Tutorial: http://www.grimes.demon.co.uk/workshops/fusionWS.htm Security Tutorial: http://www.grimes.demon.co.uk/workshops/securityWS.htm Reflector is also quite helpfull.
http://www.aisto.com/roeder/dotnet/ -- Show quoteRegards, Lloyd Dupont NovaMind development team NovaMind Software Mind Mapping Software <www.nova-mind.com> "Chris" <chrisforng@newsgroup.nospam> wrote in message news:OwNwswKHGHA.3904@TK2MSFTNGP10.phx.gbl... > 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 > 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 Get Secure! - www.microsoft.com/security This posting is provided "as is" with no warranties and confers no rights. |
|||||||||||||||||||||||