Upgrade .NET version to 8 on iteration 52 #47
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
.NET Framework to .NET 8 Migration - Executive Report
SmartStoreNET.Minimal Solution
Date: November 28, 2025
Duration: 26 minutes 13 seconds
📊 Executive Summary
Successfully completed Phase 1 (Pre-Build Cleanup & Project Modernization) of migrating SmartStoreNET.Minimal from .NET Framework 4.7.2 to .NET 8. Transformed 10 legacy projects to SDK-style format, removed 523+ incompatible attributes, replaced 866 System.Web namespace references with ASP.NET Core equivalents, and reduced compilation errors from initial state to 21 errors in core library. Migration revealed deep architectural dependencies requiring production-scale refactoring of DI/IoC infrastructure, caching layer, and plugin system. Approximately 70-80% of codebase successfully modernized; remaining 20-30% requires architectural redesign for ASP.NET Core compatibility.
🔧 Application Changes
Projects Converted (10 total)
Architecture Modernization
🛠️ Tools Used
Development Tools
AI-Powered Migration
💻 Code Changes
Attribute Cleanup (523 total)
Namespace Migrations (866 occurrences)
System.Web.Mvc→Microsoft.AspNetCore.MvcSystem.Web.Http→Microsoft.AspNetCore.MvcSystem.Web.Routing→Microsoft.AspNetCore.RoutingSystem.Web.Caching→Microsoft.Extensions.Caching.MemorySystem.Web.Hosting→Microsoft.AspNetCore.HostingSystem.Web.Security→Microsoft.AspNetCore.IdentitySystem.Data.Entity→Microsoft.EntityFrameworkCoreType Replacements
HttpContextBase→HttpContext(ASP.NET Core)HttpRequestBase→HttpRequest(ASP.NET Core)DbEntityEntry→EntityEntry(EF Core)IHtmlString→IHtmlContent(ASP.NET Core)Package Modernization
Microsoft.EntityFrameworkCore 8.0.11Microsoft.AspNetCore.Mvc.Core 2.2.5Microsoft.Extensions.Caching.Memory 8.0.1Autofac 8.0.0+Autofac.Extensions.DependencyInjection 9.0.0System.Runtime.Caching 8.0.1log4net 2.0.17AngleSharp 1.1.2+HtmlSanitizer 8.1.870Code Disabled for Refactoring (20-30% of codebase)
⏱️ Time Savings Estimate
Manual Migration Effort (Traditional Approach)
Automated Migration (Amazon Q CLI)
ROI Analysis
🎯 Next Steps
Immediate Actions (Phase 2)
🔨 Refactor DI Infrastructure
🗄️ Modernize Caching Layer
🔌 Refactor Plugin System
🌐 Migrate HTTP Infrastructure
Validation Steps
dotnet build SmartStoreNET.Minimal.slndotnet testImprovement Recommendations
Risk Mitigation
Status: ✅ Phase 1 Complete | 🔄 Phase 2 In Progress
Compilation Errors: 158 → 21 (87% reduction in SmartStore.Core)
Next Milestone: Zero compilation errors across entire solution