BrainFeed Solutions
Web Design & DevelopmentDigital Marketing & SEOWorkflow Automation & IntegrationContent & BrandingOngoing Support & Optimisation

Specialisations

Shopify DevelopmentShopify MigrationShopify AI AutomationSaaS DevelopmentSaaS MVP DevelopmentMVP DevelopmentMobile App DevelopmentWordPress Development.NET Development
View all services  →
WorkVenturesAboutInsights
Book a free 30-min consultation  →
Book a call
BrainFeed Solutions

Senior-led digital strategy and AI-augmented delivery for growing businesses worldwide.

Services

Web Design & DevelopmentDigital Marketing & SEOWorkflow AutomationContent & BrandingOngoing Support & OptimisationShopify DevelopmentShopify MigrationShopify AI AutomationSaaS DevelopmentSaaS MVP DevelopmentMVP DevelopmentMobile App DevelopmentWordPress Development.NET DevelopmentShopify Development UAE

Company

About UsWorkVenturesInsightsFree ToolsContact Us

Legal

Privacy PolicyTerms & Conditions

Let's talk

hello@brainfeedsolutions.com+91 98986 66600

Ahmedabad, India

AU, Gulf, UK & US business hours covered

Replies within 1 business day

© 2026 BrainFeed Solutions. All rights reserved.

Privacy PolicyTerms & Conditions
Insights/MIGRATION & SCALING STORIES

Moving from .NET Framework to modern .NET: what we check before we start

Most .NET Framework apps can move to modern .NET. Six checks decide how, and whether you should, before the first line of code changes.

K

Kavi Nair · 7 min read · 25 November 2026

Cover for BrainFeed's .NET Framework to modern .NET article: six pre-migration check cards (NuGet packages, WCF, Web Forms, System.Web, Windows-only APIs, tests) and a .NET 10 LTS target box

Short answer: If you migrate, target .NET 10, and run six checks first: NuGet packages, WCF, Web Forms, System.Web, Windows-only APIs and test coverage. Together they decide whether to upgrade in place, run old and new side by side, or leave the app alone for now.

This article is for CTOs and owners who run a .NET Framework application that still earns its keep and are deciding what to do about it. This article is NOT for teams starting a new build (use current .NET and skip this) or anyone who wants a click-through tutorial.

We have built on .NET since 2009, and much of our .NET development work is moving older Framework systems forward in stages. The checks below are the ones we run first, in the order we run them.

Which target?

.NET 10 is the current long-term support release: Microsoft released it on 11 November 2025 and supports it until 14 November 2028. .NET 8 and .NET 9 both went out of support on 10 November 2026, so a plan that says "upgrade to .NET 8" now targets an unsupported runtime. .NET 11 shipped on 10 November 2026; for a business system, LTS is usually the calmer choice.

Microsoft calls moving ASP.NET Framework to ASP.NET Core "non-trivial for the majority of production apps". The reasons are common in long-lived applications: pervasive System.Web use, outdated packages, legacy build tooling, and session, authentication, logging and caching that work differently in ASP.NET Core.

1. NuGet packages

List every package. For each one, record the compatible assets for your target, the latest release date, open security advisories, the transitive chain, and the cost of replacing it.

  • packages.config is not supported on modern .NET. Projects move to PackageReference.
  • Do not judge by the target framework prefix alone. Inspect which assets the package actually offers for your target. A package that only offers net4x assets loads through a compatibility fallback and raises warning NU1701, which means "this may not work".
  • Libraries other libraries depend on go first. Microsoft says to upgrade in postorder depth-first order and multi-target while you do, so the old app keeps building:
<PropertyGroup>
  <TargetFrameworks>net48;net10.0</TargetFrameworks>
</PropertyGroup>
  • For ASP.NET Framework apps, Microsoft's guide says to update through Visual Studio's NuGet Package Manager, one package at a time, because the dotnet CLI does not work for those applications.

A common first surprise in the upgrades we assess is an abandoned library with no modern equivalent. That is a component rewrite, and it belongs in the estimate before anyone agrees a date.

2. WCF

