FoundationKit is a set of four focused NuGet packages that eliminate the repetitive scaffolding every ASP.NET Core application needs — generic CRUD repositories, base entity models, pagination, encryption utilities, and a RabbitMQ event bus — so your team can focus on business logic from day one.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Orbis25/FoundationKit/llms.txt
Use this file to discover all available pages before exploring further.
Quickstart
Install FoundationKit and have a working repository, model, and controller in minutes.
Packages
Explore the four NuGet packages and choose what your project needs.
Core Concepts
Understand base models, repositories, DTOs, and pagination patterns.
API Reference
Full type signatures for every public interface and class.
What’s included
Repositories
Generic EF Core repositories with CRUD, soft-delete, pagination, and partial updates built in.
Base Models
Abstract entity base classes with Id, timestamps, soft-delete flag, and audit fields.
DTOs & Pagination
BaseInput, BaseEdit, BaseOutput, and a standard paginated result wrapper.
EF Core Setup
DbContext bases that auto-set CreatedAt/UpdatedAt and apply a global soft-delete query filter.
Encryption
AES and TweetNaCl/Curve25519 encryption helpers plus a request-decryption middleware.
Event Bus
RabbitMQ publisher and typed background consumer with automatic handler discovery.
Get started in four steps
Register FoundationKit
Call
AddFoundationKit in your Program.cs to register AutoMapper from your assembly.Program.cs
Inherit base classes
Extend
BaseModel for your entities, BaseRepository for your services, and ApiCoreController or ApiMapController for your controllers.FoundationKit targets net8.0. All four packages are published on NuGet under the Orbis25 profile.