NET-15: Create .NET Core 6 Web Application Project in COG-GTM/SampleMvcWebApp #1
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-15: Create .NET Core 6 Web Application Project in COG-GTM/SampleMvcWebApp
Summary
This PR implements the foundation phase of migrating the existing .NET Framework 4.5.1 MVC application to .NET 6. Creates a new
SampleWebApp.Coreproject using modern .NET 6 patterns while preserving the existing application for parallel development and gradual migration.Key Changes:
SampleWebApp.Core/with SDK-style project format targeting net6.0The new project is intentionally minimal with basic HomeController returning simple content. Project references to DataLayer/ServiceLayer are commented out since those remain .NET Framework projects for now.
Review & Testing Checklist for Human
This is foundational infrastructure work with medium risk - please verify the following 2 items:
Build & Runtime Verification: Confirm
SampleWebApp.Corebuilds successfully (dotnet build SampleWebApp.Core/SampleWebApp.Core.csproj) and runs in Development environment (dotnet run --project SampleWebApp.Core --environment Development). Test that http://localhost:[port] returns "SampleWebApp.Core - .NET 6 Web Application is running!"Configuration Migration Accuracy: Compare
SampleWebApp.Core/appsettings.jsonconnection string and ApplicationSettings against originalSampleWebApp/Web.config(lines 13-22) to ensure values were migrated correctly, especially the database connection string and HostTypeString/DatabaseLoginPrefix settingsNotes
Session Details: