Skip to content

Conversation

@devin-ai-integration
Copy link

@devin-ai-integration devin-ai-integration bot commented Sep 23, 2025

NET-15: Create .NET Core 6 Web Application Project in COG-GTM/SampleMvcWebApp

Summary

Created a new .NET 6 Web Application project named "SampleWebApp.Core" as the foundation for migrating from the existing .NET Framework 4.5.1 MVC application. This implements the basic project structure and configuration without migrating actual functionality yet.

Key Changes:

  • Added new SampleWebApp.Core project targeting .NET 6 with nullable reference types and implicit usings enabled
  • Implemented minimal hosting model in Program.cs following .NET 6 best practices
  • Created environment-specific configuration files (appsettings.json variants)
  • Set up Properties/launchSettings.json with multiple launch profiles (Development, Staging, IIS Express)
  • Added project to existing solution file with all build configurations (Debug, Release, AzureRelease, WebWizRelease)
  • Created folder structure following .NET 6 conventions (Controllers/, Views/, Models/, wwwroot/)
  • Migrated connection string and basic settings from existing Web.config

Note: The new project is currently standalone (no project references to existing DataLayer/ServiceLayer) to ensure it builds successfully as a foundation. Future iterations will add the business logic integration.

Review & Testing Checklist for Human

  • Verify application starts and runs correctly - Test dotnet run in the SampleWebApp.Core directory and confirm the application is accessible via browser on the configured ports (https://localhost:7001, http://localhost:5001)
  • Validate configuration values - Review the connection string and other settings in appsettings.json to ensure they're appropriate for the new .NET 6 project (especially DatabaseLoginPrefix and HostTypeString)
  • Test solution integration on Windows - Verify the full solution still builds and works correctly on a Windows development environment where .NET Framework projects can build
  • Confirm requirements alignment - Validate that this foundation-only approach (no business logic migration yet, no project references) aligns with the intended scope for NET-15

Notes

  • The project builds successfully as a standalone .NET 6 application but the full solution build fails on Linux due to missing .NET Framework 4.5.1 reference assemblies
  • Entity Framework Core packages are included but not yet configured - this will be needed when integrating with existing data layer
  • Launch settings use different ports (7001/5001 vs existing 50623) to avoid conflicts during parallel development

Link to Devin run: https://app.devin.ai/sessions/76464a8d39144941a958ace863acb28e
Requested by: Shawn Azman (@ShawnAzman)

- Added new SDK-style project targeting net6.0
- Enabled nullable reference types and implicit usings
- Implemented minimal hosting model in Program.cs
- Created environment-specific appsettings.json files
- Set up Properties/launchSettings.json with multiple profiles
- Integrated project into existing solution with all build configurations
- Project builds and runs successfully as standalone .NET 6 application

Co-Authored-By: Shawn Azman <shawn.d.azman@gmail.com>
@devin-ai-integration
Copy link
Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant