ptr727.Utilities 4.0.15

dotnet add package ptr727.Utilities --version 4.0.15
                    
NuGet\Install-Package ptr727.Utilities -Version 4.0.15
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ptr727.Utilities" Version="4.0.15" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ptr727.Utilities" Version="4.0.15" />
                    
Directory.Packages.props
<PackageReference Include="ptr727.Utilities" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add ptr727.Utilities --version 4.0.15
                    
#r "nuget: ptr727.Utilities, 4.0.15"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package ptr727.Utilities@4.0.15
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=ptr727.Utilities&version=4.0.15
                    
Install as a Cake Addin
#tool nuget:?package=ptr727.Utilities&version=4.0.15
                    
Install as a Cake Tool

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

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.0.15 0 7/14/2026
4.0.7 475 7/10/2026
4.0.1-g405af67730 55 7/10/2026
3.7.7 52 7/10/2026
3.7.5 156 7/10/2026
3.7.5-g45abe5b87b 48 7/10/2026
3.7.3-g55ce08abf9 49 7/10/2026