Home / Insights / Architecture and Modernization

Architecture and Modernization

Moving from .NET Framework to Modern .NET: How to Plan a Phased Upgrade

.NET Framework 4.8 is still supported, so few organisations are forced to move tomorrow. But new features, performance work, containers and most of the ecosystem now target modern .NET. This guide shows how to plan the move in phases that keep the business running.

TopicsArchitecture and ModernizationWeb and SaaS Development

Key takeaways

  • .NET Framework 4.8 and 4.8.1 follow the support lifecycle of the Windows version they run on, so the case for moving is usually about capability, hosting cost and hiring, not an imminent deadline.
  • Target an LTS release: .NET 8 is supported until November 2026, and Microsoft’s annual cadence puts the next LTS, .NET 10, in November 2025, so plan for a second hop.
  • Several Framework technologies do not exist in modern .NET, including AppDomains, .NET Remoting, Code Access Security and server-side WCF; finding them early drives the whole plan.
  • For production web applications, Microsoft recommends incremental migration (a Strangler Fig approach) over in-place rewrites, especially when System.Web is used heavily.
  • Sequence the work bottom-up: shared libraries first via .NET Standard or multi-targeting, then services, then the web front end, with tests and a rollback route at each step.

Many of the business systems we are asked to work on were built on ASP.NET MVC, Web Forms, WCF or Windows services between roughly 2008 and 2018. They still run, they still make money, and the people who built them have often moved on. The question we hear from CTOs and operations leads is not whether to move to modern .NET, but how to do it without a frozen roadmap, a risky cutover or a budget that cannot be defended.

This article is for technical leaders responsible for one or more .NET Framework applications. It explains the support position as of spring 2025, the options for moving, how to sequence a phased upgrade, the technologies that block a straightforward port, and the costs and risks to plan for. The goal is a plan you can present to the business: phases with clear outcomes, not a single large migration project.

Why move at all if .NET Framework is still supported?

It is worth being precise, because the urgency is often overstated. According to Microsoft’s .NET Framework lifecycle FAQ, .NET Framework 4.8 and 4.8.1 follow the lifecycle policy of the Windows operating system they are installed on, and are supported as Windows components. Versions 4.5.2, 4.6 and 4.6.1 were retired in April 2022, so anything still on those needs at least an in-place update to 4.6.2 or later regardless of any wider plan.

So the reason to move is rarely a cliff edge. The reasons we see in practice are:

  • Capability. New language features, libraries and performance improvements land in modern .NET. The Framework receives maintenance, not new features.
  • Hosting. Modern .NET runs on Linux and in containers, which widens hosting choices and can reduce licensing and infrastructure cost. Framework applications are tied to Windows and usually IIS.
  • Ecosystem. Third-party libraries increasingly target modern .NET only, so staying put gradually narrows your options for security fixes and integrations.
  • People. Developers who want to work on ASP.NET Web Forms or WCF are harder to find each year, and onboarding to a legacy stack takes longer.

Which modern .NET version to target

Microsoft’s .NET support policy distinguishes Long Term Support (LTS) releases, supported for three years, from Standard Term Support (STS) releases with a shorter window. .NET 8, released in November 2023, is an LTS release supported until 10 November 2026. .NET 9 is an STS release. .NET 6 left support in November 2024. Releases arrive every November, and even-numbered releases are LTS, which means .NET 10 is expected as the next LTS in November 2025.

For a migration starting now, we recommend targeting .NET 8 and planning a later, much smaller hop to .NET 10. Moving between modern .NET versions is routinely far less work than leaving the Framework, so do not delay the main migration waiting for the next release.

The options: in-place port, incremental migration or rewrite

Microsoft’s guidance on migrating from ASP.NET Framework to ASP.NET Core describes two main paths and says incremental migration is preferred for most production applications. A third option, rewriting from scratch, is sometimes proposed and deserves an honest comparison.

ApproachHow it worksBest forMain risks
In-place portConvert projects to SDK style, retarget, fix breaking changes, release onceSmall to medium applications with few dependencies and limited System.Web useSmall issues compound; one large release; hard to pause halfway
Incremental (Strangler Fig)A new ASP.NET Core application sits in front of or beside the old one and takes over routes or features one by oneLarge production systems that must stay live; unknown or outdated dependenciesRunning two systems; shared session and authentication need care
RewriteRebuild the system on a new design and migrate data at the endSystems whose business logic is small, well understood or already being replacedLong period with no value delivered; hidden behaviour lost; scope growth

Microsoft frames incremental migration explicitly as an implementation of the Strangler Fig pattern: new ASP.NET Core functionality grows alongside the legacy application, which is retired piece by piece. In practice this is often done with a reverse proxy such as YARP routing traffic between the two, plus adapters that let shared code run in both. We cover the general pattern in more depth in modernising a monolith with the Strangler Fig pattern.

How to choose

Microsoft’s own decision questions are a good starting point: can you afford a full replacement, how large is the application, and how heavily does it depend on System.Web or outdated libraries? If the answers are small, few and lightly, an in-place port is usually cheapest. If any answer points the other way, plan for incremental migration. We recommend a rewrite only when an assessment shows the existing code carries little business logic worth keeping.

Phase 0: assess before you commit to a plan

Microsoft’s upgrade overview sets out a sequence we agree with: assess the application and its dependencies, choose the upgrade path, prioritise by risk and return, pilot on a low-risk project, perform the upgrade, validate that it builds and tests pass, then modernise further once it runs. The assessment is where most of the plan is decided, so give it proper time, typically a few weeks for a mid-sized estate.

What the assessment should produce

  1. An inventory of solutions, projects, target framework versions and how they depend on each other.
  2. A dependency report: every NuGet package and third-party DLL, whether a modern .NET version exists, and what replaces those that do not.
  3. A blocker list: uses of technologies unavailable in modern .NET (see the next section), with an estimate per item.
  4. A System.Web map: how deeply HttpContext, session state, HTTP modules and handlers are woven into the code.
  5. A test baseline: what automated tests exist, what they cover and how long they take.
  6. A recommendation: in-place, incremental or rewrite, per application, with phases and rough effort ranges.

Tooling helps. The .NET Upgrade Assistant can analyse projects and apply many mechanical changes, such as converting to SDK-style project files and updating package references. It does not make architectural decisions, and its output still needs review and testing. For older or poorly documented code, the approaches in our article on using AI to reverse-engineer legacy applications can speed up building the inventory and behaviour map.

The blockers that shape the plan

Some .NET Framework technologies have no direct equivalent in modern .NET. Microsoft maintains a list of .NET Framework technologies unavailable in .NET. Finding these early is the single most useful outcome of the assessment, because each one becomes either a redesign task or a reason to keep a component on the Framework for longer.

TechnologyRecommended directionTypical effort
Server-side WCF servicesCoreWCF for compatibility, or move to gRPC or HTTP APIsMedium to high, depending on bindings and clients
ASP.NET Web FormsRebuild pages in Razor Pages, MVC, Blazor or a separate front endHigh; usually page-by-page via incremental migration
AppDomainsSeparate processes or containers for isolation; AssemblyLoadContext for dynamic loadingMedium
.NET RemotingPipes, memory-mapped files or StreamJsonRpc locally; HTTP or sockets across machinesMedium
Code Access Security, security transparencyOperating system boundaries: containers, virtualisation, least-privilege accountsLow to medium; mostly removal and hosting design
Windows Workflow FoundationCoreWF (open source) or redesign the workflowsHigh if workflows are extensive
Delegate BeginInvoke/EndInvokeTask-based asynchronous codeLow per call site, but can be widespread

Web Forms is a special case. Microsoft lists it separately from the runtime technologies above, but the effect is the same: there is no port, only a rebuild of the user interface. Of all the blockers it is the one that most often justifies incremental migration, because pages can be moved in priority order while the rest keep running.

