Hacker News new | ask | show | jobs
Ask HN: What's preventing you from using .NET?
3 points by aredirect 916 days ago
I had the chance to do research on C#, F#, .NET (I must admit, I'm still confused with all the various names and versions), and ASP.NET (core?). I genuinely find the technology stack intriguing and am considering using it in a few side projects. If things progress well, I might propose it to my employer. What factors are hindering your adoption of .NET? Is it because of the Microsoft label? concerns about the desktop GUI support? License? Could it be related to tooling, or are software requirements and packaging considerations playing a role? or something else?
3 comments

That it should work flawlessly on Linux. That it should be deployable without any "enterprise application container" or server software that requires specific licensing.

And that it should have first class developer and IDE tooling on every platform.

All of the above are actually true for Go, Rust, Python, PHP, Ruby, NodeJS etc but I'm no so sure that application development and deployment experience on Linux for .NET would be as first class, battle tested and widely documented.

For me, development+deployment for backend services, Linux is non-negotiable.

Can you give more specific examples where deploying to Linux does not work? I use AoT compiling with static linking to have one binary - which can be copied and executed like any other Linux binary.

https://learn.microsoft.com/en-us/dotnet/core/deploying/nati...

Because my lack of experience in the subject matter, I'm afraid I can't be more specific rather can only speculate.

AOT sounds great but what matters to me is that I cannot afford a Windows machine. For me, developer tooling must be first class citizen on Mac and Linux, equally.

I'm not up to date on that either.

I think on that front you would be fine too, they have a decent cli which also runs on Linux. You can use VS Code for editing or jetbrains rider ide.

https://learn.microsoft.com/en-us/dotnet/core/install/linux

You are either doing something completely wrong or I don't know what, but I'm ran/running extremely large enterprise applications in fortune ~50 company & smaller companies in .Net Core on Linux with no issues since 2017. In AWS EKS, Azure, on premise Kubernetes.
The fact that I see no incentive or 'raison d'etre' to use it to start with?

The question is a bit like "Why aren't you using a bulldozer to drive to work?" or "What's preventing you from wearing running spikes around the office?"

This is admittedly more a social opinion, but except for one social enterprise job, Unity, and Microsoft, every job posting I can remember and every recruiter who has sent me a C# job has been from a crappy tech body shop, a tech consulting shop, or somewhere where technical decision making clearly starts and ends with whatever the salesperson from Microsoft has to sell.

So a major reason I don't consider it for anything is that few places where I might like to work seem to use it while the low paying and non-technical corporate places seem to love it. Anecdotally in my network, people say the language is fine, but, and there is nearly always a "but", they mention Microsoft and being tied to Azure.