5 ms·
Browse the .NET Framework source code online
- taspeotis 11y agoCan someone put 2014 on this? http://blogs.msdn.com/b/dotnet/archive/2014/04/09/how-your-feedback-is-shaping-net.aspx http://blogs.msdn.com/b/dotnet/archive/2014/04/09/how-your-f... > we also launched a new web site that hosts the latest version of the .NET Reference Source, called http://sourceof.net http://sourceof.net I think http://referencesource.microsoft.com/ http://referencesource.microsoft.com/ might even be a little bit older.
- zuck9 11y agosourceof.net redirects to referencesource.microsoft.com
- voltagex_ 11y agoDoes anyone know if you're still allowed to contribute to ReactOS/Mono/WINE after reading this?
- rodrigokumpera 11y agoYes, the code is MIT licensed. Check it on github: https://github.com/microsoft/referencesource https://github.com/microsoft/referencesource In fact, for the past couple releases mono has replaced a lot of its library code with MS's quite successfully. Full disclosure - I run the mono team at Xamarin.
- voltagex_ 11y agoThanks - and thank to you and the team for all your hard work. I just ran Hello World on Mono via dnx/dnu and my mind was blown. Who would have predicted Microsoft would be doing this in 2015?
- ghuntley 11y agoIt was alluded to that this change was coming back in May 2014 https://www.mail-archive.com/ozdotnet%40ozdotnet.com/msg10725.html https://www.mail-archive.com/ozdotnet%40ozdotnet.com/msg1072... and then on Nov 2014 it landed -> https://www.mail-archive.com/ozdotnet@ozdotnet.com/msg11187.html https://www.mail-archive.com/ozdotnet@ozdotnet.com/msg11187.... Additionally check out the recent presentation from last week done by the "Open Source Engineering Team, Microsoft" which is based in Silicon Valley - https://www.youtube.com/watch?v=2ARzbQSWoIM https://www.youtube.com/watch?v=2ARzbQSWoIM
- ghuntley 11y agoHere's the trello board which is tracking the code replacement - https://trello.com/b/vRPTMfdz/net-framework-integration-into-mono https://trello.com/b/vRPTMfdz/net-framework-integration-into...
- jpobst 11y agoIt depends. The reference source site code is MS-RSL (see the License link in the upper right). Some of the source is additionally available under MIT from the github repository, but the reference site includes things that are not "open source" like WPF and Winforms.
- Frondo 11y agoI'd like to second the poster who said thanks for all your hard work. It's pretty freakin' sweet to be able to develop my asp.net MVC sites in Monodevelop instead of VC. I really prefer KDE over Windows as a UI, and y'all let me work in Linux all the time now!
- itsboring 11y agoI second that sentiment. I mostly use C# for work - about half web stuff and half OpenGL-based user interfaces, and it's a real boon to be able to do all my work in Linux. Some other C# devs here work on Macs. We all appreciate the Mono team's hard work.
- pjmlp 11y agoAre you guys using OpenTK?
- itsboring 11y agoYeah, just a portion of it (a modified fork of the GL bindings). We wrap our own framework around the bindings and combine that with SDL2, plus Cairo/Pango for vector drawing and writing text to textures, libogg/libopus for audio files, Assimp for 3D assets, etc.
- pjmlp 11y agoI stopped paying attention when the development stood still for a while, hence my question. Thanks for the feedback.
- pjmlp 11y agoThanks for your all hard work and sorry for the few times I was part of the anti-Mono crowd in the early days. It is quite a valuable work, and if I would be running a business for mobile dev, Xamarin would be on top list vs C++ (which I use as a hobby currently).
- ghuntley 11y agohttps://www.mail-archive.com/ozdotnet%40ozdotnet.com/msg10725.html https://www.mail-archive.com/ozdotnet%40ozdotnet.com/msg1072... (pay attention to the date) and https://news.ycombinator.com/item?id=9431689 https://news.ycombinator.com/item?id=9431689 (which is the current status)
- runfaster2000 11y agoIt's also good to point out that .NET Core (effectively a subset of the .NET Framework) and Roslyn (C# compiler) are open source on GitHub. See: https://github.com/dotnet https://github.com/dotnet and http://dotnet.github.io http://dotnet.github.io I'm a .NET team member at Microsoft.
- nicolapede 11y agoCorrect me if I am wrong, but is seems like you can now compile and run Hello World on Ubuntu without needing a Windows PC (which I remember was needed at some step before)?
- edgyswingset 11y agoYes, that's correct.
- elorant 11y agoAny chance for previous versions? Namely .NET 4.0.
- tracker1 11y agoA lot of code should just work, some will require a rebuild under the new environment... I don't think I've had many problems moving forward at any given point. I've been using C#/.Net since some of the early previews. Though, these days most of my time is spent with node.js, and I've been following rust and go with some interest.
- elorant 11y agoI mean any chance of viewing source files for .NET 4.0.
- nvivo 11y agoI don't think sourceof.net has previous versions, but it's quite easy to just open any assembly on ILSpy. You won't get comments, but you can read the code very clearly.
- tracker1 11y agoI had to do this a few times in the early 1.x/2.x days as I needed to understand some of the internals for functionality I wanted/needed... as a cheat. Since 4, it's been really good, but I'm doing far more node these days. Sometimes I do miss it, but usually not so much.
- cptskippy 11y agoI really appreciate the effort Microsoft puts into documentation and reference materials. I think this is what sets them apart from everyone else.