A comprehensive suite of .NET libraries providing powerful extension methods, custom types, utilities, and code generation tools.
Note: This library was previously known as "nExt". It has been renamed to Nextended with full support for modern .NET versions including .NET 8 and .NET 9.
| Package | Description | NuGet |
|---|---|---|
| Nextended.Core | Foundation library with extension methods and custom types | |
| Nextended.Blazor | Blazor-specific helpers and components | |
| Nextended.Cache | Caching utilities and extensions | |
| Nextended.EF | Entity Framework Core extensions | |
| Nextended.Web | ASP.NET Core utilities | |
| Nextended.Imaging | Image processing utilities | |
| Nextended.UI | WPF/Windows UI helpers | |
| Nextended.CodeGen | Source code generation | |
| Nextended.Aspire | .NET Aspire extensions |
dotnet add package Nextended.Coreusing Nextended.Core.Extensions;
using Nextended.Core.Types;
// Extension methods
string text = "hello world";
string camelCase = text.ToCamelCase(); // "helloWorld"
string pascalCase = text.ToPascalCase(); // "HelloWorld"
// Custom types
var price = new Money(99.99m, Currency.USD);
var today = Date.Today;
// Object mapping
var userDto = user.MapTo<UserDto>();
// Advanced mapping with settings
var settings = ClassMappingSettings.Default
.IgnoreProperties<User>(u => u.Password);
var dto = user.MapTo<UserDto>(settings);- String: Case conversions, validation, manipulation
- DateTime: Business day calculations, date ranges, formatting
- Collections: Advanced LINQ, batch processing, safe operations
- Type: Reflection helpers, type inspection, attribute retrieval
- Object: Deep cloning, property manipulation, conversions
- Task: Async utilities, timeout operations, fire-and-forget
- Money - Precise decimal type for financial calculations
- Date - Date-only type without time components
- BaseId - Generic strongly-typed ID wrapper
- SuperType - Advanced entity type with subtype relationships
- Range - Generic range type for intervals
Fast and flexible object mapping without external dependencies:
var dto = sourceObject.MapTo<TargetDto>();Generate code at compile-time from:
- Auto-generate DTOs from domain models
- Create strongly-typed classes from JSON/XML
- Generate data classes from Excel spreadsheets
- 🏠 Main Documentation Portal - Complete documentation site
- 📖 Getting Started Guide - Installation and setup
- 🏗️ Architecture Overview - Solution structure and design
- 📦 Projects Documentation - Individual project guides
- 💡 Common Use Cases - Real-world examples
If you're migrating from the old nExt package:
- The namespace has changed from
nExt.*toNextended.* - All functionality has been preserved and enhanced
- See the Migration Guide for details (coming soon)
Legacy Package (no longer maintained): nExt.Core
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.