Live data from Hacker News

.NET 6 is now in Ubuntu 22.04

devblogs.microsoft.com

91–100 of 351 posts

Re: .NET 6 is now in Ubuntu 22.04

#91

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.

Not everybody's company is going to pay for a license if they already are licensing Visual Studio for everyone.

As an individual, I only have a little bit of time to tinker with personal projects, and while I like C#/.NET so far, I'm not yet at the point where I feel comfortable paying for Rider's subscription. So I'm also mostly using VS2022 Community and VS Code (on macOS) so far. Hoping to eventually get to a point where paying for Rider becomes a no brainer.

Re: .NET 6 is now in Ubuntu 22.04

#92
post #73
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.

I have debugging in Rider (JetBrains' .NET IDE), what nuance am I missing about the debugger argument? Other than Rider also being a paid product, I guess.

JetBrains had to reimplement their own debugger to get around this.

And that one isn't usable outside of Rider either.

Re: .NET 6 is now in Ubuntu 22.04

#93
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…

I just jumped on the .NET Core gravy train after 6+ years of Ruby on Rails development. I feel so productive and confident working with .NET. Ill be riding this rollercoaster with you for a while!

Any interest in doing a short comparison? As in, why are you in no rush to switch back to rails? Any features you miss from rails? (edit: register beat me to it. I'll leave my post as a +1)

Re: .NET 6 is now in Ubuntu 22.04

#94
post #16

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

I use a VPS. The strange thing is one site never drops a connection and another one does. I'm not sure if its the physical location or my config but one of the two instance works very well. Its a $5 VPS too

Re: .NET 6 is now in Ubuntu 22.04

#95

Seems like great news but I wonder if these releases help the .NET ecosystem in a meaningful anyway. Almost all .NET developers I know still use Windows even on cloud.

I was talking with a Microsoft employee that works in azure. Something like 60% of their VMs are Linux.

I met a guy a while back who did stints for both Amazon and Azure orgs.

It's the reverse in AWS, they have a bit more Windows market share than Linux. And he also backed up your statement.

His take (which was just his speculation) was that the virtualization stacks ran those OS's more efficiently. HyperV with Linux VM's and KVM with Windows VM's. I have no idea if that's true or not.

Re: .NET 6 is now in Ubuntu 22.04

#96
post #40

Earlier quoted context omitted.

I think the .NET Core model is probably fine for web apps, but I literally laugh at the idea anyone would deploy desktop software with it: The .NET team's idea of an "LTS" version is 3 years, which is an absolute joke. If you continue to use .NET Framework 4.8, your software will receive security updates until the heat death of the universe , too much, including Windows itself, depends on it. (Same, hilariously, with…

> too few selling points There are significant performance improvements, and the new language features of C# depend on the later versions - that might not be such a big deal, but it will become more acute as the language improves.

You can get most of the new language features to work with .Net Framework by overriding the LanguageVersion in the build. I did this to get nullable type annotations and pattern matching to work when I inherited a .Net Disaster.

There are a few that require compiler interop which don't work, like using new syntax on records for specifying the fields (e.g., "record A(int a, int b)").

Re: .NET 6 is now in Ubuntu 22.04

#97
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.

I don't know.

I don't like Visual Studio and haven't touched it since I realized VS Code worked fine.

(I'm more of an Eclipse/NetBeans/VS Code kind of person.)

Re: .NET 6 is now in Ubuntu 22.04

#98

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…

SOAP as in WCF? If so then there is now a WCF port out now: https://github.com/CoreWCF/CoreWCF

Re: .NET 6 is now in Ubuntu 22.04

#100
post #46

Earlier quoted context omitted.

JetBrains Rider on Ubuntu/Mac is probably a better development experience than Visual Studio on Windows.

As long as it's not a desktop application that requires WPF.

WPF won’t run on linux, so that’s not in question either way.
Post reply on HN