Migrating from .NET Framework to Modern .NET: Realistic Timeline and Scope
August 4, 2026
Microsoft's migration documentation describes a mechanical process: upgrade the project files, fix the breaking changes, update the packages. On a small, well-organized codebase, that's roughly right. On a production system with years of dependencies and several developers' worth of history, the migration is a new project that reuses your existing code.
What the work involves
You can't upgrade in place. The migration creates a new project, new hosting configuration and new data access configuration. The application code moves over a piece at a time, controller by controller and service by service, because many APIs that .NET Framework applications lean on heavily don't exist in modern .NET.
The core work:
- New SDK-style project files targeting the current runtime
- Fixing removed and changed APIs
- Replacing NuGet packages that have no modern version
- Rebuilding deployment and hosting configuration
- Testing that the application behaves exactly the same afterward
That last item takes most of the schedule, and it's the one most often left out of first estimates.
What makes it take longer
System.Web dependencies. Anything that depends on System.Web, including Web Forms, static HttpContext.Current calls and a range of session and authentication APIs, takes the most work. None of it has a direct replacement. The functionality has to be rebuilt a different way, not just renamed.
Web Forms is the extreme case. The UI layer has no migration path and gets rewritten no matter what happens to the business logic underneath.
Third-party packages with no modern version. These are common in older codebases. Some have successors that do the same job, and others are abandoned. Replacing one is rarely a simple swap, especially when the application leans on it heavily. Reporting engines and document generation come up again and again, and either one can take over the estimate.
Windows-specific code. Direct Windows API calls, COM interop, registry access and Windows service patterns need rework. The alternative is deciding to stay Windows-only and give up cross-platform hosting. That's a perfectly reasonable choice, as long as you make it on purpose instead of discovering it.
No automated tests. Without them, someone has to test the whole application by hand. That's slow, less reliable and adds weeks on a complex application. It's the biggest single factor in the estimate: the same application takes two to three times longer without tests.
Timelines and costs
These assume a developer who has done .NET migrations before. A team doing its first should expect the high end of each range.
- Small application. Under 50k lines, little
System.Webusage, current dependencies and reasonable test coverage: two to four weeks, $10,000–$13,000 - Medium application. Active business logic, some
System.Webusage, and a mix of current and dated dependencies: one to three months, $15,000–$25,000 - Large or complex application. Heavy
System.Webusage, legacy packages, Windows-specific integrations and lots of manual testing: three to six months, $35,000 and up
Large migrations go best in stages. That limits how much is at risk at any one time and lets you add tests ahead of each stage.
Find out which range you're in
A few days of inspection before you commit to a timeline will tell you which range applies. Find out:
- How many projects are in the solution, and which ones reference
System.Web - Every outside dependency, and whether each package has a modern version
- What tests exist and what they cover
- How much Windows-specific code there is
- Whether the class libraries and business logic can move separately from the web layer
That last point matters most on larger codebases. Moving the business logic and data access first and the web layer second cuts the risk a lot, and you can only tell whether it's possible by inspecting the code.
Paying for an audit before committing to the full migration is money well spent. Without one, a two-month commitment can turn into five.
When migration is worth it
.NET Framework isn't going away. It ships with Windows and still gets security updates. It doesn't get new features.
A newer version number alone doesn't justify a migration. The case is strongest when:
- The application needs features only modern .NET has
- You need to run it cross-platform or in containers
- The application is under active development and the team needs current tools and performance
- The platform is making it hard to hire
- Other parts of the current stack are reaching end of support themselves
For a stable, well-understood application that isn't under active development, migrating may not be the best use of the money. Before starting, name the specific problem the migration solves, in terms the person holding the budget can weigh.
Working through a problem like this?
Describe the system and where it's stuck. I'll tell you what the work actually involves.
Get in touch