nopCommerce 3.90 is a good stand-in for the kind of system many companies still run: an open-source e-commerce platform on .NET Framework 4.5.1 and ASP.NET MVC 5, 31 projects, about 219,000 lines of C#, a plugin system, Entity Framework 6 and Autofac. The nopCommerce team moved later versions to ASP.NET Core themselves, so the move is clearly possible. The question for a team in that position is how big it is and where to begin.
I ran Tessera over the 3.90 source. The scan took about five seconds. These are the findings that matter, and the ones that only look like they do.
The headline numbers
| Measure | nopCommerce 3.90 |
|---|---|
| Projects | 31 (2 web applications, 4 libraries, 20 plugins, 5 test projects) |
| C# lines | 219,388 in 1,729 files |
| Hard blockers | 56 (high severity) |
| NuGet packages | 62: 7 ready, 3 need an upgrade, 37 must be replaced, 15 can be removed |
| Readiness | 0 projects can simply be retargeted; 21 need work, 10 need rework |
| Effort range | 320 to 573 person-days |
The raw counts look worse than the situation is. Tessera found 984 things to look at, but 755 of them are Razor views and MVC types in models: real work, but mechanical work that people do quickly. The 56 hard blockers are what decide the plan.
The blockers that decide the plan
1. System.Web types in the core library (47 places, 10 projects)
Nop.Core is the library everything else builds on: all 30 other projects depend on it, directly or through others. And it is tied to System.Web. WebHelper takes an HttpContextBase in its constructor, and PerRequestCacheManager keeps its per-request cache in HttpContextBase.Items.
public partial class WebHelper : IWebHelper
{
private readonly HttpContextBase _httpContext;
public WebHelper(HttpContextBase httpContext)
{
...
HttpContextBase exists only in System.Web. As long as Nop.Core mentions it, Nop.Core cannot target netstandard2.0 or .NET 8, and so nothing that depends on it can either. That one detail turns 31 projects into a single block that can only move all at once.
The good news is that nopCommerce already did half the work: WebHelper hides most request access behind IWebHelper. Finishing that job, so that Nop.Core talks only to its own interfaces and the System.Web implementations move up into Nop.Web.Framework, is what lets the libraries move first. Tessera puts this at the top of the order of attack for that reason.
2. HttpContext.Current (8 places)
Static access to the current request does not exist in ASP.NET Core. In nopCommerce it is rare and well contained: the dependency registration in Nop.Web.Framework, Autofac's request scope in ContainerManager, MiniProfiler in Global.asax, and the PayPal Standard plugin reading the user agent. Eight places is a few hours of work, not a project. Many older in-house applications are much worse here, with HttpContext.Current.Session spread across service classes. More on that in a separate article.
3. Global.asax (1 file)
Application start-up, error handling and the MiniProfiler hooks live in Global.asax.cs. In ASP.NET Core they become Program.cs and middleware. One file, but it touches everything that starts the application, so it moves together with the web projects, not before.
What looks scary but isn't
138 controllers, filters and helpers. MVC 5 and ASP.NET Core MVC are close relatives. Controllers mostly change their base class and their using lines; filters and HTML helpers need more thought. Tessera follows inheritance through nopCommerce's own BasePluginController and BaseAdminController, so plugin controllers are counted correctly rather than missed.
555 Razor views. Views need checking, not rewriting. Most changes are helpers (Html.Partial to tag helpers or PartialAsync) and the way plugins locate their views.
37 packages to replace. More than a third are the ASP.NET packages themselves and their MVC add-ons (Microsoft.AspNet.Mvc, Microsoft.AspNet.WebApi.*, Microsoft.Owin.*, Autofac.Mvc5, FluentValidation.MVC5), which are replaced by what ASP.NET Core already has when the web layer moves. The real decisions are the others: DotNetOpenAuth (abandoned, replaced by ASP.NET Core authentication handlers), ImageResizer (System.Web-only, ImageSharp or SkiaSharp instead), iTextSharp 5 (abandoned; iText 7 under its AGPL or commercial licence, or QuestPDF) and SQL Server Compact (gone; SQLite or LocalDB). Each of those is a small project with its own testing.
Unused code. Tessera found only 5 unused types, 182 lines in total. nopCommerce is well maintained. In older in-house systems this number is often much higher, and deleting that code before the move is the cheapest saving there is.
The order of attack
- Clean up packages. Drop the 15 that modern .NET doesn't need, upgrade the 3 that have newer versions, pick replacements for the abandoned ones.
- Cut
Nop.Coreloose from System.Web. MoveHttpContextBaseuse behind interfaces. Small change, large effect: it unblocks 30 projects. - Retarget the libraries and tests to
netstandard2.0or .NET 8, while the application still runs on .NET Framework. Each step ships on its own. - Port the web projects and plugins to ASP.NET Core: controllers, filters, views, start-up, authentication.
Steps 1 to 3 can go to production one at a time, with the old site still running. Only step 4 is a cut-over.
About the effort range, and how it compares with reality
Here we can check the estimate against what actually happened. nopCommerce's own move to ASP.NET Core shipped as version 4.00 in November 2017, eight months after 3.90. The public history shows four main developers, and 323 developer-days on which someone committed code. That is a floor, not the full cost: people work on days they don't commit, and that release also contained new features.
Tessera puts the move at 320 to 573 person-days. It counts what is there, multiplies by hours per occurrence (with more weight for code that many projects depend on), and adds a share for the build fixes, review and retesting that grow with the size of the code. The same method was checked against three other public migrations: Umbraco 8 to 9, SmartStoreNET to Smartstore 5, and Exceptionless 4 to 5.
What about AI?
All four of those migrations were done by hand, before AI coding agents were good enough to help. So the report also gives a second range for a team that uses them well: 206 to 483 person-days here. Each area keeps a share of its hours. Mechanical rewrites of views, controllers and project files shrink the most, package replacements less, and testing and review hardly at all, because someone still has to make sure the shop takes orders. There is no public record of an AI-assisted migration to check these shares against yet, so they are judgement, and the report says so.
It still does not know your team, your tests or how much of the plugin ecosystem you actually use, so it gives a range, not a quote. What the scan does give you is the shape of the work, the order to do it in, and the one place where a few days of effort decide whether the rest can happen step by step.
The full 24-page report for this scan, with every finding, file and line, is on the Tessera page.