Home / ASP.NET Web Forms
Web Forms migration
ASP.NET Web Forms in 2026: supported, but going nowhere
Web Forms still gets security fixes for as long as Windows does. It will never run on .NET 10 or any later version. The way out is not a rewrite: a new ASP.NET Core app takes over one page at a time while the old app keeps serving the rest.
// New .NET 10 app in front of the Web Forms app
var builder = WebApplication.CreateBuilder(args);
builder.Services.AddSystemWebAdapters();
builder.Services.AddHttpForwarder();
builder.Services.AddRazorPages();
var app = builder.Build();
app.UseSystemWebAdapters();
app.MapRazorPages(); // pages moved so far
app.MapForwarder("/{**catch-all}",
app.Configuration["ProxyTo"]); // the rest
app.Run();
Is Web Forms dead?
Where ASP.NET Web Forms stands
Web Forms is part of ASP.NET on .NET Framework. Microsoft calls .NET Framework 4.8.1 the latest version, and it ships as a component of Windows, so it is supported and patched for as long as the Windows version it runs on. Running a Web Forms app today is not running unsupported software.
What it will not get is a future. ASP.NET Core, the web framework in .NET 5 through .NET 10, does not support the Web Forms model: no .aspx pages, no server controls, no ViewState and no page life cycle. A Web Forms app cannot be retargeted to net10.0; its pages have to be rebuilt in Razor Pages, MVC or Blazor.
So the real risk is not a support deadline. It is an app that gets harder to change every year: fewer developers who know it, libraries that stop shipping .NET Framework builds, and hosting tied to Windows and IIS.
Support dates
.NET Framework versions and their support
Web Forms is supported as long as the .NET Framework version under it is. Newer versions follow Windows; older ones have their own end dates.
| .NET Framework | Support |
|---|---|
| 4.8.1, 4.8 | Follows the Windows version it runs on |
| 4.7.2, 4.7.1, 4.7 | Follows the Windows version it runs on |
| 4.6.2 | Ends 12 Jan 2027 |
| 3.5 SP1 | Until 9 Jan 2029 |
| 4.5.2, 4.6, 4.6.1 | Ended 26 Apr 2022 |
Sources: Microsoft Lifecycle: .NET Framework and the .NET Framework support policy, checked 25 November 2026. 4.5.2, 4.6 and 4.6.1 were retired early because they were signed with SHA-1.
If the app targets 4.6.2 or older, retargeting it to 4.8.1 is the cheap first move. It is usually a small change, it buys support for as long as the server's Windows version, and it is a step every later migration needs anyway.
Web Forms replacement options
Blazor, Razor Pages, or stay on 4.8.1 for now
The right choice depends on how the pages are built and how much the app still changes.
Blazor
Components, event handlers and server-side state: the closest model to Web Forms, so pages heavy with server controls and postbacks usually map most naturally.
The community BlazorWebFormsComponents project offers Blazor versions of common Web Forms controls to speed up the markup.
Razor Pages or MVC
A page with a handler, returning plain HTML. A good fit for form-based pages, reports and content pages without much interactivity.
Simpler to reason about and test, and the natural home for any part of the app that is really a set of forms.
Stay on 4.8.1 for now
For an app that rarely changes and has years of Windows support left, staying put can be the right call.
Retarget to 4.8.1, and move shared business logic into .NET Standard 2.0 libraries, so a later migration starts half done.
Blazor and Razor Pages are not exclusive. Both run in the same ASP.NET Core app, so each part of the old app can move to whichever fits it.
Migrate Web Forms to .NET 10
The migration path, page by page
A big-bang rewrite stops new work for months. Moving page by page keeps the app live and lets each release ship value.
Inventory
List every page, user control and server control, how each uses ViewState, session and the page life cycle, and every library the app depends on.
Split out the logic
Move business and data code out of code-behind into
.NET Standard 2.0libraries both apps can use. The System.Web adapters help code that still reaches forHttpContext.Put ASP.NET Core in front
A new .NET 10 app receives every request, serves the pages it has, and forwards the rest to the Web Forms app with YARP. Session and sign-in are shared, so users see one site.
Move pages and retire
Rebuild pages in Blazor or Razor Pages in order of value or risk, release each as it is ready, and switch off the Web Forms app when the last page has moved.
Source: Microsoft Learn: migrate from ASP.NET Framework to ASP.NET Core. Also have WCF services? See WCF to CoreWCF, gRPC or Web API. Moving off .NET 8 too? See .NET 8 end of life. Rest of the app on .NET Framework 4.8? See .NET Framework 4.8 to .NET 10.
Questions
ASP.NET Web Forms FAQ
Is ASP.NET Web Forms dead?
Not unsupported, but finished. Web Forms runs on .NET Framework 4.8.1, which Microsoft supports as part of Windows and still patches. It gets no new features, and ASP.NET Core does not support the Web Forms model, so a Web Forms app can never run on .NET 10 or later as it is.
When does ASP.NET Web Forms reach end of life?
There is no fixed date. .NET Framework 4.8.1, 4.8 and 4.7.x follow the support of the Windows version they are installed on. Older versions have their own dates: 4.6.2 support ends on 12 January 2027, and 4.5.2, 4.6 and 4.6.1 ended on 26 April 2022. An app on 4.6.2 or older should be retargeted to 4.8.1 now.
Should we migrate Web Forms to Blazor or to Razor Pages?
Blazor is closer to how Web Forms works: components, events and state on the server, so pages with lots of server controls and postbacks usually map more naturally. Razor Pages suits simpler, form-based pages and gives plain HTML with fewer moving parts. Both run in the same ASP.NET Core app, so one project can use each where it fits.
Can we migrate Web Forms one page at a time?
Yes. Microsoft's incremental migration approach puts a new ASP.NET Core app in front of the Web Forms app. Pages that have moved are served by the new app, and everything else is forwarded to the old one with YARP. The System.Web adapters let the two share session and sign-in, so users see one site while pages move over in stages.
Is there an automatic Web Forms to Blazor converter?
Not one that does the whole job. BlazorWebFormsComponents is a community, MIT-licensed project (not a Microsoft product) that provides Blazor versions of common Web Forms controls and a conversion tool for markup. It speeds up the move, but code-behind, page life cycle logic and ViewState use still need a developer to rework them.
Find out what moving your Web Forms app would take
A fixed-price audit from US$500: every page and control mapped, logic that can be reused identified, and a page-by-page plan with an estimate. Working with .NET since 2009.