Moving legacy .NET to .NET 10: compatibility analysis, upgrade tooling, WCF to gRPC/REST/CoreWCF, Web Forms to Razor/Blazor/SPA, Windows Service to Worker Service, EF6 to EF Core, strangler fig and incremental modernisation.
-
How would you ship a library to NuGet that supports both .NET Framework 4.8 and .NET 10, and how do you decide when to drop the net48 target?
Mid-Level
Coding
Migration Topics
-
Your Worker Service runs in Kubernetes and loses in-flight work on every deployment. How do you make shutdown graceful?
Mid-Level
Coding
Migration Topics
-
Before you migrate a .NET Framework application to .NET 10, how do you do the compatibility analysis? What do you check in the dependencies, the APIs you call, the NuGet packages and any Windows-only code, which tools do you use, and what does the output of that analysis look like?
Covers compatibility analysis before a .NET Framework to .NET 10 migration: dependency graphs, unsupported APIs (System.Web, WCF server, AppDomains, remoting), NuGet package support, Windows-only code, the tooling (GitHub Copilot app modernisation, the legacy Upgrade Assistant analyser, platform compatibility analysers) and turning findings into a migration backlog.
Intermediate
Theory
Migration Topics
Β· π 3 follow-ups
-
Walk me through migrating a shared class library and an ASP.NET MVC 5 app from .NET Framework 4.8 to .NET 10. How do you convert to SDK-style projects, use multi-targeting so the old app keeps working, and what does the upgrade tooling do for you versus what you change by hand? Show the before and after.
Hands-on migration of a class library and an MVC 5 app to .NET 10: converting to SDK-style projects, multi-targeting net48 and net10.0, packages.config to PackageReference, Global.asax and web.config to Program.cs and appsettings.json, and where GitHub Copilot app modernisation helps.
Mid-Level
Coding
Migration Topics
Β· π 3 follow-ups Β· π 1 real-world
-
You're porting several WCF services to .NET 10. How do the WCF building blocks translate: DataContracts, FaultContracts, sessions and duplex callbacks? For each service, how do you choose between gRPC, a REST API and CoreWCF, and what do you do about existing SOAP clients you don't control?
Covers translating WCF features to modern .NET (DataContract to protobuf or JSON, FaultContract to gRPC status or ProblemDetails, duplex to streaming or SignalR, sessions), choosing gRPC, REST or CoreWCF per service, and keeping external SOAP clients working.
Mid-Level
Theory
Migration Topics
Β· π 3 follow-ups Β· π 1 real-world
-
Show me how you would migrate a classic .NET Framework Windows Service (a ServiceBase class with a Timer and installutil) to a .NET 10 Worker Service that runs as a Windows service on the existing server and also in a Linux container. How do you handle start-up and shutdown, configuration, logging, scoped dependencies and installation?
Hands-on migration of a ServiceBase Windows Service to a .NET 10 Worker Service: BackgroundService with PeriodicTimer, AddWindowsService, graceful shutdown and HostOptions, scoped services via IServiceScopeFactory, EventLog vs console logging, sc.exe installation, and a container image for Linux.
Mid-Level
Coding
Migration Topics
Β· π 3 follow-ups Β· π 1 real-world
-
You own a large ASP.NET Web Forms application that the business still depends on. How would you migrate it to modern .NET? Compare Razor Pages, Blazor and a JavaScript SPA as targets, explain what makes Web Forms hard to migrate, and how you would move it page by page without a big-bang rewrite.
Covers Web Forms migration: why there is no automated path (ViewState, server controls, page lifecycle, code-behind business logic), comparing Razor Pages, Blazor (Server/WebAssembly/Auto) and an SPA, extracting logic first, page-by-page migration behind YARP with shared auth and session, and how to choose.
Senior
Theory
Migration Topics
Β· π 3 follow-ups Β· π 1 real-world
-
During an incremental migration from ASP.NET Framework 4.8 to ASP.NET Core 10, how do the System.Web adapters actually work? Explain the adapters for shared code, remote app session and remote authentication, how you set them up on both apps, their performance and security costs, and when you remove them.
Hands-on mechanics of Microsoft.AspNetCore.SystemWebAdapters during a strangler-fig migration: System.Web API surface for shared libraries, remote app session and remote authentication between the ASP.NET Core and Framework apps, the API key, session serialisation, performance cost, and the exit plan.
Senior
Architecture
Migration Topics
Β· π 3 follow-ups Β· π 1 real-world
-
Your .NET Framework app uses EF6 against an on-premises SQL Server, and you're moving it to .NET 10 on Azure. How do you migrate the database side alongside the app: running EF6 and EF Core against the same schema during the transition, moving the data to Azure SQL, handling data migrations, and planning the cutover and rollback?
Covers the database side of a legacy migration: keeping the schema stable while EF6 and EF Core coexist, scaffolding or hand-mapping EF Core, baselining migrations, moving on-premises SQL Server to Azure SQL Database or Managed Instance (DMS, log replay, bacpac), compatibility checks, data migrations, cutover and rollback.
Senior
Theory
Migration Topics
Β· π 3 follow-ups Β· π 1 real-world
-
You've been asked to lead the migration of a business-critical .NET Framework 4.8 application to .NET 10 on Azure. Walk me through how you'd run it: building the plan and the team, choosing the Azure landing zone, managing risk with the business, and how you'd define and measure success.
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).
Senior
RealWorldScenario
Migration Topics
Β· π 3 follow-ups Β· π 1 real-world
-
The business asks whether to rewrite a large, ageing .NET Framework system from scratch or modernise it incrementally. How do you make the business case: what do you analyse, how do you estimate each option, what risks do you put in front of the executives, and how do you decide? When is a rewrite actually the right call?
Staff-level decision on rewrite versus incremental modernisation: assessing the system (value, change rate, quality, knowledge), the hidden costs of rewrites (second-system effect, feature parity, frozen delivery), estimating options with ranges, a decision matrix including retain and replace-with-SaaS, presenting risk to executives, and when a rewrite is justified.
Staff / Architect
Architecture
Migration Topics
Β· π 3 follow-ups Β· π 1 real-world