Some useful and not so useful C# .NET utility classes.
- Source Code: GitHub - Source code, issues, discussions, and CI/CD pipelines.
- Versioned Releases: GitHub Releases - Version tagged source code and build artifacts.
- NuGet Packages NuGet Packages - .NET libraries published to NuGet.org.
Version: 4.0:
- Renamed the NuGet package and namespace from
InsaneGenius.Utilitiestoptr727.Utilities. - Replaced Serilog with an injectable
Microsoft.Extensions.Logginglogging model. - Replaced
List<T>in public methods withCollection<T>andReadOnlyCollection<T>.
Summary:
- Added
HttpClientFactory, a reusable resilient HTTP client factory (Polly retry and circuit breaker) with an AOT safeAssemblyInfoidentity helper and a tunableHttpClientOptions.
See Release History for complete release notes and older versions.
# Add the package to your project
dotnet add package ptr727.Utilities// Include the namespace
using ptr727.Utilities;- Branching workflow:
- The repo uses a two-branch model with ruleset-enforced merge methods.
- Feature branch ->
developvia squash merge (develop is kept linear). develop->mainvia merge commit (preserves develop's commit list on main as the second parent of each release commit).- Dependabot targets
mainanddevelopin parallel via separate PRs. - See
WORKFLOW.mdfor complete details.
- Code style:
- See
CODESTYLE.mdand.editorconfigfor C# code style rules.
- See
- Repository setup:
- See
repo-config/README.mdfor repo configuration details.
- See
Licensed under the MIT License