Skip to content
@Zonit

Zonit

Zonit

Open-source C# libraries for building .NET 10 / Blazor applications — a strict value-object foundation, a multi-site web kernel, in-process messaging, and a unified AI layer.

Everything targets net10.0, ships with XML docs and symbol packages, and is trim-annotated.


🔌 Extensions

The Zonit.Extensions repository is a monorepo: one value-object foundation plus the domain cores and the web kernel layered on top. The five domain cores have no ASP.NET Core dependency — they work from a console, worker or WASM host.

Package NuGet Downloads What it does
Zonit.Extensions NuGet Downloads Value-object foundation: Identity, Permission, Role, Title, Url, Asset, Price/Money, Schedule, Culture, Zone. Registers nothing in DI.
Zonit.Extensions.Auth NuGet Downloads Framework-agnostic auth core. You implement IAuthSource; the web side adds [RequirePermission].
Zonit.Extensions.Cultures NuGet Downloads Translations, per-scope culture and time-zone state.
Zonit.Extensions.Organizations NuGet Downloads Workspace context — the active organization and switching between them.
Zonit.Extensions.Projects NuGet Downloads Catalog / project context scoped to the active organization.
Zonit.Extensions.Tenants NuGet Downloads Per-domain tenant identity and settings, with strongly-typed plugin settings.
Zonit.Extensions.Website NuGet Downloads The web kernel: several Sites in one app, plug-in areas, layouts, page base classes, navigation, breadcrumbs, toasts, cookies.
Zonit.Extensions.Website.MudBlazor NuGet Downloads MudBlazor inputs bound to value objects, plus layout primitives.
Zonit.Extensions.Ai NuGet Downloads One IAiProvider over OpenAI, Anthropic, Google, xAI and ElevenLabs — text, images, embeddings, audio, agents, MCP, cost tracking.
Zonit.Extensions.Databases NuGet Downloads Repository abstractions over EF Core, with source-generated value-object mapping.

Note on *.Abstractions. Every Zonit.Extensions.*.Abstractions package is retired. The abstractions moved into the main package of each domain. Do not add them to new projects.


✉️ Messaging

In-process Commands (CQRS), Events (pub/sub), Tasks (background jobs) and Schedules (recurring jobs). Handlers are discovered by a source generator at compile time — no assembly scanning, no reflection.

Package NuGet Downloads What it does
Zonit.Messaging.Commands NuGet Downloads Request/response with IRequestHandler<,>.
Zonit.Messaging.Events NuGet Downloads Pub/sub fan-out with IEventHandler<T>.
Zonit.Messaging.Tasks NuGet Downloads Background jobs with progress, retries and monitoring.
Zonit.Messaging.Schedules NuGet Downloads Recurring jobs driven by the Schedule value object.

🛠️ Services

Package NuGet Downloads What it does
Zonit.Services.Dashboard NuGet Downloads Admin dashboard UI on top of the web kernel: MudBlazor chrome, drawer/toolbar extension slots, theming.

🧩 Plugins

  • Zonit.Plugins — shared contracts and event types for plugin-based architectures.

🤖 Built for AI-assisted development

Installing a Zonit package also installs instructions for your AI assistant. At build time the package unpacks guides into the surfaces your editor already reads:

.zonit/extensions/<area>/*.md    neutral guides, human- and agent-readable
.claude/skills/…/SKILL.md        Claude Code skill
.cursor/rules/*.mdc              Cursor rules, glob-scoped
.github/instructions/*.md        Copilot instructions
CLAUDE.md · .github/copilot-instructions.md

Only editors actually present in your repo get files, nothing is written on CI, and each package ships only its own guides — installing Zonit.Extensions.Cultures does not dump the web-kernel documentation on you. Turn it off with <ZonitExtInstructions>false</ZonitExtInstructions>.


Getting started

dotnet add package Zonit.Extensions.Website
builder.Services.AddWebsite(o => o.AddArea<MyArea>());   // registers Auth, Cultures,
                                                         // Organizations, Projects, Tenants too
var app = builder.Build();
app.UseWebsite<App>("/", o => o.AddArea<MyArea>());
app.Run();

Each repository's Readme.md documents its own packages; the per-package guides under .zonit/extensions/ go deeper.


Contributions welcome — open an issue or a pull request on any repository.

Popular repositories Loading

  1. Zonit.Extensions.Ai Zonit.Extensions.Ai Public

    C# 9

  2. Zonit.Extensions.Databases Zonit.Extensions.Databases Public

    Flexible, extensible repository library for fast, clean CRUD and external data access in .NET.

    C# 6

  3. Zonit.Extensions Zonit.Extensions Public

    C# 5

  4. Zonit.Services.EventMessage Zonit.Services.EventMessage Public

    Event Message Service event-driven architecture, enabling decoupled communication and background task management with transactional support, handler discovery, and status monitoring.

    C# 4

  5. Zonit.Services.Dashboard Zonit.Services.Dashboard Public

    Modular Blazor admin dashboard with multi-panel support, built-in authentication, organizations, and MudBlazor UI.

    C# 3

  6. Zonit.Core Zonit.Core Public archive

    C# 1

Repositories

Showing 10 of 18 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…