DKNet.Fw.Extensions
13.3.1
dotnet add package DKNet.Fw.Extensions --version 13.3.1
NuGet\Install-Package DKNet.Fw.Extensions -Version 13.3.1
<PackageReference Include="DKNet.Fw.Extensions" Version="13.3.1" />
<PackageVersion Include="DKNet.Fw.Extensions" Version="13.3.1" />
<PackageReference Include="DKNet.Fw.Extensions" />
paket add DKNet.Fw.Extensions --version 13.3.1
#r "nuget: DKNet.Fw.Extensions, 13.3.1"
#:package DKNet.Fw.Extensions@13.3.1
#addin nuget:?package=DKNet.Fw.Extensions&version=13.3.1
#tool nuget:?package=DKNet.Fw.Extensions&version=13.3.1
DKNet.Fw.Extensions
Reflection, type discovery and small value helpers for .NET developers who need reusable in-process operations.
✨ Why use it?
- Find concrete implementations across assemblies with a filter chain you can branch and reuse.
- Read or update object properties by name without repeating lookup and conversion code.
- Build enum labels and inspect registrations with helpers that expose their edge cases.
🚀 Quick Start
Use a .NET 10 console project. Install the package, then replace Program.cs with the example.
dotnet new console -f net10.0 -n CoreDemo
cd CoreDemo
dotnet add package DKNet.Fw.Extensions
using System;
using System.Linq;
using DKNet.Fw.Extensions.TypeExtractors;
var types = typeof(Worker).Assembly.Extract()
.Classes().NotAbstract().IsInstanceOf<IWorker>().ToList();
Console.WriteLine(types.Contains(typeof(Worker))); // True
public interface IWorker { }
public sealed class Worker : IWorker { }
Run with dotnet run.
Documentation
| Guide | Read when |
|---|---|
| Package overview | Start with architecture and the end-to-end flow. |
| Find types in loaded assemblies | Find implementations and branch a reusable query without changing its source. |
| Read and update properties by name | Read nested values and convert input before writing a property. |
| Inspect nullable and generic type shapes | Classify runtime types, including nullable values and open generic relationships. |
| Convert numeric values into enums | Turn boxed numbers into enums while handling conversion failures. |
| Read enum display metadata | Build display labels and descriptions from enum field metadata. |
| Check attributes on types and properties | Check metadata presence with null-safe reflection inputs. |
| Extract and inspect numeric-looking text | Retain numeric-looking characters and understand the limits of heuristic checks. |
| Remove control characters from log text | Remove embedded controls and trim text before logging. |
| Find calendar quarters and month ends | Find the quarter or month end while preserving the input time. |
| Append items to an ICollection | Append items when the destination exposes only a collection interface. |
| Inspect service registrations before adding duplicates | Choose a contract guard or an exact implementation guard. |
| 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. |
-
net10.0
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.12)
- System.ComponentModel.Annotations (>= 5.0.0)
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 |
|---|---|---|
| 13.3.1 | 204 | 10/26/2026 |
| 13.3.0 | 257 | 10/22/2026 |
| 13.2.8 | 218 | 10/22/2026 |
| 13.2.7 | 251 | 10/11/2026 |
| 13.2.6 | 206 | 10/10/2026 |
| 13.2.5 | 461 | 10/2/2026 |
| 13.2.4 | 216 | 10/1/2026 |
| 13.2.3 | 222 | 10/1/2026 |
| 13.2.2 | 208 | 10/1/2026 |
| 13.2.1 | 203 | 10/1/2026 |
| 13.2.0 | 209 | 10/1/2026 |
| 13.1.3 | 286 | 9/21/2026 |
| 13.1.2 | 475 | 9/18/2026 |
| 13.1.1 | 216 | 9/18/2026 |
| 13.1.0 | 222 | 9/18/2026 |
| 13.0.2 | 217 | 9/18/2026 |
| 13.0.1 | 226 | 9/18/2026 |
| 13.0.0 | 233 | 9/18/2026 |
| 12.0.0 | 234 | 9/17/2026 |
| 11.0.0 | 293 | 9/17/2026 |