Architecture — BootstrapBuilder

A Bootstrap UI layer built on the PageBuilder rendering lifecycle.

1. Layer Architecture

DMBBootstrapBuilder sits above PageBuilder and turns Bootstrap-oriented UI into composable C# builders. It keeps Bootstrap classes and behaviors available while centralizing repeated markup, action patterns and application shell composition. BootstrapBuilder owns UI vocabulary: components, layout helpers, action items, navigation providers and shell composers.

…loading…

2. Main Layers

BootstrapBuilder is organised into three layers that cover the full UI composition lifecycle.

Component Layer

Builders for buttons, alerts, cards, modals, tables, layout blocks and common Bootstrap UI primitives.

Html.Button(...)
Composer Layer

Navigation, sidebar, breadcrumb, footer, profile and theme composers assemble application-level structure.

IMenuBarSectionProvider
Action Layer

Action items normalize links, routes, buttons, groups, toggles and menu entries across the UI.

ActionItemFactory.AspRoute(...)

3. Extension Points

Register IMenuBarSectionProvider implementations for application navigation. Create specialized builders when repeated Bootstrap markup becomes a stable pattern. Keep domain workflows in ComponentBuilder and visual treatments in EffectBuilder.

Application shell providers
builder.Services.AddTransient<IMenuBarSectionProvider, MyMenuProvider>();
builder.Services.AddTransient<IProfileBarSectionProvider, MyProfileProvider>();
builder.Services.AddTransient<IBreadcrumbComposer, BasicBreadcrumbComposer>();
Tech Stack
Backend: .NET 10 / ASP.NET Core
Frontend: Bootstrap 5.3
Architecture: Fluent API / Builder Pattern
Integration: PageBuilder + EffectBuilder

See it in action

Learn how a Razor call becomes Bootstrap markup in the final PageBuilder document.

Rendering Pipeline