Live data from Hacker News

What Makes .NET Core So Special?

blog.jamesmichaelhickey.com

71–80 of 247 posts

Re: What Makes .NET Core So Special?

#71
post #53
post #32

I moved all my indie projects from .net to .net core, so i get the same development model i know and love, but can host on linux.

how hard is it to port an existing mono application to .net core for linux? does .net core run stable on linux ? I am thinking of a particular open source server application written for .net/mono: opensimulator.

> does .net core run stable on linux

Can't say that I've used in production on Linux, but everything I've seen so far for .NET Core on Linux seemed fine and .NET overall as a platform has been historically pretty solid. It would be strange if it would be really flaky in production with all the engineering resources Microsoft is pouring into it.

And despite all the hate, Microsoft does have great engineers and great engineering processes in most core teams (Windows, Office, .NET, Visual Studio). They're held down most of the time by legacy stuff, management and marketing, but that's a bigger discussion.

Re: What Makes .NET Core So Special?

#72

.NET Core and F# are the only reasons why I still develop .NET. I really hope the platform can break out of the Microsoft silo and attract talent from other dev communities, because the biggest problem with .NET Core, despite the whole OSS move, is still that the majority of C# developers let themselves happily trap by the Microsoft marketing machinery. The average .NET developer never even tries different things lik…

Why should I try AWS and pay twice the price I pay in any traditional hosting provider? Don't drink the HN koolaid and thing that trying the latest and greatest will give you any real benefit. The good thing about .NET or Java or any of these seemingly uncool technologies is that they're tried and tested and work just fine.

The real problem with developing in .NET is Windows. Everything else is stellar. Hopefully at some point in the not so distant future Visual Studio will run on Linux and then we will all move to greener pastures.

Re: What Makes .NET Core So Special?

#73
I’m in the process of porting a bunch of go code to dotnet core 2.1 on AWS lambda. I’m on a Mac using vscode. I never installed mono, just the dotnet sdk.

Honestly, I’ve been amazed at how good the tools have been. For cli and serverless dev, it’s been surprisingly great. It’s fast. C# is decent. The cold starts are not as fast as go, but not terrible. Memory usage is low.

It’s been a legitimately positive experience. When I started the port I was skeptical, but it is legit cross-platform. I would consider starting a project in it for lambda... I never thought I’d say that about a MS product.

Something over there is different, and I suppose it has been for awhile. I think it could get a lot more popular as non-ms devs realize that MS has built dotnet to work really well on Mac/Linux cli, far away from the weird tightly-coupled Windows/VisualStudio-hit-f5-to-do-the-magic-with-the-15-billion-auto-generated-magical-xml-files world. It feels well engineered instead of thrown together, which is nice.

Also, So far, I’ve pulled in no external libs other than the AWS sdk for the port either. C# with linq is a pretty complete toolset. I’m sure I’ll pull in more as I get more familiar, but it’s been solid on its own. Really nice surprise.

Re: What Makes .NET Core So Special?

#74

I’m in the process of porting a bunch of go code to dotnet core 2.1 on AWS lambda. I’m on a Mac using vscode. I never installed mono, just the dotnet sdk. Honestly, I’ve been amazed at how good the tools have been. For cli and serverless dev, it’s been surprisingly great. It’s fast. C# is decent. The cold starts are not as fast as go, but not terrible. Memory usage is low. It’s been a legitimately positive experience…

Devdiv (org that builds .NET, C#, VC++, VS etc) has always been one of the top notch organizations within Microsoft with great engineers (although from what I hear, some of them have left recently). Nonetheless, as someone who now works at a company with an open source tech stack, I sorely miss the tooling I had when I worked at Microsoft.

Re: What Makes .NET Core So Special?

#75
When I try to run a random .Net exe file with dotnet core it will complain about libhostpolicy.so dependency missing.

I understand that it is not supposed to run .exe files (no idea why, okay), but overall it sounds like awful usability.

Re: What Makes .NET Core So Special?

#76
post #35
post #20

Earlier quoted context omitted.

You can use the DI stuff without ASP.Net Core though?

Yes, you can. If you don't need anything fancy (in that case you are better off with autofac), then you can just add the nuget to your console app and start using it with a few lines of code.

to be fair autofac is not really needed in most projects.

you can even write a bunch of lines that will automatically register all your controller dependencies. (of course autofac makes this more simple). but I actually prefer explicit registration (i had the implicit variant on guice and as soon as the project was big, implicit is a mess).

Re: What Makes .NET Core So Special?

#77
post #53
post #32

I moved all my indie projects from .net to .net core, so i get the same development model i know and love, but can host on linux.

how hard is it to port an existing mono application to .net core for linux? does .net core run stable on linux ? I am thinking of a particular open source server application written for .net/mono: opensimulator.

> does .net core run stable on linux

it's probably more stable on linux than if you host in inside iis. hosting in iis is a pita btw. it's easier on windows to create a service and proxy it inside iis (if you need multiple different applications). however compared to just systemd+dotnet+nginx it's way harder to debug if something goes bogus.

Re: What Makes .NET Core So Special?

#78
post #72

.NET Core and F# are the only reasons why I still develop .NET. I really hope the platform can break out of the Microsoft silo and attract talent from other dev communities, because the biggest problem with .NET Core, despite the whole OSS move, is still that the majority of C# developers let themselves happily trap by the Microsoft marketing machinery. The average .NET developer never even tries different things lik…

Why should I try AWS and pay twice the price I pay in any traditional hosting provider? Don't drink the HN koolaid and thing that trying the latest and greatest will give you any real benefit. The good thing about .NET or Java or any of these seemingly uncool technologies is that they're tried and tested and work just fine. The real problem with developing in .NET is Windows. Everything else is stellar. Hopefully at…

1st million calls on lambda are free... then ~$1.80/million calls/month after that. No ops once you deploy... like none. Dotnet runs on it fine after being written on a Mac, with code completion and linq hints etc. No visual studio in site. I didn’t even install mono.

Your uncool technologies might be cooler than you think. ;)

Re: What Makes .NET Core So Special?

#79
Makes me sick that thepp1983's comment was censored for no reason. Sure he made an account to make the comment, but didn't we all at some point? He seems to have experience in the area - why are his words so offensive to you admins? You need to answer for your beligerant censorship across HN. It is entirely gratuitous. As usual, you've prevented people from supporting his comment by killing it - which allows you to fraudulently and prematurely claim that no one supports his view.

Re: What Makes .NET Core So Special?

#80
Besides Node.js the main competitor is is Java/JVM. C# is a bit nicer than Java, but you can use Kotlin or Scala on the JVM. All in all I see no real advantage over the JVM/Java world - more of the other way around, since the .Net ecoystem is not as big as the JVM ecosystem. However competition is always good.
Post reply on HN