A leadership-level walkthrough of a business-critical .NET Framework to .NET 10 on Azure migration: discovery and baseline, phased plan, team and ways of working, Azure hosting and security choices (App Service or Container Apps, Key Vault, managed identity, Australia East), risk register, stakeholder communication, and success measures (DORA, SLOs, cost, decommissioning).
I'd run it as a business programme with an engineering core. First discovery and a baseline: who uses it, its SLOs, error rates, costs, dependencies and owners. Then agree what success means in business terms: no SLO regression, faster and safer releases, lower hosting cost, better security posture (Essential Eight), and the legacy app switched off by a date.
The plan is incremental: thin slices behind YARP, a visible first win within weeks, new features built in the new stack. On Azure, I'd land in Australia East with App Service or Container Apps, Azure SQL, Key Vault and managed identity, Entra ID and infrastructure as code. A risk register owned with the business and go/no-go criteria for every cutover keep it honest. The trade-off: running two systems for months costs money, but it is far cheaper than a failed big-bang cutover of a revenue-critical system.
"I'd treat it as a business change that happens to involve a lot of engineering. The first month is discovery: talk to the owners and the support team, map dependencies and integrations, and capture a baseline from production: request volumes, p95 latency, error rate, incident history, hosting and licence costs. Without that baseline, nobody can say later whether the migration succeeded.
Then I agree success criteria with the sponsor, in their language: no regression in availability or latency; releases going from [monthly] to [weekly or better]; hosting cost down by a target; security gaps closed, such as secrets out of config files and MFA everywhere for Essential Eight; and the old servers decommissioned by a date. For example, at [company] I [led the migration of a revenue-critical MVC 5 app to .NET 10 on Azure with a team of N]; we [shipped the first migrated slice in week X] and [decommissioned the old servers after Y months], with [result: availability, cost, release frequency].
The plan itself is incremental: the strangler fig with YARP, the lowest-risk high-traffic slice first to prove the pipeline, and new features built in the new stack so we're not maintaining two versions. The Azure landing is boring on purpose: App Service or Container Apps in Australia East, Azure SQL, Key Vault with managed identity, Entra ID, private endpoints, and everything in Bicep. The mistake I see in leading these is going quiet for six months. I demo every sprint, report progress as the percentage of traffic on the new stack, and every cutover has written go/no-go criteria. That's how you keep the business's trust and the funding."
| Phase | Duration (typical) | Output |
|---|---|---|
| Discovery and baseline | 3–6 weeks | Dependency map, compatibility analysis, baseline metrics, risk register, estimate |
| Foundations | 4–8 weeks | Azure landing zone in IaC, CI/CD, observability, YARP front door, shared auth |
| Incremental migration | Months | Slices moved route by route, each with go/no-go |
| Decommission | 1–2 months | Legacy traffic at zero, servers and licences removed, docs and runbooks updated |
| Measure | Baseline source | Target example |
|---|---|---|
| Availability / p95 latency per key route | Application Insights / IIS logs | No regression; p95 -30% |
| Change failure rate, deployment frequency, lead time (DORA) | Release history | Weekly releases, CFR < 15% |
| Hosting + licence cost | Invoices | -25% after decommission |
| Security findings | Pen test, Essential Eight assessment | Secrets in Key Vault, MFA, patched runtime |
| % traffic on new stack | YARP / App Insights | 100% by target date |
In a migration like this, a team of five moved a 60-route MVC 5 app over eight months: first slice live in week six, 50% of traffic by month four, and old servers switched off in month nine. Releases went from monthly to several a week, p95 dropped from 650 ms to 240 ms, and hosting cost fell about 30% after the Windows VMs and SQL Server licences were retired.
Checks that the candidate can lead, not just code, a high-stakes migration: plan, risk, stakeholders and measurable success.
Green flags
Red flags
People sponsor, product owner, support, ops, security, users
System projects, packages, integrations (files, queues, SOAP, DB links)
Runtime traffic by route, peak times, batch windows, SLOs
Risk incidents, known bugs, undocumented behaviour, key-person risk
Money hosting, licences, support contracts, cost of delay
Query Store and IIS logs tell you which routes and queries matter; often 20% of routes carry 80% of traffic and 30% are dead.
Good criteria are measurable, owned and include an end state (legacy decommissioned). Pair outcome metrics (SLOs, DORA, cost) with guardrails (no data loss, no SLO breach during cutover). Write them in the business case so the scope can't drift silently.
| Concern | Typical choice | Why |
|---|---|---|
| Compute | App Service (Linux) or Container Apps | PaaS, slots or revisions for safe deploys |
| Region | Australia East, DR in Australia Southeast | Latency and data residency |
| Data | Azure SQL Database / Managed Instance | Managed backups, HA |
| Secrets | Key Vault + managed identity | No secrets in config |
| Identity | Entra ID / Entra External ID | MFA, conditional access |
| Network | VNet integration, private endpoints, Front Door/WAF | Reduce exposure |
| IaC | Bicep or Terraform, pipelines with approvals | Repeatable, reviewable |
| Observability | Application Insights / Azure Monitor with OpenTelemetry | Compare old and new |
Keep a living risk register with likelihood, impact, owner and mitigation. Typical top risks: undocumented behaviour (mitigation: characterisation tests, shadow traffic), data loss at cutover (rehearsed runbooks, backups, reconciliation queries), key-person dependency (pairing, docs), third-party library blockers (found in discovery), and scope creep into a redesign (change control).
A small, stable team (4–7) with at least one person who knows the old system deeply. Pair legacy experts with modern .NET developers. Agree a definition of done for a slice: tests, telemetry, runbook, go/no-go, rollback path.
Sprint demos, a one-page monthly update (traffic migrated, metrics vs baseline, top risks, decisions needed), and go/no-go meetings before each cutover with the business owner in the room.
Go/no-go criteria expressed as data so the pipeline can check them (a simple pattern I use for each cutover):
namespace Contoso.Migration.Gates;
public sealed record RouteMetrics(string Route, double P95Ms, double ErrorRate, long Requests);
public sealed record CutoverGate(double MaxP95RegressionPercent, double MaxErrorRate, long MinShadowRequests);
public static class GoNoGo
{
// Compares the new stack (shadow or canary traffic) with the legacy baseline for one route
public static (bool Go, IReadOnlyList<string> Reasons) Evaluate(
RouteMetrics legacy, RouteMetrics modern, CutoverGate gate)
{
var reasons = new List<string>();
if (modern.Requests < gate.MinShadowRequests)
reasons.Add($"Only {modern.Requests} requests observed; need {gate.MinShadowRequests}.");
var regression = (modern.P95Ms - legacy.P95Ms) / legacy.P95Ms * 100;
if (regression > gate.MaxP95RegressionPercent)
reasons.Add($"p95 regressed {regression:F1}% ({legacy.P95Ms:F0} ms -> {modern.P95Ms:F0} ms).");
if (modern.ErrorRate > gate.MaxErrorRate)
reasons.Add($"Error rate {modern.ErrorRate:P2} exceeds {gate.MaxErrorRate:P2}.");
return (reasons.Count == 0, reasons);
}
}
The query that feeds it, comparing old and new per route in Application Insights (both apps report to the same workspace with a cloud_RoleName):
requests
| where timestamp > ago(7d)
| where name == "GET /claims/{id}"
| summarize p95 = percentile(duration, 95),
errorRate = countif(success == false) * 1.0 / count(),
requests = count()
by cloud_RoleName // "claims-legacy" vs "claims-net10"
The landing zone core in Bicep: App Service with managed identity reading Key Vault, in Australia East.
param location string = 'australiaeast'
resource plan 'Microsoft.Web/serverfarms@2023-12-01' = {
name: 'asp-claims-prod'
location: location
sku: { name: 'P1v3' }
kind: 'linux'
properties: { reserved: true }
}
resource app 'Microsoft.Web/sites@2023-12-01' = {
name: 'app-claims-prod'
location: location
identity: { type: 'SystemAssigned' } // no secrets: the app authenticates as itself
properties: {
serverFarmId: plan.id
httpsOnly: true
siteConfig: {
linuxFxVersion: 'DOTNETCORE|10.0'
minTlsVersion: '1.2'
ftpsState: 'Disabled'
}
}
}
Leading a migration is mostly about managing uncertainty and trust. The engineering is well understood; what sinks these programmes is unclear success criteria, invisible progress and scope creep. I make progress visible (traffic migrated), make risks explicit (register reviewed with the sponsor), and make decisions reversible (YARP routing, feature flags, rehearsed rollbacks). I also plan for the end: decommissioning is part of the scope, because the savings only arrive when the old servers are switched off.
Team and roles. A tech lead who owns the plan and the architecture decisions, at least one legacy expert who knows the undocumented behaviour, modern .NET developers paired with them, a tester who owns characterisation and acceptance tests, and a product owner who can say no. Scope control. The rule is 'migrate, then improve': emergent requirements are welcome but go into the backlog with an estimate, and the sponsor decides whether they displace migration work. Acceptance. Each slice is accepted by real users (UAT on a staging slot, then a canary with a small percentage of traffic) before full cutover. Security. Use the migration to close gaps: Entra ID with MFA and conditional access, secrets in Key Vault, patched supported runtimes (.NET 10 LTS), Defender for Cloud recommendations, all of which map to Essential Eight controls the auditors already ask about.
| Decision | Option | When it fits | When not to |
|---|---|---|---|
| Compute | App Service | Web apps, simple ops, deployment slots | Many services, need for scale-to-zero |
| Compute | Container Apps | Several services, workers, KEDA scaling | Team new to containers and short on time |
| Approach | Incremental (strangler fig) | Business-critical, must keep shipping | Small app with good tests |
| Approach | Rehost first (lift and shift to Azure VMs) | Data-centre exit deadline | Goal is modernisation and cost reduction |
I wouldn't rewrite it. I'd use the strangler fig pattern: put a new ASP.NET Core 10 app in front, with YARP proxying every route it doesn't handle yet to the old .NET Framework 4.8 app. Then I move features route by route, starting with slices that are valuable and loosely coupled, while the team keeps shipping.
The tricky parts are shared state: I use System.Web adapters to share authentication and session between the two apps, multi-target shared libraries to .NET Standard 2.0, and keep one database until the code has moved, so I'm never migrating code and data in the same step.
I measure progress by the percentage of traffic served by the new app, legacy code deleted, and error rate and p95 per migrated route, with a flag to send a route back.
The trade-off: running two apps for a while costs effort, but every step is small and reversible.
Compatibility analysis answers "what breaks, and how much will it cost to fix?" before anyone changes a project file. I map the project dependency graph so I can migrate leaves first, then check three things per project: APIs with no .NET 10 equivalent (System.Web, WCF server hosting, AppDomains, Remoting, CAS), NuGet packages without a netstandard2.0 or modern target, and Windows-only code (registry, WMI, System.Drawing, COM) that the CA1416 platform analyser flags.
Tooling helps: GitHub Copilot app modernisation is Microsoft's current assistant (the .NET Upgrade Assistant was deprecated in late 2025), and analysers find the rest. The output is a costed backlog of blockers, replacements and effort per project. The trade-off: a week of analysis feels slow, but it is far cheaper than discovering a blocker halfway through a migration.
Technical debt is the future cost of a shortcut, and the interest is the extra effort or risk it adds every time we work near it. I make it visible in a debt register with each item's impact, how often we pay its interest (change frequency, incidents, delays) and a rough cost to fix. I prioritise by interest, not by how ugly the code is: debt in a hotspot that slows every feature beats a messy module nobody touches. I get time by explaining it in business terms (lead time, incident risk, cost), by reserving a steady share of capacity, and by pairing debt fixes with features that touch the same area.
How to tell it (STAR)
**S:** I took over a migration of [a pricing app] that was stuck at about 40% after [ten months]. **T:** The sponsor was questioning the cost of running two systems, and I had to get it moving again. **A:** I rebuilt the baseline from production telemetry and found most of the remaining traffic on [eight] routes, with [25] routes not used at all. I agreed new success criteria with the sponsor, including switching the old servers off by a date, deleted the dead routes, and planned the heavy ones as the next increments with go/no-go gates. **R:** We reached 100% in [four months], decommissioned the servers, and cut [about 30%] from hosting costs; dual-running cost became a line in every monthly report.
Last updated 23 Nov 2026.