Skip to content

Migrate to .NET 9 - #1

Open
douglasjordan2024 wants to merge 2 commits into
update-to-latest-versionsfrom
updating-to-dot-net-9
Open

Migrate to .NET 9#1
douglasjordan2024 wants to merge 2 commits into
update-to-latest-versionsfrom
updating-to-dot-net-9

Conversation

@douglasjordan2024

Copy link
Copy Markdown
Collaborator

This commit upgrades the project from .NET 6 to .NET 9 with the following changes:

Framework and SDK

  • Updated TargetFramework from net6.0 to net9.0
  • Added global.json to pin SDK version to 9.0.203
  • Updated GitHub Actions workflow to use .NET 9.0.x SDK

Package Updates

  • Removed deprecated AutoMapper.Extensions.Microsoft.DependencyInjection
  • Replaced Microsoft.AspNetCore.Mvc.Versioning 5.0.0 with Asp.Versioning.Mvc 8.1.0
  • Replaced Microsoft.AspNetCore.Mvc.Versioning.ApiExplorer 5.0.0 with Asp.Versioning.Mvc.ApiExplorer 8.1.0
  • Updated AutoMapper from 11.0.1 to 13.0.1
  • Updated Microsoft.AspNetCore.Mvc.NewtonsoftJson from 6.0.8 to 9.0.0
  • Updated Microsoft.EntityFrameworkCore.InMemory from 6.0.8 to 9.0.0
  • Updated Swashbuckle.AspNetCore from 6.4.0 to 7.2.0
  • Updated System.Linq.Dynamic.Core from 1.2.19 to 1.5.0

Code Changes

  • Updated namespace imports from Microsoft.AspNetCore.Mvc.Versioning to Asp.Versioning
  • Updated namespace imports from Microsoft.AspNetCore.Mvc.ApiExplorer to Asp.Versioning.ApiExplorer
  • Changed AddVersionedApiExplorer() to chained .AddApiExplorer() call in VersioningExtension
  • Added Asp.Versioning using statement to controllers

Validation

  • Build: Successful
  • Runtime: Application starts without errors
  • API v1 and v2 endpoints: Functional
  • Swagger: Working in Development mode

Generated with Claude Code

This commit upgrades the project from .NET 6 to .NET 9 with the following changes:

## Framework and SDK
- Updated TargetFramework from net6.0 to net9.0
- Added global.json to pin SDK version to 9.0.203
- Updated GitHub Actions workflow to use .NET 9.0.x SDK

## Package Updates
- Removed deprecated AutoMapper.Extensions.Microsoft.DependencyInjection
- Replaced Microsoft.AspNetCore.Mvc.Versioning 5.0.0 with Asp.Versioning.Mvc 8.1.0
- Replaced Microsoft.AspNetCore.Mvc.Versioning.ApiExplorer 5.0.0 with Asp.Versioning.Mvc.ApiExplorer 8.1.0
- Updated AutoMapper from 11.0.1 to 13.0.1
- Updated Microsoft.AspNetCore.Mvc.NewtonsoftJson from 6.0.8 to 9.0.0
- Updated Microsoft.EntityFrameworkCore.InMemory from 6.0.8 to 9.0.0
- Updated Swashbuckle.AspNetCore from 6.4.0 to 7.2.0
- Updated System.Linq.Dynamic.Core from 1.2.19 to 1.5.0

## Code Changes
- Updated namespace imports from Microsoft.AspNetCore.Mvc.Versioning to Asp.Versioning
- Updated namespace imports from Microsoft.AspNetCore.Mvc.ApiExplorer to Asp.Versioning.ApiExplorer
- Changed AddVersionedApiExplorer() to chained .AddApiExplorer() call in VersioningExtension
- Added Asp.Versioning using statement to controllers

## Validation
- Build: Successful
- Runtime: Application starts without errors
- API v1 and v2 endpoints: Functional
- Swagger: Working in Development mode

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Added CLAUDE.md with project overview and architecture documentation
- Added MigrationPlan.md with migration details
- Added .claude/ directory with custom commands

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
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