Live data from Hacker News

.NET 6 is now in Ubuntu 22.04

devblogs.microsoft.com

181–190 of 351 posts

Re: .NET 6 is now in Ubuntu 22.04

#181

A fully devoted Linux developer here that never touched Windows' ecosystem(.NET, Visual C++, win32 api, all those), any reason for me to jump on .NET? where does this runtime run(x86/windows, now linux, what about MacOS, and embedded systems), and what's the selling point(web framework in c++ like language? a better c++/java?) https://learnxinyminutes.com/docs/csharp/ it looks more like Java than c++ to me. On a diff…

It runs on Windows, Mac, and Linux x86/x64/Arm64

The main target is enterprise software systems and web backends. Asp.Net is a very mature framework for Web APIs and MVC applications.

Entity Framework is a decent ORM solution supporting several popular DBs with tools for code generation and migrations, and LINQ is a complementary query language that is useful for in-memory collection operations as well as db queries.

And I think the largest value is in the NuGet software library ecosystem, things like MassTransit for service bus and queue communication and many many others.

It’s a well-supported ecosystem of first party and third party software with a lot of modern features, but definitely still in the realm of managed runtimes so not a competitor to C, Rust, etc.

Re: .NET 6 is now in Ubuntu 22.04

#182

A fully devoted Linux developer here that never touched Windows' ecosystem(.NET, Visual C++, win32 api, all those), any reason for me to jump on .NET? where does this runtime run(x86/windows, now linux, what about MacOS, and embedded systems), and what's the selling point(web framework in c++ like language? a better c++/java?) https://learnxinyminutes.com/docs/csharp/ it looks more like Java than c++ to me. On a diff…

I've spent most of my career in Java and there are certainly some things that C# (I know, somewhat tangential to .NET at this point, but still relevant) does better. E.g. if I want to use declarative style to describe something I want out of a data structure, I'd much rather use LINQ than Streams.

Re: .NET 6 is now in Ubuntu 22.04

#184
post #123
post #34

Meh. In the end, Microsoft will betray those who trusted it. Long term, better just to pretend it does not exist and never, ever depend on anything with Microsoft name on it.

Well I guess everyone should migrate their open source projects off github. Any day now...

Long since done.

Re: .NET 6 is now in Ubuntu 22.04

#185
post #168

Earlier quoted context omitted.

it's always the same debian / ubuntu package mess. moving to Arch has made this specific headache entirely go away

On an opposing note, updating my Arch system (pikaur -Syu) recently wanted to install Electron 20 and remove Electron 19, which the element-desktop package was still depending on. I wasn't using it so that's an easy uninstall. But there's nothing inherent about Arch that prevents these issues from popping up every now and then.

> On an opposing note, updating my Arch system (pikaur -Syu) recently wanted to install Electron 20 and remove Electron 19,

hm that's weird, with yay it only ever adds new electron versions, never removes the old ones. e.g. there's electron12 to 20 in the repos and they can be installed side by side

Re: .NET 6 is now in Ubuntu 22.04

#186
post #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.

The word you're looking for is "vow".

Re: .NET 6 is now in Ubuntu 22.04

#187
Does it come with telemetry enabled by default[1] as the Microsoft binaries do? Or does the Ubuntu version either remove that code or make sure to set the DOTNET_CLI_TELEMETRY_OPTOUT environment variable everywhere?

If "Canonical and Microsoft are committed to working together", probably the former.

[1] https://docs.microsoft.com/en-us/dotnet/core/tools/telemetry

Re: .NET 6 is now in Ubuntu 22.04

#188

Had to fix a bug in a hobby app that uses .NET Core for its backend last evening. I miss working in this ecosystem daily (back to node and rails for work), it's such a pleasure. The best developer experience I've ever had. If anyone is hiring and you use .NET... :)

I'm not sure where you're located, but feel free to send me an email (it's in my profile.)

Re: .NET 6 is now in Ubuntu 22.04

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

> Looking for a really good reason to make the jump

Not having to pay for Windows Server licences?

Better start-up performance, likely better overall performance, less resource usage.

Assuming these are specific Windows calls, moving to something more cross-platform you could open development to colleagues with Mac or Linux machines (via VS Mac, JetBrains Rider or VS Code) if there are any.

Options to use Kubernetes or deploy to container services that run on Linux

A few reasons.

Re: .NET 6 is now in Ubuntu 22.04

#190
post #114

Earlier quoted context omitted.

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.

Your rubicon is about 5 years out of date. VS Code and Rider are excellent tooling for .Net on or off Windows OS.

This is not quite true on an M1 Mac. The VS Code C# extension only supports .NET Core, and the latest and deprecated release 3.1 has no ARM build. .NET 6 does, but is somehow unsupported.

To me, it's clear Microsoft wants to force people to use VisualStudio over VSCode. Likely not an issue for a .NET shop, but it's yet more shenanigans by Microsoft

Post reply on HN