DMBDocumentationViewer 0.27.0
See the version list below for details.
dotnet add package DMBDocumentationViewer --version 0.27.0
NuGet\Install-Package DMBDocumentationViewer -Version 0.27.0
<PackageReference Include="DMBDocumentationViewer" Version="0.27.0" />
<PackageVersion Include="DMBDocumentationViewer" Version="0.27.0" />
<PackageReference Include="DMBDocumentationViewer" />
paket add DMBDocumentationViewer --version 0.27.0
#r "nuget: DMBDocumentationViewer, 0.27.0"
#:package DMBDocumentationViewer@0.27.0
#addin nuget:?package=DMBDocumentationViewer&version=0.27.0
#tool nuget:?package=DMBDocumentationViewer&version=0.27.0
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. - Display copyable versioned context options generated from module
AIContextOptions/*.jsonfiles. - 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())
Context Options
Documentation/ContextOptions displays versioned reusable context rules generated from module-owned
AIContextOptions/*.json files.
DMBDocumentationBuilder reads those JSON files during documentation generation and stores them in
DocumentationAIContextOptions with the documentation group name, package id, and version. DMBDocumentationViewer
only reads the generated database, so displayed rules match the documented module version.
DocumentationContextPack/Index provides a first context pack builder form. It proposes only the latest documented
version of each rule, groups choices by rule category and sub-category, and exports the selected context texts as a
ZIP file with a manifest and Markdown files. It does not persist user selections yet.
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.
- It does not compose, persist, or zip Context Packs.
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.4.1)
- DMBBootstrapBuilder (>= 0.27.0)
- DMBComponentBuilder (>= 0.27.0)
- DMBPageBuilder (>= 0.27.0)
- DMBServerHelper (>= 0.27.0)
- DMBServerWebHelper (>= 0.27.0)
- Microsoft.Data.Sqlite (>= 10.0.10)
- Microsoft.Extensions.FileProviders.Embedded (>= 10.0.10)
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.28.0 | 0 | 7/21/2026 |
| 0.27.0 | 0 | 7/21/2026 |
| 0.26.0 | 0 | 6/18/2026 |
| 0.25.0 | 0 | 6/17/2026 |
| 0.24.0 | 0 | 6/15/2026 |
| 0.23.0 | 0 | 6/15/2026 |
| 0.22.0 | 0 | 6/14/2026 |
| 0.21.0 | 0 | 6/11/2026 |
| 0.20.0 | 0 | 6/11/2026 |
| 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