NET Core Application Modernization - Dependency Upgrade (3.1 to 8.0)

NET Core


Objective

Modernize legacy NET Application for maintainability and new feature enhancements.

Technical Goals/Overview

Minimal changes to update application components (dependencies, code base, and database) to upgrade to latest NET Core LTS (8.0 from NET Core 3.1).

Summary: Technical Implementation

1) Update dependencies (net core 3.1 to 8.0). This includes dependency changes to:

  • .csproj (dotnet upgrade tool)
  • global.json
  • Dockerfile

2) Update database version (MySQL 5.7 to 8.0)

  • .csproj (update MySQL dependencies)
  • code changes to correctly initialize mysql connection

3) Troubleshoot and fix build errors and runtime failures

  • update needed code, environment, and configuration settings for updated versions of MySQL and .NET Core
  • (dev env enhancement) support for local development using HTTPS

Overall, the technical implementation focused on successfully navigating and trouble shooting issues (build and runtime) encountered to continue development and long term support of NET Core web application.

Skills Footprint:

Category Technical Specifics
general Dependency Maintenance
standards Clean Code * OWASP
tools VSCode * Docker * GIT * BASH * SSH * CSharp * .NET Core
concepts Security * Troubleshooting * Performance
packages dotnet cli