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" />
<PackageReference Include="ptr727.Utilities" />
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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#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
#tool nuget:?package=ptr727.Utilities&version=4.0.15
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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
Releases
Release Notes
Version: 4.0:
⚠️ Breaking Changes:
- 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.
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 →
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
License
Licensed under the MIT License
| Product | Versions 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.
-
net10.0
- Microsoft.Extensions.Http.Resilience (>= 10.7.0)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.9)
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 |