Windows-only APIs are not necessarily blockers

Code that uses the registry, Windows event log or other Windows-specific APIs can often run on modern .NET on Windows using the Windows Compatibility Pack. That keeps the migration moving, and you can decide later whether Linux hosting is worth the extra work.

Sequencing a phased upgrade

The order of work matters as much as the work itself. Microsoft notes that libraries must be upgraded in post-order, depth-first sequence, and must support every framework version the application targets during the transition. In plain terms: start at the bottom of the dependency graph and work up, keeping shared code usable by both old and new applications until the old ones are gone.

  1. Phase 1: prepare the ground. Move to .NET Framework 4.8 if you are not there already, convert projects to SDK-style format, update packages to versions that also support modern .NET, and add tests around high-risk areas. Nothing changes for users, and every later phase gets easier.
  2. Phase 2: shared libraries. Retarget domain and data libraries to .NET Standard 2.0 or multi-target them for both net48 and net8.0, so the Framework applications and new modern .NET code can both use them.
  3. Phase 3: back-end services and workers. Windows services, scheduled jobs and internal APIs are usually easier than web front ends and give early wins: worker services, generic host, built-in dependency injection and logging.
  4. Phase 4: the web application. For small applications, port in place. For large ones, put an ASP.NET Core application in front, route new and migrated endpoints to it, and move features in order of business value and risk. Resolve shared authentication and session state early, as Microsoft identifies both as key challenges.
  5. Phase 5: decommission and modernise. Remove the Framework application when the last route moves, then use what modern .NET offers: configuration via appsettings.json, containers, updated observability.

Illustrative example

For example, a logistics company with an ASP.NET MVC customer portal, a WCF pricing service and three Windows services might run phase 1 and 2 in one quarter, move the Windows services to worker services next, replace the WCF service with an HTTP API behind the same contract while both old and new clients are supported, and finally migrate the portal route by route. Each phase delivers something releasable. This scenario is illustrative; the phases and timings depend on the assessment.

Testing, release and rollback

A migration is a change in which the intended behaviour is “the same as before”. That makes it testable, but only if you capture what “before” is.

  • Characterisation tests. Before changing a component, record its current outputs for representative inputs, including the odd ones. These tests protect behaviour nobody remembers specifying.
  • Contract tests for APIs and services. When replacing a WCF or ASMX service, test the new endpoint against the same request and response contracts that existing clients use.
  • Parallel running. For calculation-heavy components such as pricing or billing, run old and new side by side on real traffic and compare results before switching.
  • Performance baselines. Measure response times and resource use before and after. Modern .NET is generally faster, but changes in serialisation, data access or caching can surprise you.
  • Feature-level routing. With incremental migration, routing is your rollback: if a migrated endpoint misbehaves, send its traffic back to the old application.

Release planning for data and cutover is covered in our guide to planning a zero-downtime migration, and the pipeline changes needed to build and deploy both stacks during the transition fit the patterns in designing a CI/CD pipeline.

Costs, risks and how to keep them contained

The cost of a .NET migration is driven less by lines of code than by the number of blockers, the depth of System.Web use, the state of the test suite and the number of integrations. Budget for the following explicitly, rather than treating them as contingency:

  • The assessment itself, done by people who know both stacks.
  • Building a test safety net where one does not exist. This often costs more than the port of the code it protects.
  • Running two systems in parallel during incremental migration: infrastructure, monitoring and support for both.
  • Replacement or relicensing of third-party components without modern .NET versions.
  • A second, smaller upgrade to the next LTS within the life of the plan.
RiskMitigation
Migration stalls halfway, leaving two systems indefinitelyPhase plan with business outcomes per phase; decommission dates agreed up front
Hidden behaviour lostCharacterisation tests; parallel running for critical calculations
Feature freeze frustrates the businessIncremental approach; new features built on the modern stack only
Authentication or session breaks across old and newSolve shared identity and session in the first web phase, not the last
Key knowledge held by one personDocument as you assess; pair internal and external engineers

