Skip to content

Conversation

@codebytes
Copy link
Owner

This pull request updates all sample projects to .NET 10 and modernizes the configuration samples by renaming, reorganizing, and improving documentation. The changes ensure consistency, upgrade all dependencies, and clarify usage for each configuration provider. Below are the most important changes grouped by theme.

Project and Dependency Upgrades:

  • All .csproj files updated to target net10.0 and use version 10.0.0 of Microsoft.Extensions.* packages for configuration, hosting, and related libraries. [1] [2] [3] [4] [5] [6]

Sample Renaming and Organization:

  • Renamed sample folders and files for clarity and sequencing (e.g., 02-basic-console01-basic-console, 01-generic-host02-generic-host). Associated project/JSON files moved accordingly. [1] [2] [3]

Configuration Demonstrations:

  • Enhanced configuration samples to show layered providers: JSON, environment variables, command line, in-memory, and user secrets. Added new keys to appsettings.json and improved sample code to demonstrate configuration precedence and overrides. [1] [2]

Documentation Improvements:

  • Rewrote all README.md files with clear "Overview," "Run," and "Notes" sections. Simplified instructions, clarified provider precedence, and included cross-platform usage examples. [1] [2] [3] [4] [5] [6] [7] [8]

Cleanup and Removal of Redundant Files:

  • Removed outdated or redundant sample files and documentation to reflect the new structure and reduce confusion. [1] [2] [3]

These changes modernize the sample repository, making it easier to follow and demonstrating best practices for .NET 10 configuration.

…o version 10.0.0 across multiple projects. Adjust Azure Key Vault and App Configuration projects with new launch settings. Update integration testing projects to reflect changes in target framework and package versions.
@codebytes codebytes merged commit 581bb31 into main Dec 5, 2025
@codebytes codebytes deleted the updates branch December 5, 2025 12:51
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.

2 participants