DKNet.Fw.Extensions 10.1.8

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

DKNet.Fw.Extensions

NuGet NuGet Downloads License

Dependency-light, framework-agnostic extension methods that the rest of the DKNet suite is built on: string/type/enum/date helpers, reflection-based property access, attribute checks, a fluent assembly type scanner, and small DI-registration guards. No configuration, no startup wiring — just install and use.

Install

dotnet add package DKNet.Fw.Extensions

Features

  • StringExtractDigits(), IsNumber(), IsStringOrValueType()
  • TypeIsImplementOf, IsAssignableFrom<T>/IsAssignableTo<T>, IsNumericType, IsEnumType, GetNonNullableType, TryConvertToEnum
  • EnumGetAttribute<T>(), GetEumInfo() / GetEumInfos<T>() for [Display]-attribute metadata (name, description, group)
  • DateTimeInQuarter(), LastDayOfMonth()
  • Async enumerableIAsyncEnumerable<T>.ToListAsync()
  • PropertyGetProperty, GetPropertyValue (dotted/nested paths), SetPropertyValue, TrySetPropertyValue
  • AttributeHasAttribute<T>(), HasAttributeOnProperty<T>()
  • CollectionAddRange
  • Service collectionIsRegistered<T>() / IsRegisteredWithImplementation<T>() guards, ServiceDescriptor.IsImplementationOf / IsKeyedImplementationOf for keyed services
  • TypeExtractorsassembly.Extract().Classes().NotAbstract().IsInstanceOf<T>()... fluent scanning over one or more assemblies

Quick start

using DKNet.Fw.Extensions.Primitives;
using DKNet.Fw.Extensions.Reflection;

"Price: $123.45".ExtractDigits();          // "123.45"
typeof(List<string>).IsImplementOf(typeof(IEnumerable<>)); // true
DateTime.Today.InQuarter();                // 1-4

Migration — namespace changes in this release

Root types were grouped into concern folders; the namespace of each moved type now ends with its folder name. This is an import-only source break: no type was renamed, removed, resignatured, or had its behaviour changed — update the using line and you're done.

Type Old namespace New namespace
CollectionExtensions DKNet.Fw.Extensions DKNet.Fw.Extensions.Collections
StringExtensions, DateTimeExtensions DKNet.Fw.Extensions DKNet.Fw.Extensions.Primitives
AttributeExtensions, PropertyExtensions, TypeExtensions DKNet.Fw.Extensions DKNet.Fw.Extensions.Reflection
EnumExtensions, EnumInfo DKNet.Fw.Extensions DKNet.Fw.Extensions.Enums

Two files kept their namespace on purpose — each declares an ambient namespace (a namespace owned by the framework it extends, so its extension methods resolve without an extra import):

  • ServiceCollectionExtensions — stays at root, namespace Microsoft.Extensions.DependencyInjection.
  • AsyncEnumerableExtensions — moved into Collections/ on disk, namespace stays System.Collections.Generic.

TypeExtractors (fluent assembly scanner) was already grouped before this release and is unchanged.

Docs

Full feature walkthrough with real, compiling examples: https://github.com/baoduy/DKNet/blob/dev/docs/Core/DKNet.Fw.Extensions.md

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 (3)

Showing the top 3 NuGet packages that depend on DKNet.Fw.Extensions:

Package Downloads
DKNet.EfCore.Extensions

DKNet is an enterprise-grade .NET library collection focused on advanced EF Core extensions, dynamic predicate building, and the Specification pattern. It provides production-ready tools for building robust, type-safe, and testable data access layers, including dynamic LINQ support, LinqKit integration. Designed for modern cloud-native applications, DKNet enforces strict code quality, async best practices, and full documentation for all public APIs. Enterprise-grade .NET library suite for modern application development, featuring advanced EF Core extensions (dynamic predicates, specifications, LinqKit), robust Domain-Driven Design (DDD) patterns, and domain event support. DKNet empowers scalable, maintainable, and testable solutions with type-safe validation, async/await, XML documentation, and high code quality standards. Ideal for cloud-native, microservices, and enterprise architectures.

DKNet.EfCore.Hooks

DKNet is an enterprise-grade .NET library collection focused on advanced EF Core extensions, dynamic predicate building, and the Specification pattern. It provides production-ready tools for building robust, type-safe, and testable data access layers, including dynamic LINQ support, LinqKit integration. Designed for modern cloud-native applications, DKNet enforces strict code quality, async best practices, and full documentation for all public APIs. Enterprise-grade .NET library suite for modern application development, featuring advanced EF Core extensions (dynamic predicates, specifications, LinqKit), robust Domain-Driven Design (DDD) patterns, and domain event support. DKNet empowers scalable, maintainable, and testable solutions with type-safe validation, async/await, XML documentation, and high code quality standards. Ideal for cloud-native, microservices, and enterprise architectures.

DKNet.AspCore.Idempotency

DKNet is an enterprise-grade .NET library collection focused on advanced EF Core extensions, dynamic predicate building, and the Specification pattern. It provides production-ready tools for building robust, type-safe, and testable data access layers, including dynamic LINQ support, LinqKit integration. Designed for modern cloud-native applications, DKNet enforces strict code quality, async best practices, and full documentation for all public APIs. Enterprise-grade .NET library suite for modern application development, featuring advanced EF Core extensions (dynamic predicates, specifications, LinqKit), robust Domain-Driven Design (DDD) patterns, and domain event support. DKNet empowers scalable, maintainable, and testable solutions with type-safe validation, async/await, XML documentation, and high code quality standards. Ideal for cloud-native, microservices, and enterprise architectures.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
10.1.10 45 8/22/2026
10.1.9 63 8/22/2026
10.1.8 63 8/21/2026
10.1.7 104 8/21/2026
10.1.6 92 8/21/2026
10.1.5 159 8/20/2026
10.1.4 133 8/20/2026
10.1.3 143 8/19/2026
10.1.2 168 8/19/2026
10.1.1 161 8/19/2026
10.0.36 205 8/18/2026
10.0.35 192 8/5/2026
10.0.34 183 8/5/2026
10.0.33 200 8/4/2026
10.0.32 423 8/3/2026
10.0.31 207 7/21/2026
10.0.30 205 7/21/2026
10.0.29 752 6/22/2026
10.0.27 281 5/22/2026
10.0.26 207 5/19/2026
Loading failed