Our broader article on planning framework, runtime and app store upgrades explains how to keep future upgrades routine once you are on a supported release train.

Checklist: is your .NET upgrade plan ready to approve?

  • Every application and library is inventoried with its current target framework.
  • Anything below .NET Framework 4.6.2 is scheduled for an immediate in-place update.
  • Blockers (WCF server, Web Forms, AppDomains, Remoting, CAS, WF) are listed with an approach and estimate.
  • Each application has a chosen path: in-place, incremental or rewrite, with reasons.
  • The target is an LTS release, with the next LTS hop planned.
  • Shared libraries are sequenced bottom-up and will support both old and new applications during transition.
  • Authentication and session strategy across old and new applications is decided.
  • Characterisation, contract and performance tests exist for high-risk components.
  • Each phase has a releasable outcome and a rollback route.
  • Decommission dates for the old applications are agreed with the business.

If you need extra capacity for the work, PoliteTech provides ASP.NET developers who work in your repositories and backlog, with experience in ASP.NET Core, Entity Framework, Azure and migrating .NET Framework applications to modern .NET. Engagements can start with a scoped assessment and move to a dedicated team as the phases progress.

Frequently asked questions

Is .NET Framework 4.8 going out of support soon?

Not on a fixed date. Microsoft states that 4.8 and 4.8.1 follow the lifecycle of the Windows version they are installed on. Older versions such as 4.5.2, 4.6 and 4.6.1 were retired in April 2022, so those need updating now.

Should we wait for .NET 10 before migrating?

No. .NET 8 is an LTS release supported until November 2026, and moving between modern .NET versions is far less work than leaving .NET Framework. Migrate to .NET 8 now and plan a smaller hop to .NET 10 after it ships.

Can we migrate a Web Forms application without rewriting it?

Not directly. Web Forms is not available in modern .NET, so the user interface has to be rebuilt, for example in Razor Pages, MVC or Blazor. Incremental migration lets you rebuild page by page while the rest keeps running.

What happens to our WCF services?

WCF clients are available on modern .NET, but hosting WCF services is not part of it. Options are CoreWCF, an open-source implementation that eases migration, or redesigning the services as HTTP APIs or gRPC.

How long does a migration take?

It depends on size, blockers, test coverage and integrations. A small application with few dependencies can be ported in weeks; a large estate with Web Forms and WCF is usually a phased programme over several quarters. A short assessment gives a defensible estimate.

Do we have to move to Linux?

No. Modern .NET runs well on Windows, and the Windows Compatibility Pack helps code that uses Windows-specific APIs. Linux and containers are an option you can take up later if hosting savings justify it.

Sources and methodology

Guidance reflects PoliteTech delivery experience. The external references below informed specific points in this article.

  1. Microsoft Learn: .NET Framework lifecycle FAQ — accessed 9 November 2026. .NET Framework 4.8 and 4.8.1 following the Windows lifecycle; retirement of 4.5.2, 4.6 and 4.6.1 in April 2022.
  2. Microsoft: .NET and .NET Core support policy — accessed 9 November 2026. LTS and STS release types, .NET 8 release and end-of-support dates, .NET 6 end of support, annual November releases.
  3. Microsoft Learn: .NET Framework technologies unavailable on .NET — accessed 9 November 2026. AppDomains, Remoting, CAS, WF and other unavailable technologies with recommended alternatives.
  4. Microsoft Learn: Migrate from ASP.NET Framework to ASP.NET Core — accessed 9 November 2026. In-place versus incremental migration, Strangler Fig framing, System.Web, session and authentication challenges, and library sequencing.
  5. Microsoft Learn: Upgrade .NET apps overview — accessed 9 November 2026. The assess, choose, prioritise, pilot, upgrade, validate and modernise sequence.

Planning to move a .NET Framework application but unsure where to start?

We can run a scoped assessment of your applications, blockers and dependencies, then provide ASP.NET developers to deliver the phases with your team.