.NET 10 Modular Framework — Overview
Granit is a modular .NET 10 framework providing production-ready building blocks
for enterprise applications. Each module follows the same layered anatomy
(abstractions, EF Core, endpoints, providers) and wires into the
dependency injection system via [DependsOn].
New here? Get started builds your first API in 15 minutes. Coming from another stack? See Migrating from ABP, FullStackHero, or Clean Architecture.
Your Applicationbundles · endpoints · handlers · pages
AIGranit.AI.*
MCPModel Context Protocol
Business Featuresgranit-business · paid
SaaS & Commercegranit-business · paid
IoTgranit-iot · paid
Building Blocksframework · open-source
API & Http
Infrastructure
ComplianceGDPR · ISO 27001
Security
ASP.NET Core 10Minimal API · DI · Middleware · EF Core
How the catalog is organized
Section titled “How the catalog is organized”- Framework layers (Core, Data, Security, API, Infrastructure, Operations) — the horizontal concerns every application uses, shipped with the framework core.
- Building Blocks — self-contained feature modules included with the framework: Workflow, Data Exchange, Templating, Timeline, QueryEngine, Indexing, and more.
- Business Features — higher-level domain modules (Parties, Documents, Reference Data, Analytics) maintained in their own repository and versioned alongside the framework.
- Product verticals — IoT, CMS, SaaS & Commerce, AI, and MCP each get a dedicated section.
Module groups
Section titled “Module groups”| Group | Modules | Purpose |
|---|---|---|
| Core | Module System, Utilities, Analyzers | Foundation types, module lifecycle, Roslyn analyzers |
| Data | Persistence, Caching, Storage, QueryEngine, Reference Data | EF Core interceptors, FusionCache, multi-provider storage |
| Security & Compliance | Authentication, Authorization, Security, Identity, Privacy, Vault & Encryption | JWT Bearer, RBAC, GDPR, key management |
| API | API & Web, Webhooks | Versioning, OpenAPI, idempotency, HMAC-signed webhooks |
| Infrastructure | Wolverine, Notifications, Background Jobs, Localization, Settings, Multi-Tenancy, Features | Message bus, 6-channel notifications, i18n (18 cultures), time zones, SaaS enablement |
| Observability | Observability & Diagnostics | Serilog, OpenTelemetry, health checks |
| Building Blocks | Workflow, Data Exchange, Templating, Timeline | FSM engine, import/export, PDF generation, activity stream |
| Business Features | Parties, Documents, Reference Data, Analytics | Contact management, document lifecycle, dashboards |
Granit.AI adds provider-agnostic LLM capabilities (OpenAI, Azure, Anthropic, Ollama) via Microsoft.Extensions.AI. See the AI section for setup, NLQ, semantic search, document extraction, and more.
Architecture
Section titled “Architecture”- CQRS — Reader/Writer interface separation enforced across all modules
- HTTP Conventions — status codes, Problem Details, DTO naming
- Dependency Graph — package relationships
- Tech Stack — third-party libraries and licenses
- Design Patterns — 60 patterns documented
- ADRs — architecture decision records
Reference
Section titled “Reference”- Configuration Keys — all appsettings sections and Options classes
- Cloud Providers — packages by cloud provider (AWS, Azure, Google Cloud)
- Provider Compatibility — database, cache, storage support matrix