When will .NET Framework retire?

1/27/2025
2 minute read

Did you ever ask yourself: When will the good ol' .NET Framework retire? The short answer: I don't know, but we can make a good guess! If you check the official page: https://learn.microsoft.com/en-us/lifecycle/products/microsoft-net-framework you will be greeted with the following overview:

Support Overview

That said, we can see that everything beyond .NET Framework 4.7 is still supported (and even .NET FX 4.6.2 still has 2 years). Side note: They are almost drop-in replacements. Therefore upgrading from .NET FX 4.6.2 to 4.8.1 should have a rather small impact and risk.

Anyway: One main driver for the longevity of the framework is that it's bundled with Windows itself. A fresh Windows Server 2022 installation comes with .NET 4.8.1. The EOL date for Windows Server 2022 is October 2031! Source: https://learn.microsoft.com/en-us/lifecycle/products/windows-server-2022 - not only that, even Windows Server 2025 (the latest version) ships the framework, where the extended support ends 3 years later - so 2034!

Therefore it is very likely that .NET Framework 4.8.x will be around until that point (give or take). It might be that there are newer patch version due to security related issues (imagine SHA 2 becomes obsolete/broken and people should switch to something else) will be released.

Of course, for new development, you should resort .NET 8 and onwards if possible, but it is very unlikely that .NET FX is not working anymore anytime soon (whether or not that is a good thing is up to you).

Entity Framework and ordered indexes

In Entity Framework 7, the team has added support for ordered indexes to the fluent API. In this blog post we will look at how to use this feature and what it means for your database.

What is a Middleware and how to use it in ASP.NET Core?

Did you ever ask yourself: What is a middleware, and why should I use it?

If so, this blog post is exactly for you. We will see where we could use a middleware and also how we can use the Dependecy Injection container of ASP.NET Core.

Native DateOnly and TimeOnly support in Entity Framework 8 in SQL Server

.NET 6 brought us two new datatypes: DateOnly and TimeOnly. For those types we don't have any first class support in Entity Framework - until now.

There is a recent change, that hit us with Entity Framework 8 that might ease the situation and brings native support for those types.

An error has occurred. This application may no longer respond until reloaded. Reload x