TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

.NET 6 is now in Ubuntu 22.04

371 pointsby styx31almost 3 years ago

27 comments

bob1029almost 3 years ago
The .NET ecosystem is giving me a lot of confidence these days. I&#x27;ve been on this rollercoaster since .NET Core 2.x and don&#x27;t think I will be getting off any time soon.<p>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 models was impacted.<p>We currently use Self-Contained Deployments to Windows machines, but there are only 2 minor methods stopping us from using a Linux image as well. Looking for a really good reason to make the jump, but I can&#x27;t justify it to the business yet.
评论 #32485958 未加载
评论 #32482572 未加载
评论 #32483064 未加载
评论 #32482789 未加载
评论 #32484342 未加载
评论 #32489154 未加载
评论 #32496895 未加载
评论 #32492552 未加载
评论 #32484119 未加载
bbkanealmost 3 years ago
Microsoft seems like &quot;a house divided&quot; 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.<p><a href="https:&#x2F;&#x2F;isdotnetopen.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;isdotnetopen.com&#x2F;</a> goes over these in more detail, but I&#x27;d rather use an ecosystem where I don&#x27;t have to worry things will be progressively locked down in the future.
评论 #32484083 未加载
评论 #32483285 未加载
评论 #32483397 未加载
评论 #32483360 未加载
cabirumalmost 3 years ago
Meh. In the end, Microsoft <i>will</i> 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.
评论 #32483554 未加载
评论 #32483882 未加载
评论 #32483454 未加载
评论 #32484132 未加载
评论 #32489291 未加载
评论 #32483341 未加载
评论 #32483404 未加载
评论 #32483998 未加载
andrewstuartalmost 3 years ago
As a recruiter, it is clear that the most successful languages still growing in popularity in 2022 are:<p>C#<p>JavaScript&#x2F;TypeScript<p>Python<p>Edit: golang is small in terms usage but is on the way up definitely<p>All the rest are in decline or remaining at a constant level of acceptance.<p>So if hiring &#x2F; recruiting is important, use C# or TypeScript or Python.<p>If you want to cause yourself deep hiring&#x2F;recruiting pain, build your systems with Ruby or use lesser known frameworks and languages such as Erlang&#x2F;Elixir.<p>C# seems like an excellent choice for Linux based development - it&#x27;s mature, there&#x27;s a vast talent pool, theres vast knowledge and community resource for getting problems and questions answered.
评论 #32488704 未加载
评论 #32489074 未加载
ZeroCool2ualmost 3 years ago
I&#x27;ve recently been working with a C# app that&#x27;s based on a nearly out of support .net 3.X version I think. It&#x27;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&#x27;t have a simple to port to equivalent in .NET 6 and it would require us to completely rewrite it. This is all because it&#x27;s a SOAP client, so I&#x27;m happy to forgive Microsoft for not spending too much time there. We don&#x27;t have any control over that part either. It&#x27;s the only thing in our entire infrastructure that runs on Windows and costs multiples of just about anything else we&#x27;ve got running, because of the Windows license. Huge bummer. We did get it streaming our data into BigQuery though, so that was cool to see work so well even on an older code base.<p>I think at this point my last real major gripe with .NET is Visual Studio. I&#x27;ve used it on and off over the years, but every time I get back into it, it&#x27;s just so much mental overhead to try and understand how the hell things are organized. It&#x27;s like jumping into an ice bath coming from JetBrains&#x2F;VS Code land. Just really unpleasant, but I don&#x27;t think I&#x27;ll be able to get away from it with this older C# code base.<p>Somewhat unrelated. I really wish Microsoft would improve the install&#x2F;packaging story for their C++ build tools on Windows. Trying to guide your IT department on how to install specific compiler versions to get TensorFlow&#x2F;PyTorch and more importantly other less popular Python packages that require you to build from scratch on Windows has been a nightmare for so long. It&#x27;s one of the things I mostly singularly dread dealing with. I really wish we could just enable the dev&#x2F;compiler tool chain support without requiring admin credentials and have it be fully automated instead of trawling around the nightmarish Microsoft downloads site.
评论 #32483686 未加载
评论 #32483335 未加载
评论 #32483293 未加载
评论 #32484174 未加载
lucidonealmost 3 years ago
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&#x27;s such a pleasure. The best developer experience I&#x27;ve ever had. If anyone is hiring and you use .NET... :)
评论 #32483377 未加载
评论 #32492346 未加载
评论 #32485923 未加载
lol768almost 3 years ago
For reasons currently unclear to me, installing this seems to cause apt to remove Discord.<p><pre><code> The following packages have unmet dependencies. libc++1-14 : Depends: libunwind-14 (&gt;= 1:14.0.0) but it is not installable libc++abi1-14 : Depends: libunwind-14 (&gt;= 1:14.0.0) but it is not installable E: Unable to correct problems, you have held broken packages.</code></pre>
评论 #32483431 未加载
评论 #32483856 未加载
评论 #32483912 未加载
MarkSweepalmost 3 years ago
I wonder if this opens the door for .NET applications to be included in Ubuntu? Neither this blog post nor Ubuntu’s [1] mention that as a possibility.<p>Just thinking from a Ubuntu package level, where libraries live in packages separate from executables, it might be possible to create library packages using the result of ‘dotnet store’. Then executable packages could reference them when running ‘dotnet publish’. [2] That way multiple executable packages could share common libraries.<p>Replicating the packages of a language package manager (Nugget in this case) into a system package manager (apt in this case) is probably not fun. You will end up with dependency nightmares or one system package per version of Nugget package. So maybe it’s not worth doing.<p>[1]: <a href="https:&#x2F;&#x2F;ubuntu.com&#x2F;blog&#x2F;install-dotnet-on-ubuntu" rel="nofollow">https:&#x2F;&#x2F;ubuntu.com&#x2F;blog&#x2F;install-dotnet-on-ubuntu</a><p>[2]: <a href="https:&#x2F;&#x2F;docs.microsoft.com&#x2F;en-us&#x2F;dotnet&#x2F;core&#x2F;deploying&#x2F;runtime-store" rel="nofollow">https:&#x2F;&#x2F;docs.microsoft.com&#x2F;en-us&#x2F;dotnet&#x2F;core&#x2F;deploying&#x2F;runti...</a>
评论 #32487909 未加载
评论 #32484886 未加载
评论 #32496006 未加载
评论 #32484158 未加载
mikecealmost 3 years ago
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.<p>(And where the hell is support for .NET Core on FreeBSD???)
评论 #32482599 未加载
评论 #32482709 未加载
评论 #32483289 未加载
评论 #32482631 未加载
评论 #32482622 未加载
评论 #32482687 未加载
评论 #32483312 未加载
评论 #32482594 未加载
ptxalmost 3 years ago
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?<p>If &quot;Canonical and Microsoft are committed to working together&quot;, probably the former.<p>[1] <a href="https:&#x2F;&#x2F;docs.microsoft.com&#x2F;en-us&#x2F;dotnet&#x2F;core&#x2F;tools&#x2F;telemetry" rel="nofollow">https:&#x2F;&#x2F;docs.microsoft.com&#x2F;en-us&#x2F;dotnet&#x2F;core&#x2F;tools&#x2F;telemetry</a>
评论 #32487822 未加载
评论 #32486176 未加载
game_the0ryalmost 3 years ago
Question for the experienced .net folks - how is the dev experience of .net on linux vs .net on windows? Is it smooth or clunky?<p>Pretty cool and interesting that a big linux vendor is on board with .net.
评论 #32485169 未加载
评论 #32487658 未加载
评论 #32486843 未加载
评论 #32487227 未加载
bariskayaalmost 3 years ago
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.
评论 #32482719 未加载
评论 #32483193 未加载
评论 #32482774 未加载
评论 #32483239 未加载
评论 #32483463 未加载
评论 #32483500 未加载
评论 #32483104 未加载
评论 #32482804 未加载
评论 #32482981 未加载
评论 #32482782 未加载
评论 #32484109 未加载
评论 #32484095 未加载
synergy20almost 3 years ago
A fully devoted Linux developer here that never touched Windows&#x27; ecosystem(.NET, Visual C++, win32 api, all those), any reason for me to jump on .NET? where does this runtime run(x86&#x2F;windows, now linux, what about MacOS, and embedded systems), and what&#x27;s the selling point(web framework in c++ like language? a better c++&#x2F;java?)<p><a href="https:&#x2F;&#x2F;learnxinyminutes.com&#x2F;docs&#x2F;csharp&#x2F;" rel="nofollow">https:&#x2F;&#x2F;learnxinyminutes.com&#x2F;docs&#x2F;csharp&#x2F;</a><p>it looks more like Java than c++ to me.<p>On a different note, I will state this again: I think microsoft will acquire Canonical one day.
评论 #32486647 未加载
评论 #32485846 未加载
评论 #32485858 未加载
评论 #32490875 未加载
评论 #32486290 未加载
ChrisRRalmost 3 years ago
I don&#x27;t keep up with desktop dev, but can I develop a Linux UI using C# and .NET yet?
评论 #32483232 未加载
评论 #32484187 未加载
评论 #32483694 未加载
评论 #32485184 未加载
评论 #32483266 未加载
nikanjalmost 3 years ago
Young me would’ve lost a good bottle of Scotch over this headline - especially coming straight from Microsoft.<p>The times sure have changed
评论 #32487656 未加载
评论 #32486501 未加载
turtlebitsalmost 3 years ago
I still feel Microsoft development experience is pretty poor and has been sometimes hostile in the past, and still don&#x27;t have much confidence nowadays.<p>Maybe because it&#x27;s not a popular language, but the F# experience for me has been bad - tried it two years ago with F# 5, and recently with F# 6. The documentation in both cases was immature&#x2F;inconsistent to broken.
评论 #32492405 未加载
评论 #32489547 未加载
评论 #32489419 未加载
samuellalmost 3 years ago
Moved to Debian 11 after (X)ubuntu moved to snap packages.<p>Anybody knows if this affects the ease of installing on Debian 11 in any way?
评论 #32486127 未加载
alanwreathalmost 3 years ago
I swear Ubuntu is being prepped to become Windows 12
评论 #32486689 未加载
noisy_boyalmost 3 years ago
I&#x27;ll take the opportunity to jump on this thread to fish for recommendations on courses&#x2F;guides to learning C# to be used with .NET - for programmers. I mainly see those that are way too simple or way too Windows specific.
评论 #32497331 未加载
runfaster2000almost 3 years ago
Anyone notice the part of the announcement about Chiseled Ubuntu Containers?
评论 #32486274 未加载
livinglistalmost 3 years ago
I started writing mobile apps for windows phone when I was in high school (2013-2016), then it got killed years later… then when I got into college, they had this things called UWP (Universal Windows Platform) I wrote a simple kanji dictionary for it, then 2 years later, it got killed. After then I started sticking to Flutter and native iOS, got tired of being played like that lol
dnndevalmost 3 years ago
Where do you host your .net projects? I am especially interested in anything other than azure webapp and VM&#x27;s&#x2F;IIS.
评论 #32482983 未加载
评论 #32487421 未加载
评论 #32482881 未加载
评论 #32483005 未加载
评论 #32487726 未加载
评论 #32483589 未加载
评论 #32483025 未加载
评论 #32486745 未加载
评论 #32484027 未加载
评论 #32483418 未加载
评论 #32488007 未加载
评论 #32494537 未加载
GekkePrutseralmost 3 years ago
Canonical has been cuddling up to Microsoft for years. With the WSL collaboration (I know there&#x27;s other distros but Ubuntu is the one in all the marketing buzz).<p>Tbh I&#x27;m surprised they haven&#x27;t been acquired by Microsoft yet. They&#x27;re clearly aiming straight for it.<p>I probably would do the same if I were them, too.
AtNightWeCodealmost 3 years ago
Why not use PublishSingleFile for containers instead and get image sizes well below 100MB?
pxcalmost 3 years ago
And still, there is no Visual Studio for Linux, and Microsoft is committed ( <a href="https:&#x2F;&#x2F;isdotnetopen.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;isdotnetopen.com&#x2F;</a> ) to ensuring that VSCode provides a second-class .NET experience to Visual Studio proper.<p>Seems best avoided by any company which is not already a Microsoft shop.
评论 #32483340 未加载
kgbciaalmost 3 years ago
the other day we had a post that win32 is the only stable abi on Linux. interesting to see if that happens with .net
pipeline_peakalmost 3 years ago
Is the runtime environment CLR?
评论 #32485879 未加载