DMBDocumentationViewer 0.18.0-preview.1
See the version list below for details.
dotnet add package DMBDocumentationViewer --version 0.18.0-preview.1
NuGet\Install-Package DMBDocumentationViewer -Version 0.18.0-preview.1
<PackageReference Include="DMBDocumentationViewer" Version="0.18.0-preview.1" />
<PackageVersion Include="DMBDocumentationViewer" Version="0.18.0-preview.1" />
<PackageReference Include="DMBDocumentationViewer" />
paket add DMBDocumentationViewer --version 0.18.0-preview.1
#r "nuget: DMBDocumentationViewer, 0.18.0-preview.1"
#:package DMBDocumentationViewer@0.18.0-preview.1
#addin nuget:?package=DMBDocumentationViewer&version=0.18.0-preview.1&prerelease
#tool nuget:?package=DMBDocumentationViewer&version=0.18.0-preview.1&prerelease
DMBDocumentationViewer
DMBDocumentationViewer is the runtime documentation viewer for the PageBuilder ecosystem. It reads generated documentation metadata from SQLite, renders documentation pages through MVC views, exposes sidebar navigation, and provides MCP tools so AI assistants can query documentation, imported OpenAPI REST contracts, captured C# source files, source snippets, and project context.
Project-specific section
When copying this file to another PageBuilder ecosystem project, update this section first.
- Project name:
DMBDocumentationViewer - Project role: runtime viewer for generated documentation.
- Primary host:
labs_idemobi_com - Main consumers: MVC documentation pages, sidebar providers, documentation search, and MCP clients.
- Main data source: generated SQLite documentation databases and embedded Razor views.
Responsibilities
- Render generated documentation pages through
DocumentationController. - Render compact generated member lists through
DocumentationObjectMembersViewComponentand theHtml.DocumentationObjectMembers(...)fluent API. - Query generated documentation, source code snippets, and project context files from SQLite databases.
- Query imported OAS3/OpenAPI documents and REST operation contracts from SQLite databases.
- Query captured C# source files from SQLite for AI coding, refactoring, and deduplication workflows.
- Build documentation sidebars through
IDocumentationSidebarProviderandDocumentationSidebarFactory. - Resolve group sidebars from the requested package version, falling back to the latest generated version when no version route value is provided.
- Preserve the selected documentation version on group return links, breadcrumbs, and root documentation navigation.
- Provide reader-side display controls for generated member sections when pages expose DocumentationBuilder filter metadata, while showing the menu disabled on documentation pages that do not expose filterable members.
- Expose embedded DocumentationViewer static assets through the host application's static file provider.
- Expose MCP tools through
DocumentationMcpToolsfor documentation lookup, REST API operation lookup, OpenAPI document retrieval, search, source file lookup, source snapshot lookup, coding context bundles, and project context retrieval. - Render dedicated Razor REST API pages for imported OpenAPI documents and operation contracts.
- Render a dedicated Razor MCP connection page from API sidebars so humans can connect AI assistants and inspect the available tool contracts.
- Keep documentation routes stable for generated object pages, namespace pages, and group pages.
Fluent Member Rendering
Use Html.DocumentationObjectMembers(...) when a host page needs an exact member list from the generated documentation database:
@(await Html.DocumentationObjectMembers("BadgeBuilder")
.ForClass()
.ShowMethods()
.DisplaySignatures(includeDescription: true)
.RenderAsync())
Non-goals
- It does not generate documentation from C# source projects.
- It does not parse Roslyn symbols or XML comments directly.
- It does not replace
DMBDocumentationBuilder. - It does not mutate source projects or generated documentation databases.
Main folders
Configuration/: package configuration and application registration.Controllers/: MVC documentation routes and MCP tool endpoints.Managers/: SQLite query services and MCP text formatting helpers.Models/: view models and query result models.Sidebar/: sidebar provider contract and default factory.Views/Documentation/: embedded Razor views used by the runtime viewer.
Documentation expectations
All public and protected contract APIs must have English XML documentation. Documentation rules are defined in DOCUMENTATION_RULES.md; example, tutorial, and concept-page rules are defined in EXAMPLES_AND_TUTORIALS_RULES.md.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- ChilliCream.ModelContextProtocol.AspNetCore (>= 1.3.0)
- DMBBootstrapBuilder (>= 0.18.0-preview.1)
- DMBComponentBuilder (>= 0.18.0-preview.1)
- DMBPageBuilder (>= 0.18.0-preview.1)
- DMBServerHelper (>= 0.18.0-preview.1)
- DMBServerWebHelper (>= 0.18.0-preview.1)
- Microsoft.Data.Sqlite (>= 10.0.8)
- Microsoft.Extensions.FileProviders.Embedded (>= 10.0.8)
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.19.0 | 0 | 6/9/2026 |
| 0.18.0-preview.1 | 0 | 6/9/2026 |
| 0.17.0 | 0 | 6/9/2026 |
| 0.16.1-preview.1 | 0 | 6/9/2026 |
| 0.16.0 | 0 | 6/9/2026 |
note