Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Downloadable/browsable version of the .NET Framework source code?

Tags:

.net

Now that the source code to the .NET Framework has been made available, is there any way to actually view it that doesn't involve using Visual Studio to step into a framework class? Several times now, I've been curious just how something works and wished I could peek at some code, but don't feel like putting together an application and doing an autopsy in the debugger.

My google-fu has failed me, providing me only with blog posts announcing the fact that the source is available. (Thanks, blogosphere!) I was positive that someone would have thrown it all up on the web by now.

like image 916
Brant Bobby Avatar asked Nov 25 '08 23:11

Brant Bobby


People also ask

Is .NET Framework 4.8 the latest version?

NET Framework 4.8. 1 is included in the latest version of Visual Studio, Visual Studio 2022 17.3. .

What is .NET Framework 2.0 download?

What Is Microsoft NET Framework 2.0. The . NET Framework 2.0 includes the NET Framework runtime redistributable package and files related to apps that target the NET 2.0 Framework. It improves scalability and performance with optimized caching and app deployment.

What is latest .NET framework version?

NET Framework 4.8. To determine the installed . NET version, use the following Release DWORD: 528449 (Windows 11 and Windows Server 2022)


2 Answers

There are different ways to look at the .NET source code: Online via the browser:

  • http://www.dotnetframework.org
  • http://typedescriptor.net/browse
  • https://github.com/Microsoft/referencesource

Download it:

  • http://referencesource.microsoft.com/netframework.aspx
  • http://referencesource.microsoft.com/
  • http://sourceof.net

Microsoft has put up a git repository of ASP.NET here :

https://aspnet.codeplex.com/SourceControl/latest

Extra:

  • Mass downloader: http://www.wintellect.com/blogs/jrobbins/download-all-the-net-reference-source-code-at-once-with-net-mass-downloader
  • CLI Online source code viewer: http://labs.developerfusion.co.uk/SourceViewer/browse.aspx?assembly=SSCLI

Have fun!

like image 158
juFo Avatar answered Oct 03 '22 14:10

juFo


.NET Framework Libraries Available Source Code Components

like image 39
slf Avatar answered Oct 03 '22 14:10

slf