Introduction — DocumentationViewer

Render generated documentation inside an ASP.NET Core site.

Zero-Markup Doc Pages

Namespace and object pages rendered automatically from the database — no view files to maintain per type.

Sidebar Navigation

Integrates with the BootstrapBuilder shell to expose structured, collapsible documentation navigation.

AI-Accessible via MCP

The MCP endpoint makes documentation queryable by AI assistants, enabling agent-assisted workflows.

What is DocumentationViewer?

DMBDocumentationViewer is the runtime package that exposes documentation pages from the database generated by DMBDocumentationBuilder . It provides controllers, views, sidebar integration and MCP tooling for querying documentation context.

Use it in the website that hosts your developer documentation. The viewer is responsible for routing, page rendering, namespace and object pages, and the documentation navigation experience.

Documentation pages rendered from Documentation/Show routes — no per-type views
Sidebar provider integrates with BootstrapBuilder shell composers
MCP endpoint makes documentation queryable by connected AI agents
DocumentationViewerConfiguration.UseApp(app)

DocumentationViewer exposes generated API pages directly from the application.

Three Pillars of DocumentationViewer

DocumentationViewer covers three layers of the documentation runtime experience.

Runtime Pages

Displays groups, namespaces and documented objects from the generated SQLite documentation database.

Documentation/Show
Navigation

Builds documentation sidebars and routes users from overview pages to API-level details.

SidebarProvider
MCP Endpoint

Registers documentation tools over the configured MCP endpoint for agent-assisted documentation workflows.

.UseApp(app)

Core Philosophy

We believe developer documentation should be a first-class feature of the application, not a static site maintained in parallel. When you integrate DocumentationViewer, your API reference stays in sync with the database generated by DocumentationBuilder — no manual publishing step.

Next Step

Learn how to configure DocumentationViewer and connect it to the generated database.

Getting Started