feat: dotnet 8 & 10, drop netstandard support and add AddMongoDbContext for Aspire - #108
Merged
Merged
Conversation
…or .NET 10 compatibility
…oject.props for testing dependencies
Carael
approved these changes
Feb 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This pull request introduces a major upgrade of the codebase to support .NET 10, modernizes build and packaging infrastructure, and simplifies project configuration. The most significant changes are the adoption of .NET 10 across all projects, improved CI/CD workflows, centralization of build properties, and enhanced dependency management.
.NET 10 upgrade and multi-targeting:
global.jsonto use .NET SDK 10.0.103, and all projects now target .NET 10 alongside .NET 8 where applicable. This enables development and testing on the latest .NET platform. [1] [2] [3] [4]TargetFrameworksandIsPackableproperties from sample and test projects, delegating these settings to the centralizedDirectory.Build.props. [1] [2] [3] [4] [5] [6] [7]Build and packaging infrastructure:
all.csprojusing Microsoft.Build.Traversal to simplify building and testing all projects and tests in the repository.Directory.Build.props, including multi-targeting, nullable handling, and packaging metadata.src/Dependencies.props,src/Directory.Build.targets) and simplifiedsrc/Directory.Build.propsto use the new centralized approach. [1] [2]R1, [3]CI/CD workflow modernization:
ci.ymlfor matrix testing on .NET 10, updatedrelease.ymlfor modern build, pack, and push steps, and removed the oldpull-request.yml. [1] [2] [3] [4]Dependency management enhancements:
Microsoft.Extensions.Options.ConfigurationExtensions). [1] [2]Microsoft.SourceLink.GitHubto version 10.0.102 for improved source linking support.Codebase improvements and new features:
ServiceCollectionExtensionsinsrc/Contextfor simplified DI registration of MongoDB contexts, supporting configuration binding and connection string handling.IsPackableto true for main library projects to enable NuGet package creation. [1] [2].config/dotnet-tools.jsonas SonarScanner tool configuration is no longer needed.These changes collectively modernize the repository, streamline development and release processes, and ensure compatibility with the latest .NET standards.