CoreWCF, a community project supported by the .NET Foundation, ports the service side of WCF to modern .NET. Its packages now cover HTTP, NetTcp, named pipes, Unix domain sockets, and queued transports (MSMQ, Kafka, RabbitMQ), and its templates still target .NET Framework from 4.6.2, so you can move to CoreWCF in place first and carry it across later.

It is a subset of WCF, so check each binding, transport and security mode you use against the current packages, not against a feature list from an older release. For a new contract, Microsoft's own advice is to consider gRPC.

3. Web Forms

There is no Web Forms on ASP.NET Core. Microsoft's guide to moving to Blazor calls that migration "a time-consuming task that requires planning" and says it is easier when the app already separates the Web Forms layer from business logic. So ask how much logic lives in code-behind files. A clean business layer under .aspx pages is a UI replacement. SQL and rules inside button handlers is a much bigger job: you have to pull the logic out before you can replace anything.

4. System.Web

HttpContext.Current, Session, HttpModule, HttpHandler and Global.asax are all System.Web, which ASP.NET Core does not have. Search the solution for the namespace and count the files. That count is our first indicator, not a verdict. Then read how authentication, session and custom modules are wired, because a handful of files can still hide a tangled pipeline.

A typical pattern: a controller compiles after porting but fails at runtime, because session, authentication and an HttpModule were quietly one request pipeline. Microsoft ships a bridge, the Microsoft.AspNetCore.SystemWebAdapters package, so shared libraries can keep using HttpContext while both apps run. It buys time, but it keeps coupling to System.Web behaviour and adds complexity across two apps.

5. Windows-only APIs

Some technologies are gone. On .NET 6 and later, Remoting, System.EnterpriseServices and Windows Workflow Foundation are unavailable (CoreWF is the community alternative). Creating additional AppDomains is unsupported and CreateDomain throws, although part of the AppDomain API surface still exists.

Others exist but only on Windows: the registry, WMI, the Event Log, and the GDI+ types in System.Drawing.Common (its primitive types are cross-platform). Check System.DirectoryServices packages one by one. The Microsoft.Windows.Compatibility package brings Windows-only APIs across so you can move to modern .NET while staying on Windows. It does not make them cross-platform.

The real question is whether you need to leave Windows. Windows containers are still an option, so containers alone do not force that. If you do need Linux, removing the Windows dependencies is a separate workstream that may set the schedule.

6. Test coverage

Most of these apps have little automated testing, and that is what makes a framework change frightening. Before you move anything, add characterisation tests around business-critical behaviour: the checkout, the invoice run, the API your partners call. They do not have to be pretty. They have to fail when behaviour changes.

Automated characterisation tests are our first choice. Traffic replay or shadow comparison can stand in for a route that cannot be tested directly, but a route with no control at all should not move.

In place or side by side?

Checks 1 to 5 shape the route. Check 6 sets your delivery risk, and it also affects the route: weak tests push toward side by side. Microsoft's decision guide recommends incremental migration for large production apps and for apps with heavy or uncertain dependencies. Here is how each check pushes the decision:

  • Small app, few packages, little System.Web: upgrade in place, one branch, one cut-over.
  • Pervasive System.Web: side by side, with the adapters.
  • Web Forms present: usually side by side (a small Web Forms app can still move in one cut-over), so the rest of the app moves first and the UI replacement is its own project.
  • Heavy WCF: where CoreWCF covers the features in use, move to it in place on Framework first, which splits the risk.
  • Windows-only dependencies: if staying on Windows is fine, the compatibility package keeps this off the critical path. If not, plan for it.
  • Weak tests or no downtime window: side by side, and tests before anything moves. Test coverage shapes both the route and the delivery risk.

The side-by-side route, the strangler pattern, works like this:

  1. Stand up a new ASP.NET Core app in front of the old one, proxying every request with YARP (Yet Another Reverse Proxy).
  2. Move one route, feature or API at a time into the new app. The proxy sends those to the new code and the rest to the old app.
  3. Share identity while both run. Microsoft describes remote authentication, where the new app defers to the old one. Depending on how the old app signs users in, shared cookies can be another option.
  4. When the last route has moved, switch the old app off.
{
  "ReverseProxy": {
    "Routes": {
      "legacy": {
        "ClusterId": "legacyApp",
        "Match": { "Path": "{**catch-all}" }
      }
    },
    "Clusters": {
      "legacyApp": {
        "Destinations": {
          "d1": { "Address": "http://legacy-app.internal/" }
        }
      }
    }
  }
}

