AStar.Dev.Utilities 1.6.8

dotnet add package AStar.Dev.Utilities --version 1.6.8
                    
NuGet\Install-Package AStar.Dev.Utilities -Version 1.6.8
                    
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="AStar.Dev.Utilities" Version="1.6.8" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AStar.Dev.Utilities" Version="1.6.8" />
                    
Directory.Packages.props
<PackageReference Include="AStar.Dev.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 AStar.Dev.Utilities --version 1.6.8
                    
#r "nuget: AStar.Dev.Utilities, 1.6.8"
                    
#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 AStar.Dev.Utilities@1.6.8
                    
#: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=AStar.Dev.Utilities&version=1.6.8
                    
Install as a Cake Addin
#tool nuget:?package=AStar.Dev.Utilities&version=1.6.8
                    
Install as a Cake Tool

AStar.Dev.Utilities

A collection of general-purpose extension methods and utilities for .NET applications. Designed to make common operations more fluent and readable without pulling in heavier dependencies.

NuGet License: MIT


Installation

dotnet add package AStar.Dev.Utilities

Or via the NuGet Package Manager in Visual Studio / Rider.


Available extensions

Class Description Reference
Constants Shared JsonSerializerOptions instances docs
EncryptionExtensions AES encrypt / decrypt strings docs
EnumExtensions Parse a string to an enum value docs
LinqExtensions ForEach for IEnumerable<T> docs
ObjectExtensions Serialize any object to JSON docs
RegexExtensions Character-class validation helpers docs
StringExtensions Null checks, JSON round-trip, string manipulation docs

Build

This package lives inside the astar-dev-mono mono-repo and inherits all build configuration from the root Directory.Build.props.

# From the repo root — builds everything
dotnet build

# Build only this package
dotnet build packages/core/AStar.Dev.Utilities

# If Directory.Build.props changes aren't being picked up
dotnet clean && dotnet build packages/core/AStar.Dev.Utilities

Test

Tests for this package live under tests/ at the repo root.

# Run all tests
dotnet test

# Run tests for this package specifically
dotnet test tests/AStar.Dev.Utilities.Tests

Contributing

  1. Fork the repo and create a branch: feat/utilities-<short-description> or fix/utilities-<short-description>.
  2. Follow the Conventional Commits format — e.g. feat(packages/core/AStar.Dev.Utilities): add XyzExtensions.
  3. All warnings are treated as errors (TreatWarningsAsErrors=true), so the build must stay clean.
  4. Add or update the relevant doc file under docs/ if you add a new extension or change an existing one.
  5. Open a PR against main. CI runs automatically on push.

Do not run dotnet pack or dotnet nuget push manually — releases are triggered by pushing a v* tag. See the repo-level Releasing a new version guide.

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

    • No dependencies.

NuGet packages (10)

Showing the top 5 NuGet packages that depend on AStar.Dev.Utilities:

Package Downloads
AStar.Dev.Logging.Extensions

This package contains extension methods designed to add Serilog and Application Insights to the project. The logging is opinionated but the configuration can be overridden. In addition, Open Telemetry is being incorporated

AStar.Dev.Infrastructure

AStar.Dev.Infrastructure contains the common classes used by the FilesDb etc. packages.

AStar.Dev.Infrastructure.FilesDb

Defines the context and models for the FilesDb.

AStar.Dev.AspNet.Extensions

A collection of utility methods for simplifying the ASPNet Configuration.

AStar.Dev.Api.Usage.Sdk

A package to help consume the API Usage endpoint without duplicating code.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.6.8 491 3/21/2026
1.6.7 91 3/21/2026
1.6.3-pre.gca5146bf48 51 3/21/2026
1.6.3-pre.g28a47f8ab9 52 3/21/2026
1.6.3-pre 83 3/21/2026
1.6.2 2,404 8/21/2025
1.6.1 527 5/1/2025
1.6.0 650 4/25/2025
1.5.2 214 10/20/2024
1.5.1 295 10/18/2024
1.4.0 232 10/18/2024

No functional changes. Just a new 'home' on GitHub.