See https://netenhancements.github.io/.
-
Util: Extension methods for dates, strings, enums, collections, randomness, and hashing. -
Shared: Centralized app configuration (IConfiguration), environment detection, and structured logging support. -
AspNet: Conventions for routing, security headers, model validation, exception handling, and minimal API helpers. -
EntityFramework: EF Core extensions forDateOnly/TimeOnly, auditing (CreatedOn,ModifiedOn), soft deletes, and GUID-based primary keys.-
EntityFramework.Data: Adds repository and unit of work patterns, query projections, paging, and service registration helpers.
-
-
ClosedXML: Helpers to export/import Excel files with automatic column detection, styling, and typing. -
Identity: Plug-and-play ASP.NET Core Identity setup with strongly typed roles and claims, based on GUIDs.-
Identity.Data: EntityFramework support for custom users/roles, including seeding and audit fields.
-
-
Imaging: Image resizing, MIME detection, aspect ratio handling, and file/stream conversion.-
Imaging.EntityFramework: Store image metadata in EF Core models (dimensions, format, orientation, etc).
-
-
Services: Hosted services with scoped execution, graceful shutdown, queue processing, and delay scheduling. -
Business: Combine the above in clean, reusable service base classes with validation,Result<T>types, and orchestration support.
All packages are available on NuGet and follow Semantic Versioning. Pick the parts you need:
| Package | NuGet | Downloads |
|---|---|---|
|
NetEnhancements.Util Utility classes and helpers. |
||
|
NetEnhancements.Shared Shared abstractions and contracts. |
||
|
NetEnhancements.AspNet Enhancements for ASP.NET applications. |
||
|
NetEnhancements.ClosedXML Helpers and wrappers around ClosedXML for Excel export/import. |
||
|
NetEnhancements.EntityFramework EF Core enhancements for querying and persistence. |
||
|
NetEnhancements.EntityFramework.Data Repository and unit-of-work support for EF Core. |
||
|
NetEnhancements.Business Business layer patterns and service base implementations. |
||
|
NetEnhancements.Services Service registration and dependency injection helpers. |
||
|
NetEnhancements.Imaging Image processing utilities and helpers. |
||
|
NetEnhancements.Identity Extensions for ASP.NET Core Identity. |
||
|
NetEnhancements.Imaging.EntityFramework EF Core integration for image storage and metadata. |
||
|
NetEnhancements.Identity.Data EntityFramework support for Identity enhancements. |
- We start at version 0.x — things may change.
- Once stable, we’ll release
v1.0.0and follow clear versioning. - No tests + no docs = no support.
- All packages are modular and DI-friendly.