AStarDev.Utilities 0.1.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package AStarDev.Utilities --version 0.1.0
                    
NuGet\Install-Package AStarDev.Utilities -Version 0.1.0
                    
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="AStarDev.Utilities" Version="0.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AStarDev.Utilities" Version="0.1.0" />
                    
Directory.Packages.props
<PackageReference Include="AStarDev.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 AStarDev.Utilities --version 0.1.0
                    
#r "nuget: AStarDev.Utilities, 0.1.0"
                    
#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 AStarDev.Utilities@0.1.0
                    
#: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=AStarDev.Utilities&version=0.1.0
                    
Install as a Cake Addin
#tool nuget:?package=AStarDev.Utilities&version=0.1.0
                    
Install as a Cake Tool

AStarDev.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 AStarDev.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-Scraper 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/AStarDev.Utilities

# If Directory.Build.props changes aren't being picked up
dotnet clean && dotnet build packages/core/AStarDev.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/AStarDev.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/AStarDev.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

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
0.2.1 136 8/25/2026
0.1.0 565 8/4/2026

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