4 FAQs about .NET LTS
by Eric Seng, on Nov 26, 2021 8:39:00 AM
When does .NET Core 3.1 lose support? Is .NET Framework 4.7’s support tied to its operating system? Is .NET 5 needed to upgrade to .NET 6?
The questions surrounding .NET support are as diverse as its users. No one article could cover all the possibilities.
That said, we’ve identified four common questions .NET developers are asking online when asking about long term support. Large enterprises who’ve had trouble migrating their libraries to newer frameworks are still working on older .NETs. This article is focused on those who haven’t upgraded to .NET 6 yet.
Here’s our concise answers.
What .NET should I use for my new applications?
The answer isn't automatically "the latest and greatest". Ultimately this will depend on several factors, and maintaining consistency and using technology that developers are comfortable with is often more important than using the latest version.
Say you upgraded to .NET 5 in 2020 and were very satisfied. .NET 6 released November 2021, so you think about using it for your new application exclusively. There’s no issue with this, but since you’ve already upgraded your libraries to .NET 5 it’s a cake-walk to move everything to .NET 6 (especially if you followed our advice for migrating libraries).
After you’ve made the transition to the new .NET Core v.Next, upgrading to the new iterations is easy.
- If you’re still working in .NET Framework 3.5 or 4.8, you’re covered until the operating system loses support. So a new application could use Framework 3.5, and it might make sense if that application will be substantially similar to another application on Framework 3.5.
- If you’re working with .NET versions like .NET Core 3.0, you should definitely consider migrating to .NET 6 for your new applications; it's much closer technologically speaking than .NET Framework 3.5 to 4.8
Check out our article about .NET support and end of life dates for more details.
When should I upgrade my .NET’s minor version?
.NET is a funny little framework when it comes to naming. Some "major version number" differences (like .NET Framework 2.0 to 3.5) have minor changes, while some "patch version number" differences (like 4.5.1 to 4.5.2) have major, breaking changes.
So, when should you upgrade your minor version? It depends on the version you're using now:
- .NET Framework 3.0: upgrade to 3.5 ASAP
- .NET Framework 4.0 to 4.5.1: upgrade to 4.8 ASAP
- .NET Framework 4.5.2 to 4.7: upgrade to 4.8 as time permits
- .NET Core 3.0: upgrade to 3.1 ASAP
These four are the latest minor versions and are guaranteed long-term support thanks to their tie to operating system support. Out-of-support versions will still work, but you will miss important security and bug fixes.
Neither .NET 5 or .NET 6 have had a minor update release, as of publication.
When should I upgrade my .NET’s patch version?
If you’re not operating on .NET 5 or 6, the sooner the better.
We’ve seen the ‘Patch Tuesdays lead to bad Wednesdays’ memes before, so don’t rush into patch upgrades if you don’t have time to deal with possible breaks.
On the bright side, there’s no rush with the .NET 5 or 6 when it comes to patches:
.NET 6 has had one patch update, putting it at 6.0.1, but there is currently a security advisory on this patch.
.NET 5 is on 5.0.13 and also has a security advisory.
Consider doing more research to see if these patches are worth the resources.
Can I still use different .NET platforms for different applications?
Until the older .NETs (Framework 4.8, Core 3.1, etc.) reach their end of life, they can be used.
Core and Framework were developed in parallel, so if you were using both during the height of their support to develop different applications, continuing to do so isn’t an issue.
That said, the clear future of .NET is the new v.Next series, a.k.a .NET 5, 6, 7 and so on. The release of .NET 5 signaled that there is no more parallel development track for .NET development. Once you make the migration to .NET v.Core, it’s better to use one platform for all applications.
We won’t leave you hanging. To answer our opening questions:
- When does .NET Core 3.1 lose support? December 3, 2022. Start considering migration plans now!
- Is .NET Framework 4.7’s support tied to its operating system? Yes! It follows the lifecycle policy of it’s parent OS.
- Is .NET 5 needed to upgrade to .NET 6? No, you can skip .NET 5 and go straight to .NET 6!
There’s lots to talk about when it comes to .NET long-term support, like maintaining applications running on deprecated frameworks, or using CI/CD practices to help keep up with the new annual release cadence.
Did you find this article helpful? Are you using NuGet to make your .NET packages? Learn how to optimize your NuGet in the Enterprise; sign up for our free NuGet guide: