A set of production-ready .NET 8 libraries and frameworks built for real-world services. Each package handles one concern, works independently, and integrates cleanly with the others through standard dependency injection.
The foundation. Each library handles one infrastructure concern.
| Package | Description | Version | Downloads |
|---|---|---|---|
| JG.ConfigKit | Configuration from JSON, env vars, CLI, secrets. Typed binding, validation, hot-reload. | ||
| JG.ErrorKit | Structured errors, error codes, context chains, RFC 7807 Problem Details. | ||
| JG.LoggingKit | Structured logging, correlation IDs, JSON/console formatters, file rotation. | ||
| JG.CacheKit | In-memory and Redis caching. Stampede protection, tag-based invalidation. | ||
| JG.RateLimiter | Token bucket, sliding window, fixed window. Per-client and per-endpoint. | ||
| JG.HealthKit | Liveness and readiness probes. Database, HTTP, disk, memory checks. | ||
| JG.AuthKit | JWT issuing, refresh rotation, role-based access control, claims policies. | ||
| JG.EventKit | In-process event bus. Typed publish/subscribe, priority ordering, error isolation. | ||
| JG.WorkerKit | Background jobs. Priority queues, cron scheduling, retry with backoff. | ||
| JG.AuditKit | Immutable audit trails. SHA-256 hash chaining, tamper detection, non-blocking dispatch. | ||
| JG.TenantKit | Multi-tenancy. Resolve from subdomains, headers, routes, query strings, JWT claims. |
The web layer. Router + template engine. See the WebKit Collection for detailed documentation.
| Package | Description | Version | Downloads |
|---|---|---|---|
| JG.WebKit.Router | Trie-based HTTP router. Compiled execution chains, hot-reload, parameter constraints. | ||
| JG.WebKit.Views | Template engine. Compiled rendering, layouts, partials, loops, asset helpers. |
A ready-to-clone starter project with all core libraries pre-wired. Clone it, rename it, start building.
| Project | Description |
|---|---|
| dotnet-service-template | Production-ready .NET 8 service template. Config, logging, caching, auth, health checks, rate limiting, events, workers, and audit — all wired and ready. |
| Product | Description |
|---|---|
| Essence | Web application platform built on the full JG ecosystem. Multi-site hosting, plugin system, content management, API services, sub-200ms page loads. |
dotnet add package JG.ConfigKit
dotnet add package JG.LoggingKit
dotnet add package JG.CacheKit
# add what you needEach package registers via standard DI:
builder.Services.AddConfigKit();
builder.Services.AddLoggingKit();
builder.Services.AddCacheKit();Every library follows the same standards:
- .NET 8, C# latest, nullable enabled
- Zero unnecessary external dependencies
- Source-generated logging (no reflection in hot paths)
ConfigureAwait(false)on all internal async calls- Sealed internal classes, readonly structs where appropriate
- Full XML documentation on all public types
- Apache-2.0 license
James Gober — github.com/jamesgober — nuget.org/profiles/jamesgober