KamiSama.Extensions.Core 10.0.11.2

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

KamiSama.Extensions.Core

Back to package index

Version: 10.0.0

Description

Common .NET extension methods for byte and string conversion, hashing, symmetric and RSA cryptography, Persian dates, streams, arrays, queues, logging, and TimeSpan creation. Also includes lightweight paging records and an IQueryable<T> helper for producing paged results.

How to use

dotnet add package KamiSama.Extensions.Core --version 10.0.0

Namespaces

Types

  • KamiSama.Extensions.ArrayExtensions - Provides extension methods for padding arrays and removing matching trailing elements. Use these helpers when an array must be resized or normalized without mutating the original instance.
  • KamiSama.Extensions.ByteArrayExtensions - Provides extension methods for converting byte arrays to text, hexadecimal strings, and Base64 strings. Use them to prepare binary data for display, storage, or transport.
  • KamiSama.Extensions.ConversionExtensions - Provides fallback-based conversion of objects to runtime or generic target types. Failed conversions return the caller-provided default value instead of throwing.
  • KamiSama.Extensions.CryptographyExtensions - Provides byte-array encryption, decryption, and CBC-based authentication helpers for symmetric algorithms, plus RSA encryption and decryption. Legacy algorithms are included for interoperability; prefer modern authenticated encryption for new designs.
  • KamiSama.Extensions.HashExtensions - Provides hash-computation helpers for byte arrays and strings, including hexadecimal MD5 and SHA-1 output. Prefer a modern hash algorithm for new security-sensitive applications.
  • KamiSama.Extensions.IQueryableExtensions - Provides extensions for materializing IQueryable{T} sequences as paged results. Use them after applying filtering and ordering to a query.
  • KamiSama.Extensions.LoggerExtensions - Provides diagnostic logging extensions for ILogger. Use them to emit consistent trace-level method-entry messages.
  • KamiSama.Extensions.PersianDateTimeExtensions - Provides formatting and parsing extensions that use the Persian calendar and the fa-IR date-time format. Use them when Persian-calendar text must be exchanged with DateTime values.
  • KamiSama.Extensions.QueueExtensions - Provides extensions for safely dequeuing a value or returning a fallback when a queue is empty. Use them when an empty queue is an expected condition rather than an error.
  • KamiSama.Extensions.StreamExtensions - Provides synchronous and asynchronous helpers for reading an exact number of bytes from a stream. The helpers fail when the requested byte count cannot be obtained.
  • KamiSama.Extensions.StringExtensions - Provides extensions for encoding strings and decoding hexadecimal and Base64 text. Use them to move between textual representations and byte arrays.
  • KamiSama.Extensions.TimeSpanExtensions - Provides fluent numeric extensions for constructing TimeSpan values in common units. Both integer and fractional values are supported.
  • KamiSama.Extensions.Paging.PagedResult<T> - Represents one materialized page of items together with the total number of matching items. Use it to return page data without losing the count needed by callers to render pagination.
  • KamiSama.Extensions.Paging.SearchModel - Represents paging and optional ordering criteria for a query. A page size of zero requests all matching items.
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 (10)

Showing the top 5 NuGet packages that depend on KamiSama.Extensions.Core:

Package Downloads
KamiSama.Repositories.EntityFrameworkCore

Entity Framework Core repositories, paging, database initialization, and multi-provider DbContext registration.

KamiSama.Extensions.Json

System.Text.Json extensions and converters for dynamic JSON, BigInteger, hexadecimal byte arrays, TimeSpan, and discriminator-based polymorphism.

KamiSama.Repositories.EntityFramework

Entity Framework 6 repositories with immediate persistence and ordered-query paging.

KamiSama.Extensions.NLog

NLog extensions for rendering Persian-calendar timestamps and archiving log files in password-protected ZIP files using SharpZipLib.

KamiSama.Chassis.Commons.Abstractions

Feature and repository contracts for the KamiSama chassis layer. Reference this package from application or module projects that need to depend on abstractions instead of concrete implementations.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
10.0.11.9 550 8/24/2026
10.0.11.8 687 8/21/2026
10.0.11.7 644 8/21/2026
10.0.11.6 600 8/19/2026
10.0.11.5 536 8/18/2026
10.0.11.4 546 8/18/2026
10.0.11.3 534 8/18/2026
10.0.11.2 510 8/18/2026
10.0.11.1 400 8/15/2026
10.0.11 325 8/11/2026
10.0.10.2 350 8/4/2026
10.0.10.1 179 7/31/2026
10.0.10 575 7/30/2026
10.0.9 388 6/20/2026
10.0.7 1,952 5/1/2026
10.0.6 696 4/16/2026
10.0.1 663 11/26/2025
10.0.0 384 11/22/2025
3.1.6 365 11/7/2025
3.1.5 339 11/6/2025
Loading failed