Skip to content

Upgrade to .NET 8 #50

@Tieantono

Description

@Tieantono

Description

To always keep our .NET project template up to date with the latest framework and packages update so we could get the benefits of newer versions, we would need to update the framework version from .NET 6 to .NET 8, along with the used packages. The update will be tested both manually by the assignees and maintainer and automatically through CI/CD pipelines.

Version Changes

Below are the details of frameworks and dependencies' version changes:

Name Type From To
.NET Framework 6.0 8.0
FluentValidation Package 11.2.2 11.9.0
FluentValidation.DependencyInjectionExtensions Package 11.2.2 11.9.0
MassTransit.RabbitMQ Package 8.0.7 8.2.0
MediatR Package 11.0.0 12.2.0
Microsoft.Extensions.Diagnostics.HealthChecks.EntityFrameworkCore Package 6.0.10 8.0.3
OpenIddict.AspNetCore Package 3.1.1 5.4.0
OpenIddict.Quartz Package 3.1.1 5.4.0
Quartz.Extensions.Hosting Package 3.5.0 3.8.1
Sentry.Serilog Package 3.22.0 4.2.1
Serilog.AspNetCore Package 6.0.1 8.0.1
MediatR.Contracts Package 1.0.1 2.0.1
Microsoft.AspNetCore.DataProtection.EntityFrameworkCore Package 6.0.10 8.0.3
Microsoft.AspNetCore.Identity.EntityFrameworkCore Package 6.0.10 8.0.3
Microsoft.EntityFrameworkCore Package 6.0.10 8.0.3
Microsoft.EntityFrameworkCore.Design Package 6.0.10 8.0.3
Npgsql.EntityFrameworkCore.PostgreSQL Package 6.0.7 8.0.2
OpenIddict.EntityFrameworkCore Package 3.1.1 5.4.0
Ulid Package 1.2.6 1.3.3
Confluent.Kafka Package 1.9.3 2.3.0
Microsoft.Extensions.Hosting Package 6.0.1 8.0.0
Microsoft.VisualStudio.Azure.Containers.Tools.Targets Package 1.17.0 1.20.0
Sentry.Extensions.Logging Package 3.22.0 4.2.1
AspNetCore.HealthChecks.UI.Client Package 6.0.5 8.0.0
AutoMapper Package 12.0.0 13.0.1
FluentValidation.AspNetCore Package 11.2.2 11.3.0
Swashbuckle.AspNetCore Package 6.4.0 6.5.0
FluentValidation Package 11.2.2 11.9.0
FluentValidation Package 11.2.2 11.9.0

Removed Packages

Due to some package updates, some packages are deemed unnecessary and need to be removed as they are no longer needed or working in the newest version:

  • MediatR.Extensions.Microsoft.DependencyInjection
  • AutoMapper.Extensions.Microsoft.DependencyInjection

Any feedback is appreciated.

Metadata

Metadata

Assignees

Labels

dependenciesPull requests that update a dependency filedocumentationImprovements or additions to documentationenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions