NetEnhancements.Identity

A default implementation of ASP.NET Identity, with GUID PKs, extension methods to look up users, an Identity database schema and an ApplicationUserManager.


Keywords
NetEnhancements
License
MIT
Install
Install-Package NetEnhancements.Identity -Version 0.19.0

Documentation

NetEnhancements

A modular toolkit for building .NET 7+ applications with speed and clarity

Docs Build NuGet

See https://netenhancements.github.io/.

📦 Features

  • 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 for DateOnly/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.

💿 Installation

All packages are available on NuGet and follow Semantic Versioning. Pick the parts you need:

Package NuGet Downloads
NetEnhancements.Util
Utility classes and helpers.
NuGet NuGet
NetEnhancements.Shared
Shared abstractions and contracts.
NuGet NuGet
NetEnhancements.AspNet
Enhancements for ASP.NET applications.
NuGet NuGet
NetEnhancements.ClosedXML
Helpers and wrappers around ClosedXML for Excel export/import.
NuGet NuGet
NetEnhancements.EntityFramework
EF Core enhancements for querying and persistence.
NuGet NuGet
NetEnhancements.EntityFramework.Data
Repository and unit-of-work support for EF Core.
NuGet NuGet
NetEnhancements.Business
Business layer patterns and service base implementations.
NuGet NuGet
NetEnhancements.Services
Service registration and dependency injection helpers.
NuGet NuGet
NetEnhancements.Imaging
Image processing utilities and helpers.
NuGet NuGet
NetEnhancements.Identity
Extensions for ASP.NET Core Identity.
NuGet NuGet
NetEnhancements.Imaging.EntityFramework
EF Core integration for image storage and metadata.
NuGet NuGet
NetEnhancements.Identity.Data
EntityFramework support for Identity enhancements.
NuGet NuGet

🧭 Philosophy

  • We start at version 0.x — things may change.
  • Once stable, we’ll release v1.0.0 and follow clear versioning.
  • No tests + no docs = no support.
  • All packages are modular and DI-friendly.