![]() |
VOOZH | about |
dotnet add package DKNet.Fw.Extensions --version 10.0.27
NuGet\Install-Package DKNet.Fw.Extensions -Version 10.0.27
<PackageReference Include="DKNet.Fw.Extensions" Version="10.0.27" />
<PackageVersion Include="DKNet.Fw.Extensions" Version="10.0.27" />Directory.Packages.props
<PackageReference Include="DKNet.Fw.Extensions" />Project file
paket add DKNet.Fw.Extensions --version 10.0.27
#r "nuget: DKNet.Fw.Extensions, 10.0.27"
#:package DKNet.Fw.Extensions@10.0.27
#addin nuget:?package=DKNet.Fw.Extensions&version=10.0.27Install as a Cake Addin
#tool nuget:?package=DKNet.Fw.Extensions&version=10.0.27Install as a Cake Tool
👁 NuGet
👁 NuGet Downloads
👁 .NET
A comprehensive collection of framework-level extensions and utilities for .NET applications. This package provides essential extension methods for common types, encryption utilities, and type manipulation tools to enhance productivity and code readability.
Install via NuGet Package Manager:
dotnet add package DKNet.Fw.Extensions
Or via Package Manager Console:
Install-Package DKNet.Fw.Extensions
using DKNet.Fw.Extensions;
// Extract digits from mixed content
string text = "Price: $123.45";
string digits = text.ExtractDigits(); // "123.45"
// Check if string is a valid number
bool isValid = "123.45".IsNumber(); // true
using DKNet.Fw.Extensions;
var date = DateTime.Now;
// Get last day of current month
DateTime lastDay = date.LastDayOfMonth();
// Get quarter information
int quarter = date.Quarter(); // 1, 2, 3, or 4
using DKNet.Fw.Extensions;
using System.ComponentModel.DataAnnotations;
public enum Status
{
[Display(Name = "Active Status")]
Active,
[Display(Name = "Inactive Status")]
Inactive
}
var status = Status.Active;
var displayAttr = status.GetAttribute<DisplayAttribute>();
string displayName = displayAttr?.Name ?? status.ToString();
using System.Collections.Generic;
IAsyncEnumerable<int> asyncNumbers = GetAsyncNumbers();
IList<int> numbers = await asyncNumbers.ToListAsync();
This package requires no specific configuration. Simply add the using statements for the namespaces you need:
using DKNet.Fw.Extensions; // Core extensions
using System.Collections.Generic; // Async extensions
ExtractDigits(string) - Extracts numeric characters from a stringIsNumber(string) - Validates if a string represents a valid numberIsStringOrValueType(PropertyInfo) - Checks if property can store string or value typesLastDayOfMonth(DateTime) - Returns the last day of the monthQuarter(DateTime) - Determines the quarter of the year (1-4)GetAttribute<T>(Enum) - Retrieves custom attributes from enum valuesGetEnumInfo(Enum) - Gets comprehensive enum information including display attributesIsStringOrValueType(Type) - Determines if type is string or value typeToListAsync<T>(IAsyncEnumerable<T>) - Converts async enumerable to listusing DKNet.Fw.Extensions;
using System.Reflection;
public class Example
{
public string Name { get; set; }
public int Age { get; set; }
public DateTime? BirthDate { get; set; }
}
// Check if properties can store simple values
var properties = typeof(Example).GetProperties();
foreach (var prop in properties)
{
bool canStoreSimpleValue = prop.IsStringOrValueType();
Console.WriteLine($"{prop.Name}: {canStoreSimpleValue}");
}
using DKNet.Fw.Extensions;
using System.ComponentModel.DataAnnotations;
public enum Priority
{
[Display(Name = "Low Priority", Description = "Non-urgent items")]
Low,
[Display(Name = "High Priority", Description = "Urgent items")]
High
}
// Get detailed enum information
var priority = Priority.High;
var enumInfo = priority.GetEnumInfo();
// Access enumInfo.DisplayName, enumInfo.Description, etc.
See the main for guidelines on how to contribute to this project.
This project is licensed under the .
Part of the DKNet Framework - A comprehensive .NET framework for building modern, scalable applications.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
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. |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 10.0.27 | 236 | 5/22/2026 |
| 10.0.26 | 186 | 5/19/2026 |
| 10.0.25 | 466 | 3/27/2026 |
| 10.0.24 | 177 | 3/27/2026 |
| 10.0.23 | 177 | 3/27/2026 |
| 10.0.22 | 168 | 3/26/2026 |
| 10.0.21 | 224 | 3/17/2026 |
| 10.0.20 | 194 | 2/2/2026 |
| 10.0.19 | 321 | 1/21/2026 |
| 10.0.18 | 167 | 1/21/2026 |
| 10.0.17 | 188 | 1/19/2026 |
| 10.0.16 | 168 | 1/18/2026 |
| 10.0.15 | 172 | 1/18/2026 |
| 10.0.14 | 172 | 1/18/2026 |
| 10.0.13 | 175 | 1/17/2026 |
| 10.0.12 | 169 | 1/17/2026 |
| 10.0.11 | 172 | 1/17/2026 |
| 10.0.10 | 166 | 1/17/2026 |
| 10.0.9 | 175 | 1/16/2026 |
| 10.0.8 | 192 | 1/16/2026 |