Migrate ASP.NET MVC 5 application from .NET Framework 4.8 to .NET 8 #5
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.
Migrate ASP.NET MVC 5 application from .NET Framework 4.8 to .NET 8
Summary
This PR implements a complete migration of the ASP.NET MVC 5 application from .NET Framework 4.8 to .NET 8, representing a major architectural upgrade from legacy .NET Framework to modern .NET. The migration preserves the existing AngularJS frontend while modernizing the entire backend hosting model, configuration system, and project structure.
Key Changes:
The AngularJS frontend (components, directives, and dependencies) remains unchanged and functional.
Review & Testing Checklist for Human
🔴 High Priority (4 items)
End-to-End Functionality: Run
dotnet run --urls="http://localhost:5002"and verify at http://localhost:5002 that:Static File Serving: Verify all asset paths work correctly:
/WebApp/files (AngularJS components/directives)/Content/files (CSS)/node_modules/files (jQuery, AngularJS libraries)Build & Deployment: Test the application builds and runs in different environments:
dotnet clean && dotnet builddotnet run --environment=ProductionPerformance Impact: Compare page load performance vs original bundled approach:
Notes
Deviation from Plan: The original migration plan specified .NET 7 and WebOptimizer bundling, but the implementation uses .NET 8 with direct script references. This simplifies the bundling but may impact performance due to multiple HTTP requests instead of bundled assets.
Testing Completed: Basic functionality verified in development environment showing AngularJS components rendering correctly with .NET 8 backend.
Session Info: Requested by Jia Wu ([email protected])
Link to Devin run: https://app.devin.ai/sessions/cde3bc8efc754be38e20c47f271b7ebd