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 Released

502 pointsby tonicbblekingover 3 years ago

24 comments

qwertoxover 3 years ago
For me Hot Reload is the most important feature, which will very likely be a reason for me to move a bit from Python over to .NET, which I haven&#x27;t touched for 10 years. Back then I really used it a lot (after moving away from OLE&#x2F;DCOM&#x2F;ActiveX), in C++, Managed C++, C# and IronPython (no GIL!). I absolutely loved it, but it was limited to the Microsoft ecosystem.<p>Yesterday, while randomly googling for &quot;hot reload&quot; I got aware of the drama which went down around two weeks ago, when Microsoft decided to remove this feature from the release, even after including it in the previews.<p>Here is a good summary <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=L9_pzDjw9HQ" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=L9_pzDjw9HQ</a>
评论 #29156076 未加载
评论 #29158477 未加载
abduscoover 3 years ago
&gt; In .NET 6, in-memory single file apps have been enabled for Windows and macOS. In .NET 5, this deployment type was limited to Linux. You can now publish a single-file binary that is both deployed and launched as a single file, for all supported OSes. Single files apps no longer extract any core runtime assemblies to temporary directories.<p>This is a great! Now I can publish statically linked executables and run it everywhere. I don&#x27;t have to tolerate Golang and its quirks just to have cross-compilation and static binaries, even though they will be larger in size.
评论 #29153854 未加载
评论 #29152266 未加载
评论 #29151906 未加载
评论 #29153842 未加载
评论 #29155860 未加载
评论 #29155841 未加载
评论 #29153231 未加载
评论 #29158488 未加载
评论 #29157699 未加载
评论 #29152974 未加载
评论 #29158005 未加载
gmuecklover 3 years ago
.NET 6 seems like a pretty good release with a few cool new features.<p>But it&#x27;s funny how the infographic in the post mentions MAUI for desktop development, but the &quot;desktop&quot; keyword in the text is referring to the WinForms github repository. I can&#x27;t think of a more concise statement about the state of GUI development on .NET. I would really wish for less fragmentation and churn in that space.
评论 #29151635 未加载
评论 #29155189 未加载
评论 #29152652 未加载
评论 #29152111 未加载
评论 #29153425 未加载
SloopJonover 3 years ago
&gt; Supported for three years as the latest long term support (LTS) release.<p>This is the first thing I look for in these announcements. .NET 6 is the successor to .NET Core 3.1.
评论 #29152277 未加载
评论 #29152549 未加载
mmpdevover 3 years ago
&gt; System.Linq — DistinctBy&#x2F;UnionBy&#x2F;IntersectBy&#x2F;ExceptBy<p>I&#x27;m excited by having these built in. I always found it awkward to need to do: `.GroupBy(item =&gt; item.Property).Select(group =&gt; group.First())`.
评论 #29159817 未加载
评论 #29200723 未加载
kbdover 3 years ago
Is there any reason I should care about .NET today if I&#x27;m not already in the ecosystem? I&#x27;ve done C# professionally in the past, and C# is a good language. I wish Microsoft focused on open source and wider industry adoption for C#&#x2F;.NET sooner so that it could have taken some share from Java. Now .NET is finally open source but Microsoft is a bad steward of the open source ecosystem for .NET, and I certainly wouldn&#x27;t feel comfortable to say to my team &quot;let&#x27;s do this next project in C#&quot;. I don&#x27;t see any particular reason to make my own tools in C# vs anything else.<p>So without already being in an existing Windows-based Microsoft shop, is there any reason I should be interested in .NET today?
评论 #29152655 未加载
评论 #29152438 未加载
评论 #29152458 未加载
评论 #29152603 未加载
评论 #29152601 未加载
评论 #29152619 未加载
评论 #29158869 未加载
评论 #29152501 未加载
评论 #29152642 未加载
评论 #29152696 未加载
评论 #29152500 未加载
评论 #29152569 未加载
评论 #29153970 未加载
kreebenover 3 years ago
&gt;&gt; ASP.NET Core in .NET 6.<p>I&#x27;ve been on .net since 1.1 and .net Core since 1.0 and this statement makes me so confused.<p>Core lives _inside_ of .net 6? Is there a non-core ASP.NET that also lives inside that framework?<p>I thought .net 5 was where the legacy 4.x branch and core 3.1 was married in holy matrimony, minus the worst of the legacy garbage.
评论 #29151558 未加载
评论 #29151555 未加载
评论 #29152557 未加载
评论 #29151665 未加载
评论 #29151533 未加载
评论 #29151960 未加载
评论 #29152538 未加载
评论 #29151557 未加载
评论 #29153501 未加载
评论 #29172922 未加载
评论 #29151539 未加载
jekudeover 3 years ago
As a relatively new engineer (~2 years FAANG experience), there seems to be a connotation around .NET.<p>Perhaps this is indicative of the larger Microsoft ecosystem, but it feels like my peers at university and in the industry tend to stay far away from .NET for personal projects, etc.<p>Why is this?
评论 #29152288 未加载
评论 #29152192 未加载
评论 #29152342 未加载
评论 #29154418 未加载
评论 #29152285 未加载
评论 #29154460 未加载
评论 #29152094 未加载
评论 #29152473 未加载
评论 #29152482 未加载
评论 #29152490 未加载
评论 #29156103 未加载
评论 #29157350 未加载
评论 #29153207 未加载
评论 #29153319 未加载
评论 #29153773 未加载
评论 #29152446 未加载
评论 #29159099 未加载
评论 #29152596 未加载
评论 #29152113 未加载
评论 #29152637 未加载
osigurdsonover 3 years ago
We recently got through upgrading a large code base from .NET framework to .NET core 3.1. It was quite challenging as it seemed to touch every corner of .NET including AppDomains, .NET remoting, serializing type information, C++ interop which requires environment variables to be set in process (that one is very obscure), etc, etc.<p>In any case, the performance results were really outstanding (particularly vs Mono) especially given we use C++ for many performance sensitive areas already. Looking forward to upgrading to .NET 6 in the coming months.<p>Great work! Congrats to the .NET team!
评论 #29155058 未加载
评论 #29218027 未加载
lbrinerover 3 years ago
I would personally prefer you to fix the multitude of things that don&#x27;t work well in Visual Studio and library issues that are continually pushed back as &quot;won&#x27;t fix&quot; or &quot;upgrade to .Net5&#x2F;6&quot; as opposed to always racing forwards to the horizon.<p>Even those of us who are actively migrating applications are stuck with web forms, netfx and dotnet core 2&#x2F;3 and will be for years, so it would be nice that we felt some love rather than being left behind.<p>MS are starting to feel like Apple where you only have value if you can keep up.
评论 #29152600 未加载
评论 #29152414 未加载
评论 #29151547 未加载
评论 #29157639 未加载
评论 #29155416 未加载
runevaultover 3 years ago
Been thinking about switching to Rider (already had the personal license for Jetbrains from wanting CLion for Rust) and figured .NET 6 would be a good time to try making the switch. With how blah VS has been for a while hopefully I&#x27;ll like the Rider experience better (for both c# and f#)<p>Edit: Though I saw something this morning when I tried to load an f# project I made in VS refused to load even though the new ones generated with Rider are fine...
评论 #29152761 未加载
评论 #29152757 未加载
评论 #29152487 未加载
评论 #29153713 未加载
评论 #29154234 未加载
评论 #29153745 未加载
评论 #29154067 未加载
robertwt7over 3 years ago
.NET seems to be getting better every year. Really interested to learn and use it for daily basis.<p>I just wished more startup are using it more as their tech stack to improve the ecosystem to be on par with Java. Almost every big tech companies are always using java now it&#x27;s just hard to use .net when you won&#x27;t get a job that doesn&#x27;t suck
manomanomanoover 3 years ago
Java user here. What is a good book&#x2F;set of resources on getting started in .NET&#x2F;C#, possibly this version 6, without knowing the ecosystem beforehand (but with a experience in programming)? Thanks!
评论 #29151910 未加载
评论 #29151782 未加载
评论 #29151759 未加载
评论 #29160152 未加载
评论 #29151770 未加载
评论 #29154230 未加载
评论 #29152088 未加载
dirkgover 3 years ago
I moved from C# to the NodeJs&#x2F;JS&#x2F;React world a while ago, when React was fairly new as well.<p>I like JS as a language and the enormous progress thats been made in the JS ecosystem from the wild west days back then. But I have to say my most productive and enjoyable dev experience was with VS, C#, ReSharper etc.<p>Magical intellisense and real refactoring across millions of LOCs and multiple assemblies, all kinds of tools, visual designers, powerful 3rd party toolkits (anyone remember Infragistics), amazing docs. And of course now it&#x27;d be much better I&#x27;m sure.
评论 #29159089 未加载
schipplockover 3 years ago
&gt; .NET 6 is the first release that natively supports Apple Silicon (Arm64)<p>Finally! :)<p>I was a bit disappointed that MS didn’t want to support macOS arm64 natively with .NET 5.<p>At the same time Microsoft invested a lot of effort in porting Java to arm64. Almost a year ago I could download Java builds for macOS arm64 from Azul (java 8-latest).
gmaster1440over 3 years ago
MAUI was the big release I was looking forward to most with .NET 6, appears to be postponed.
评论 #29152709 未加载
评论 #29153434 未加载
评论 #29152376 未加载
polskibusover 3 years ago
I wish they put more effort into round 10 version of C# . Features presented will have minimal impact on productivity and maintainability.
评论 #29154127 未加载
评论 #29152890 未加载
评论 #29154232 未加载
评论 #29155149 未加载
评论 #29154165 未加载
wcoenenover 3 years ago
Is it possible to load &quot;.NET Framework&quot; assemblies into &quot;.NET 6&quot; applications?<p>(We have a lot of .NET Framework libraries, shared between different applications, and a complex dependency graph between them. So I&#x27;m wondering if it is possible to migrate away from .NET Framework by starting with the executables and working our way down the dependency graph.)
评论 #29152989 未加载
评论 #29152468 未加载
评论 #29155782 未加载
评论 #29152460 未加载
b8over 3 years ago
I&#x27;m glad that Openssl 3 and more support for WASM was added. I doubt that anyone will use WASM though.
评论 #29152681 未加载
评论 #29155617 未加载
评论 #29152902 未加载
DeathArrowover 3 years ago
Fast framework for Web, MAUI for mobile and desktop, Blazor for frontend, ML.NET for AI and ML, Unity and Godot for games, F# for functional programming. All relatively fast and easy to use. Libraries for everything and good documentation.<p>The only thing we miss is system programming due to not being able to opt out of using the garbage colector.
评论 #29158931 未加载
xakpcover 3 years ago
this is nice.<p>I built a couple of side-projects and startups - all on .net.<p>First one was on Xamarin even before it was bought by MS - the progress from that times is amazing, the last one - built fully on Blazor.<p>I believe more startups should try to adopt .net stack - it&#x27;s fast, fun and efficient and becomes better every day.<p>Congrats .net teams on launch
eatonphilover 3 years ago
Is there a mature(!) webview library for .NET so I can build cross-platform GUIs with HTML&#x2F;JS&#x2F;React but write the backend in C#&#x2F;F# and bundle that whole thing into a single file (not a zip&#x2F;something that gets extracted on run) for every platform?
评论 #29153377 未加载
评论 #29153375 未加载
评论 #29158553 未加载
DeathArrowover 3 years ago
.NET 6 was released but MAUI was pushed for next year and I still haven&#x27;t heard anything about AOT which was delayed a few times and was supposed to come WITH .NET 6.
评论 #29158830 未加载
bajsejohannesover 3 years ago
Unlike all the preview builds this actually crashed on `dotnet run` after upgrading. Luckily a `dotnet clean` fixes it.<p>Good to finally have an official version!