Code311 is a modular, design-system-neutral UI framework ecosystem for ASP.NET Core (.NET 10), with a Tabler-backed implementation and an official hybrid MVC + Razor demo host.
This repository now includes:
- Foundation and governance: solution layout, SDK pinning, centralized package versions, analyzer/nullability/doc enforcement.
- Framework-neutral contracts and core orchestration:
Code311.Ui.AbstractionsCode311.Ui.Core
- Tabler implementation packages:
Code311.Tabler.CoreCode311.Tabler.ComponentsCode311.Tabler.DashboardCode311.Tabler.Widgets.DataTablesCode311.Tabler.Widgets.CalendarCode311.Tabler.Widgets.ChartsCode311.Tabler.MvcCode311.Tabler.Razor
- Infrastructure packages:
Code311.Persistence.EFCoreCode311.Licensing
- Hybrid demo/integration portal:
Code311.Host
Code311 is intentionally layered:
- Abstractions layer (
Ui.Abstractions) defines semantics/contracts with no design-system coupling. - Core layer (
Ui.Core) provides neutral orchestration services (theme/feedback/loading). - Design-system layer (
Tabler.*) maps abstractions into concrete UI behavior and rendering for MVC/Razor, dashboard, and widgets. - Cross-cutting infrastructure (
Persistence.EFCore,Licensing) remains independent fromUi.Coreand Tabler component primitives. - Host layer (
Code311.Host) composes the ecosystem and demonstrates real integration flows without pushing host concerns down into framework packages.
Prerequisites
- .NET SDK 10 (preview)
From repository root:
dotnet restore Code311.sln
dotnet build Code311.sln
dotnet run --project src/Code311.Host/Code311.Host.csprojDefault host behavior:
- Uses SQLite demo persistence at
src/Code311.Host/App_Data/code311-host-demo.db. - Runs explicit startup licensing validation (demo in-memory license configured in host startup).
- Hosts both MVC and Razor Pages routes.
Base URL assumes local launch profile default (https://localhost:5001 or similar):
- Home:
/ - Components:
- Forms:
/ComponentsDemo/Forms - Navigation:
/ComponentsDemo/Navigation - Layout:
/ComponentsDemo/Layout - Feedback:
/ComponentsDemo/Feedback - Data:
/ComponentsDemo/Data - Media:
/ComponentsDemo/Media
- Forms:
- Dashboard:
/Dashboard - Widgets:
- DataTables:
/Widgets/DataTables - Calendar:
/Widgets/Calendar - Charts:
/Widgets/Charts
- DataTables:
- Preferences / Theme:
/Preferences - Licensing Diagnostics (Razor Page):
/Diagnostics/Licensing - Architecture / About:
/Architecture/About
Run the full test matrix:
dotnet test Code311.slnsrc/— product/framework/host packagestests/— unit and integration test projectsdocs/— ADRs and architecture proposal