Skip to content

ptr727/Utilities

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

826 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Utilities

Some useful and not so useful C# .NET utility classes.

Build and Distribution

  • 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.

Build Status

Release Status
Last Commit

Releases

GitHub Release
GitHub Pre-Release
NuGet Release

Release Notes

Version: 4.0:

⚠️ Breaking Changes:

  • Renamed the NuGet package and namespace from InsaneGenius.Utilities to ptr727.Utilities.
  • Replaced Serilog with an injectable Microsoft.Extensions.Logging logging model.
  • Replaced List<T> in public methods with Collection<T> and ReadOnlyCollection<T>.

Summary:

  • Added HttpClientFactory, a reusable resilient HTTP client factory (Polly retry and circuit breaker) with an AOT safe AssemblyInfo identity helper and a tunable HttpClientOptions.

See Release History for complete release notes and older versions.

Installation

# Add the package to your project
dotnet add package ptr727.Utilities
// Include the namespace
using ptr727.Utilities;

Contributing

  • Branching workflow:
    • The repo uses a two-branch model with ruleset-enforced merge methods.
    • Feature branch -> develop via squash merge (develop is kept linear).
    • develop -> main via merge commit (preserves develop's commit list on main as the second parent of each release commit).
    • Dependabot targets main and develop in parallel via separate PRs.
    • See WORKFLOW.md for complete details.
  • Code style:
  • Repository setup:

License

Licensed under the MIT License
GitHub License

About

Some useful and not so useful C# .NET utility classes.

Topics

Resources

License

Stars

3 stars

Watchers

1 watching

Forks

Contributors