Live data from Hacker News

.NET 6 is now in Ubuntu 22.04

devblogs.microsoft.com

51–60 of 351 posts

Re: .NET 6 is now in Ubuntu 22.04

#52
post #16

Where do you host your .net projects? I am especially interested in anything other than azure webapp and VM's/IIS.

Package as a Docker container and run on any host. I've used everything from digitalocean VMs to Kubernetes across all major clouds.

Yep, both AWS and GCP have been fine.

Re: .NET 6 is now in Ubuntu 22.04

#53
post #30

Earlier quoted context omitted.

.Net has run better on Linux (edit: better than on Windows) machines since at least before the pandemic. I'm a Java dev, but I have also developed on .Net and running modern .Net on Linux is about as simple as it get.

Does visual studio run on linux yet? That's my rubicon for taking .net seriously. It's not just about the runtime, the tooling has to be present as well.

That would be Visual Studio Code then. Runs just fine on Linux, yes.

Re: .NET 6 is now in Ubuntu 22.04

#54
post #19

Earlier quoted context omitted.

Cost... linux images should be a fraction of the cost of a Windows image. Unless, of course, you're using Azure, where they subsidize the cost of SQL Server by charging more for linux boxes/containers.

For most businesses with less than a hundred instances, the cost is negligible and probably is cheaper than the companies Slack bill.

Windows server licenses[1]!? Even looking at EC2 it's nearly 3x more expensive to run Windows than Linux, at a glance[2].

[1]: https://www.microsoft.com/en-us/windows-server/pricing?rtc=1 [2]: https://parquantix.com/linux-windows-aws-cost-comparison/

Re: .NET 6 is now in Ubuntu 22.04

#55
post #32

Microsoft seems like "a house divided" when it comes to opening .NET. They open source the core language, but have different proprietary dev tools (debugging for one) you need to pay for. https://isdotnetopen.com/ goes over these in more detail, but I'd rather use an ecosystem where I don't have to worry things will be progressively locked down in the future.

The debugger is part of Visual Studio, which is a paid product. I don’t think it’s unreasonable to not publish the source for it.

Re: .NET 6 is now in Ubuntu 22.04

#56
post #2

It has been rumored for years that Microsoft might acquire Ubuntu. This is an interesting move though not proof of any such future merger. All of that said, it would be nice if Microsoft had the same level of cooperation with Fedora and another distro or two as well. (And where the hell is support for .NET Core on FreeBSD???)

> Microsoft might acquire Ubuntu

That would make a lot of sense, despite the backlash it would generate.

Remember when they acquired GitHub, developers were vouching to move over to GitLab. Yet very few did.

The same would probably happen if they acquire Ubuntu. Developers would vouch to move to another distribution, yet few will, because Ubuntu is so much nicer to use than the competition.

Re: .NET 6 is now in Ubuntu 22.04

#57

I've recently been working with a C# app that's based on a nearly out of support .net 3.X version I think. It's fully inherited from a tech partner, but we have free reign to modify it as needed. I was excited to try and port it from a Windows only older .net app to .net core 6, but unfortunately too much of it doesn't have a simple to port to equivalent in .NET 6 and it would require us to completely rewrite it. Thi…

> I think at this point my last real major gripe with .NET is Visual Studio.

I don't understand - what's stopping you from using JetBrains Rider? I use it and I work on some pretty ancient .NET projects from time to time.

Re: .NET 6 is now in Ubuntu 22.04

#58
post #19
post #3

The .NET ecosystem is giving me a lot of confidence these days. I've been on this rollercoaster since .NET Core 2.x and don't think I will be getting off any time soon. We recently upgraded from 3.1 to 6, which was a total non-event. The code base that was around for Core 2.x is still the same one we have today. Some substantial changes made to the web interfaces and hosting, but nothing in the business logic or data…

Cost... linux images should be a fraction of the cost of a Windows image. Unless, of course, you're using Azure, where they subsidize the cost of SQL Server by charging more for linux boxes/containers.

I would not say the cost is a fraction. The cost of the machines are certainly a fraction reduced.

Re: .NET 6 is now in Ubuntu 22.04

#60
post #2

It has been rumored for years that Microsoft might acquire Ubuntu. This is an interesting move though not proof of any such future merger. All of that said, it would be nice if Microsoft had the same level of cooperation with Fedora and another distro or two as well. (And where the hell is support for .NET Core on FreeBSD???)

I would have expected .NET's core demographic to be mostly CentOS and RHEL users. But I imagine Microsoft really wants you to run your workloads in Azure instead of on-premise, and Ubuntu fits that model better.

>I would have expected .NET's core demographic to be mostly CentOS and RHEL users.

Why? There is nothing "Enterprisey" about .NET Core. It's a perfect fit for both fast-moving startups and big enterprises.

Post reply on HN