News for hackers. Stuff that matters.
Re:Browse the .NET Framework source code online by taspeotis on Thursday November 12, 2015 @09:04PM (#10557599)
Can someone put 2014 on this?

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

I think http://referencesource.microsoft.com/ might even be a little bit older.

Re:Browse the .NET Framework source code online by zuck9 on Friday November 13, 2015 @01:16AM (#10558283)
sourceof.net redirects to referencesource.microsoft.com
Re:Browse the .NET Framework source code online by runfaster2000 on Friday November 13, 2015 @01:39AM (#10558327)
It'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 and http://dotnet.github.io

I'm a .NET team member at Microsoft.

Re:Browse the .NET Framework source code online by nicolapede on Friday November 13, 2015 @04:50AM (#10558893)
Correct 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)?
Re:Browse the .NET Framework source code online by edgyswingset on Friday November 13, 2015 @11:05AM (#10560514)
Yes, that's correct.
Re:Browse the .NET Framework source code online by voltagex_ on Thursday November 12, 2015 @10:15PM (#10557815)
Does anyone know if you're still allowed to contribute to ReactOS/Mono/WINE after reading this?
Re:Browse the .NET Framework source code online by rodrigokumpera on Thursday November 12, 2015 @10:50PM (#10557912)
Yes, the code is MIT licensed. Check it on github: 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.

Re:Browse the .NET Framework source code online by Frondo on Friday November 13, 2015 @12:11AM (#10558133)
I'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!

Re:Browse the .NET Framework source code online by itsboring on Friday November 13, 2015 @02:29AM (#10558445)
I 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.
Re:Browse the .NET Framework source code online by pjmlp on Friday November 13, 2015 @03:44AM (#10558670)
Are you guys using OpenTK?
Re:Browse the .NET Framework source code online by itsboring on Friday November 13, 2015 @04:57AM (#10558926)
Yeah, 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.
Re:Browse the .NET Framework source code online by pjmlp on Friday November 13, 2015 @05:19AM (#10558998)
I stopped paying attention when the development stood still for a while, hence my question.

Thanks for the feedback.

Re:Browse the .NET Framework source code online by jpobst on Friday November 13, 2015 @12:10AM (#10558128)
It 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.

Re:Browse the .NET Framework source code online by voltagex_ on Thursday November 12, 2015 @10:53PM (#10557922)
Thanks - 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?
Re:Browse the .NET Framework source code online by ghuntley on Thursday November 12, 2015 @11:26PM (#10557999)
It was alluded to that this change was coming back in May 2014 https://www.mail-archive.com/ozdotnet%40ozdotnet.com/msg1072... and then on Nov 2014 it landed -> https://www.mail-archive.com/[email protected]/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

Re:Browse the .NET Framework source code online by pjmlp on Friday November 13, 2015 @03:43AM (#10558667)
Thanks 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).

Re:Browse the .NET Framework source code online by ghuntley on Thursday November 12, 2015 @11:27PM (#10558000)
Here's the trello board which is tracking the code replacement - https://trello.com/b/vRPTMfdz/net-framework-integration-into...
Re:Browse the .NET Framework source code online by ghuntley on Thursday November 12, 2015 @11:29PM (#10558005)
Re:Browse the .NET Framework source code online by cptskippy on Friday November 13, 2015 @09:21AM (#10559958)
I really appreciate the effort Microsoft puts into documentation and reference materials. I think this is what sets them apart from everyone else.
Re:Browse the .NET Framework source code online by elorant on Friday November 13, 2015 @08:01AM (#10559562)
Any chance for previous versions? Namely .NET 4.0.
Re:Browse the .NET Framework source code online by tracker1 on Friday November 13, 2015 @11:07AM (#10560530)
A 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.
Re:Browse the .NET Framework source code online by elorant on Friday November 13, 2015 @01:56PM (#10561659)
I mean any chance of viewing source files for .NET 4.0.
Re:Browse the .NET Framework source code online by nvivo on Friday November 13, 2015 @05:45PM (#10562879)
I 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.

Re:Browse the .NET Framework source code online by tracker1 on Saturday November 14, 2015 @06:36PM (#10567788)
I 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.