Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I didn't understand what was behind your second paragraph, my searches lead me to:

https://msdn.microsoft.com/en-us/magazine/dn879354.aspx

"Mono: The Mono CLR enables you to develop and run ASP.NET 5 apps on a Mac or Linux device."



Mono is an open source initiative that is not what I was referring to.

Please check out https://github.com/dotnet/coreclr and https://github.com/dotnet/roslyn and check the licenses of both. Mono has been lifting large chunks of the MS .NET core libraries over to their implementation because MS has done a lot of work on performance. You can download a Microsoft published source code, and build it, so that you can use the CLR family of languages on Linux and OSX.

But none of this has anything to do with cool demos like debugging executables running inside docker. That's a whole different and really cool thing they were working on.


But which OS is run in the Docker? If Linux, then I've only seen ASP.NET 5 via Mono. Core CLR is a runtime library, Roslyn a compiler, but can they be used on Linux at all and are they enough? According to the material I've linked, it's Mono for ASP.NET 5 on Linux.

How do you think it's done? I understand they debug the instances from a Windows 10, but what runs in the instances? "C#" must run on something, if the instances are Linux, how then C# runs in their examples?


> but can they be used on Linux at all and are they enough?

Yes, certainly. You can use a tool like https://github.com/unosquare/embedio the way many java developers do.

ASP.NET 5 is not the only option by any means, but if that's your poison then yeah, Mono can do it.

> How do you think it's done?

I suspect there are opened ports for a remote debugging, but maybe it's even fancier. Docker and MS have been working together for the better part of a year.


These guys here tried Docker with Mono on Linux, found it unstable, and announced they will wait for Core CRL to be "production-ready" to try it too:

https://www.ctl.io/developers/blog/post/aspnet5linuxdocker

The RC of Core CRL was on 18th November:

http://blogs.msdn.com/b/dotnet/archive/2015/11/18/announcing...


I'm not sure why this entire conversation revolves around ASP.NET when they're are many other alternatives but thanks for the info.


> they're are many other alternatives

What are the alternatives for C# on Linux that you'd prefer, use or would like to use? Especially as you mentioned, to be used in Docker? Thanks in advance.

I also posted that I haven't even found any sources that confirm the state of the current Core CRL on Linux being "production-ready," Microsoft also documenting Mono, and I hoped you'd give me your experience.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: