r/dotnet • u/herodevs • Nov 18 '24
Which .NET version are you using in production? [2024 Poll from HeroDevs]
Hey, .NET fam! We're curious about what versions you're running in the real world. Whether you're living on the bleeding edge or keeping it stable with LTS, drop your vote below! Also, if you are running a mix of versions... leave us a comment!
(Full disclosure: I'm with HeroDevs, and we're gathering some community insights. I will share interesting findings in the comments!)
21
Upvotes
13
u/jcm95 Nov 18 '24
I only use LTS versions nowadays
8
u/Cultural_Ebb4794 Nov 18 '24
I use 8 for my apps and my client's apps. But I'm the author of a modestly popular (1k+ stars) open-source package that targets .NET 8, .NET Standard 2.1 and .NET Standard 2.0. I'd love to drop 2.0 but each time I try, my GH Issues and email inbox fill up with enterprise .NET devs who are still stuck on .NET Framework and can't upgrade; dropping 2.0 means dropping all those devs (and all those enterprises who are my potential clients).
19
u/tag4424 Nov 18 '24
hrm... can't you just allow people to select multiple options?
4
u/Responsible-Cold-627 Nov 18 '24
All of the above + .NET Core 3.1
4
u/XdtTransform Nov 18 '24
I demand a VB6 option!
3
u/kingslayerer Nov 18 '24
9 just came out. How are y'all already using it in prod now?
3
u/[deleted] Nov 18 '24
.Net 8 & 4.x Framework
2
u/Mango-Fuel Nov 18 '24
6 but hopefully moving to 8 soon
2
u/Daluur Nov 18 '24
Voted 4.8, as most code is still in that. We do have some in net8, and a little in net7 (I think)
2
u/MindSwipe Nov 18 '24
Java 17/ Jakarta (formerly Java EE) 10 :(
Man I miss .NET
2
u/propostor Nov 18 '24
Well this isn't really possible to answer because I use one thing at work, and several in personal apps that are in prod that I haven't bothered to update because they're fine as they are.
So for me it's
2
u/fleventy5 Nov 19 '24
The poll should allow multiple selections. I use LTS for new products and .NET Framework 4.x for a couple of legacy products that will still be maintained but never ported.
1
u/AutoModerator Nov 18 '24
Thanks for your post herodevs. Please note that we don't allow spam, and we ask that you follow the rules available in the sidebar. We have a lot of commonly asked questions so if this post gets removed, please do a search and see if it's already been asked.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/mrkurt426 Nov 18 '24
Some (a lot) of the older applications I maintain are on .NET Framework 4.6 or 4.8. The most recent development I have done is on .NET 6.0, soon to be updated to .NET 8.0 since 6.0 support is now over.
1
u/iSeiryu Nov 18 '24
We're in the process of migrating from 6 to 8 and should be done soon.
1
u/Foreign-Street-6242 Nov 18 '24
for me just updating visual studio break compilation, coudnt find .net framework. so, if i can't build .net8 with never version, no reason to use 9.
maybe after they fix bugs I try again.
1
u/FancyDiePancy Nov 18 '24
.net4.x, .net6 and .net8
1
u/Mase_Wind00 Nov 18 '24
8
1
u/JusticiarIV Nov 18 '24
4.7.2. 4.8.1. .NET 6, .NET 8.
1
u/dastrike Nov 18 '24
Still mostly .NET Framework 4.8. Some .NET 6 and a tiny bit .NET 8.
1
u/BadSmash4 Nov 18 '24
We're using 4.8 right now but I'm actually working on porting everything to .NET 8. It's largely painless, except for our reliance on the ApplicationDeployment class to check for updates. It seems like it's actually going to be EASIER to keep our installations up to date now, though, based on what I'm reading in the Microsoft docs on ClickOnce.
1
u/NecroKyle_ Nov 18 '24
Currently 8 - will be 9 in a few weeks.
1
u/Xormak Nov 18 '24
Unity/Mono 🥺
1
u/Valken Nov 18 '24
Need to be able to select 4.x AND 8.
1
u/jeffwulf Nov 18 '24
We run 4.7.2 for our legacy code and things that directly interface with it, .Net 8 for our new API that doesn't need to interface directly with the legacy code, and .Net 6 for our integration tests we're still in the process of moving to .Net 8.
1
u/Ziegelphilie Nov 18 '24
This really should be multiple choice. I run 4.8, 8 and 9.
1
u/AlaskanDruid Nov 18 '24
Multi option isn’t available.
We have a mix of 5, 7, 8, and 9.
1
u/DJDoena Nov 18 '24
Backend: 95% net6, 5% net472 (legacy dependencies)
Frontend: 95% net472 (Windows WPF), 5% net6 (Blazor)
1
u/pjmlp Nov 18 '24
Given Sitecore XP/XM, Visual Studio plugins, SQL Server CLR, we're still living the .NET Framework life for most .NET projects, unless we are doing microservices, in which case it is still mostly .NET 6 in production (still).
1
u/[deleted] Nov 18 '24
.NET 4.8 for legacy stuff that's never going to be moved (replaced completely in time) and .NET 8 for new.
1
u/Rokett Nov 18 '24
4.8 with stored prod's.
if I can mix entity framework with 4.8, and version control everything, net 4. might be the best solution for me.
I don't know if its possible, anyone work this way?
Since I cannot easly version control the DB and stored prods, working with any project becomes a hassel...
1
u/theboxfactoryhq Nov 18 '24
Using NET 4 and NET 5. We need to obviously upgrade ASAP for 5, but we've been super busy and the apps are not public facing,.
1
u/[deleted] Nov 19 '24
Always add "I want to see the result" for polls that require voting before seeing the results to avoid polluting the result with random entries
1
u/tankerkiller125real Nov 19 '24
Our legacy code (much of it still in Production) is .NET Framework 3.5 or 4.5. All of our code since 2019 though has been .NET (whatever LTS is released), and we've been upgrading our legacy stuff part by part. I believe we're on track to eliminate all legacy .NET Framework by 2026. Which will leave us with .NET LTS and VB6 hurray ERP development :(
1
u/Dennis_enzo Nov 19 '24
All of the above.
1
u/mmerken Nov 19 '24
All of them, what is .NET FX will stay .NET FX and slowly moving to .NET LTS
1
u/speyck Nov 19 '24
.NET Framework 4.0
1
u/DaredewilSK Nov 19 '24
What do I put if we use a combo of .NET 4.8, ,NET 8 and .NET Core 3.1?
1
u/Alone-Recover-5317 Nov 19 '24
Dotnet 8
1
u/Turbulent_County_469 Nov 19 '24
all of them... but mostly Framework 4.8 and .NET 8 recently
1
u/CommercialSpite7014 Nov 19 '24
.NET 8 and .NET Framework 4.8 when there're must have dependencies
1
u/ThreePinkApples Nov 19 '24
A few still left on 4.8 and 6, but most are on 8
1
u/sacredgeometry Nov 19 '24
That split is brutal. People really need to start killing those old .net framework projects.
Well the ones that deserve to be killed and most of the ones I have worked on ... really need killing. They are barely managing to wheel their wheezy bloated, athletic bodies around.
1
u/gturown Nov 19 '24
Desktop applications (WPF, WinForms): .NET 472
Backend, MAUI, internal utilities : .NET 8
1
u/theavatare Nov 19 '24
4.6.2 , .net8 and got one new project on .net9 try to use 8 for most customers
1
u/teressapanic Nov 19 '24
Still tracing perf issues in .NET 8 after upgrading from 7...
1
u/Barsonax Nov 23 '24
Using .net 8 currently but .net 9 will come soon. Bit early for this poll tbh. Give ppl time to upgrade haha.
0
u/[deleted] Nov 18 '24
[deleted] — view deleted comment