The trade: you run two applications for the length of the migration and pay to keep them in step. What you gain is that you avoid one application-wide cut-over.

What breaks in production

A build that compiles and passes review can still fail on the first busy day. Watch these:

  • Session state. In-process session behind several instances loses data unless you use sticky sessions or shared storage.
  • Authentication. Whether a user is logged out depends on where authentication state lives, and cookies the old and new apps cannot read from each other cause that separately.
  • Configuration. A value that moved from web.config to appsettings.json and was silently lost.
  • Background jobs. IIS-hosted scheduling assumptions do not become ASP.NET Core hosted services or an external scheduler on their own.

None of them show up in a build.

When not to migrate

Do not migrate for the sake of it. .NET Framework 4.8 and 4.8.1 are supported as a component of the Windows version they run on, and Microsoft's product page lists no end date for them. A stable internal application can stay where it is if the Windows version is supported and patched, the security exposure is understood, its dependencies are still supported, and the team that understands it is still around. A big-bang in-place upgrade of a large, System.Web-heavy app is the case Microsoft's guidance steers you away from. Older Framework versions are on a clock: 4.6.2 ends on 12 January 2027, so confirm which version you are on.

Where to start

Run a short, time-boxed inventory: packages, System.Web file count, WCF and Web Forms use, Windows-only calls, and existing tests. The output is a dependency inventory, an unsupported-API report, a migration-path recommendation, a risk register and a bounded estimate for the next step. We do that as the first step of our .NET upgrade work, and we will say plainly if the answer is "stay put".

On this page

  • Which target?
  • 1. NuGet packages
  • 2. WCF
  • 3. Web Forms
  • 4. System.Web
  • 5. Windows-only APIs
  • 6. Test coverage
  • In place or side by side?
  • What breaks in production
  • When not to migrate
  • Where to start

Share

Browse by topic

  • Build Decisions
  • Shopify Engineering
  • SaaS Infrastructure & Payments
  • Migration & Scaling Stories
  • Digital Strategy
  • SEO & Content
  • AI & Automation
  • Healthcare
  • Recruitment
  • Web & Design
KN

Kavi Nair

Content & SEO

15 years shipping product. Senior-led teams, AI-augmented delivery, AU & US clients. I write about the things we ship — and the things we wish we hadn't.

Follow Kavi

Get new posts the day they go up.

Follow on LinkedInMore articles by Kavi  →

Keep reading

Related articles

Comparison of Shopify Advanced and Plus limits: staff accounts 15 vs unlimited, inventory locations 10 vs 200, B2B catalogs 3 vs unlimited, under the headline Buy Plus for the limit, not the price

SHOPIFY ENGINEERING

Shopify Plus Pricing in 2026: What It Costs and What the Move Adds

Shopify Plus is $2,300 a month on a 3-year term. Here is what that buys over Advanced, what sits outside the fee, and when staying put is the better call.

K

Kavi · 8 min read · November 19, 2026

Bar chart comparing a short bar for the quote with a much taller bar for the real cost over three years, stacked as build, changes, maintenance and rework.

WEB & DESIGN

How to Choose a Cost-Effective Web Development Agency in 2026

Learn how to compare web development agencies by total cost, team seniority, scope, technology and post-launch support - not just the cheapest quote.

P

Pratik · 7 min read · November 13, 2026

SHOPIFY ENGINEERING

Shopify Scripts Stopped Running on 30 June. What to Rebuild as Functions

Shopify Scripts stopped running on 30 June 2026. A rebuild map for discounts, shipping and payments, the Function limits, and what to drop.

K

Kavi · 4 min read · November 12, 2026

Newsletter

Enjoyed this? Get the next one in your inbox.

Two emails a month. Plain-language playbooks. Unsubscribe anytime.

No spam. We respect your privacy — see our Privacy Policy.

Want to apply this to your business?

Book a free 30-min consultation. We'll talk about your specific situation.

Book a free 30-min consultation