3 ms·
Ask HN: What is it like developing and deploying ASP.NET on Linux?
Dear all,
I'm investigating possible languages and ecosystems to develop a commercial web application. I'm reasonably familiar with Java but work in C# for my day job, so these are the two languages that I'm considering.
For a variety of reasons, I wish to build an entirely Linux server side. I'd like to hear your experiences running ASP.NET on Linux. Would you recommend it? Would I run into problems and frustrations because the ecosystem is still slanted towards Windows?
The main reasons in my mind to use .net are C#, the Entity Framework (ORM, DB migrations), and the Blazor templates.
But perhaps, if the Java ecosystem has good enough analogues and is better supported on Linux that might be the way to go.
Any thoughts or anecdotes will be appreciated.
- bpmedley 4y agoI hosted a small site with .Net 5 and Linux. Works real well! You can use systemd, but I used supervisor. Hosting a larger site or a saas would be even better..
- jessikat 4y agoI've had zero issues deploying .Net on Linux, whilst developing in Windows. The docker support is really good, if you want to go that way too, and didn't need any platform-specific shenanigans to get working.
- superchroma 4y agoIt has been very easy, I have had no complaints.
- novantadue 4y agonamedpipes didn't work on linux last I checked, but that's fairly insignificant.