DMBPageBuilder 0.26.0
dotnet add package DMBPageBuilder --version 0.26.0
NuGet\Install-Package DMBPageBuilder -Version 0.26.0
<PackageReference Include="DMBPageBuilder" Version="0.26.0" />
<PackageVersion Include="DMBPageBuilder" Version="0.26.0" />
<PackageReference Include="DMBPageBuilder" />
paket add DMBPageBuilder --version 0.26.0
#r "nuget: DMBPageBuilder, 0.26.0"
#:package DMBPageBuilder@0.26.0
#addin nuget:?package=DMBPageBuilder&version=0.26.0
#tool nuget:?package=DMBPageBuilder&version=0.26.0
DMBPageBuilder
Purpose
DMBPageBuilder is the foundational page rendering package for the PageBuilder ecosystem.
It centralizes reusable primitives for:
- describing page-level metadata through
PageInformation, - composing HTML documents from Razor views,
- rendering strongly typed HTML tag builders,
- registering scripts, stylesheets, metadata, icons, and schema.org data,
- coordinating body, header, main, and footer rendering,
- exposing reusable Razor helpers for page and element composition.
Project-specific section
When copying this file to another PageBuilder ecosystem project, update this section first.
- Project name:
DMBPageBuilder - Project folder:
DMBPageBuilder - Project role: foundational page rendering package.
- Main consumers:
labs_idemobi_comand PageBuilder ecosystem packages. - Documentation target: DocumentationBuilder output rendered in
labs_idemobi_com.
Audience
- Primary audience: developers integrating or maintaining the package.
- Secondary audience: AI assistants (Codex, Claude, Junie, and similar tools) that produce technical documentation and code updates.
Scope
Components/: fluent HTML builders for standard HTML tags, constrained tag contexts, comments, custom classes, and shared builder behavior.HtmlHelpers/: Razor helper extensions that expose PageBuilder components and utility output.Controllers/: base controller support for initializing and publishing page information during MVC requests.Registers/: request-scoped page information storage and retrieval.WebAssets/: global web asset registry for links, scripts, and stylesheets shared across rendered pages.Facades/: public contracts used by builders, action items, style composers, and page-level integrations.Models/: page model, metadata definitions, script/style definitions, body rendering contracts, page rendering entry points, shared enums, and value objects used by rendering, icon, style, and action APIs.Tools/: utility helpers for identifiers, render context tracking, and region behavior.Resources/: package localization resources.wwwroot/: embedded static package assets.
Technical baseline
- SDK:
Microsoft.NET.Sdk.Razor - Target framework:
net10.0 - Nullable: enabled
- XML documentation output: enabled in
Debug,Release, andNuGetconfigurations
Global web assets
IWebAssetRegistry can register application-level assets that every RawPageController page imports before rendering.
Use RegisterGlobalLinkAsset for shared PageLinkDefinition entries such as manifests, icons, preloads, prefetches, or canonical links.
Use RegisterGlobalScriptAsset and RegisterGlobalStylesheetAsset for shared JavaScript and CSS files.
Documentation strategy
This module follows a DocumentationBuilder-first strategy:
- Documentation must be authored for extraction/rendering by DocumentationBuilder.
- Publication target is
labs_idemobi_com. - AI prepares content and structure; the developer executes DocumentationBuilder.
- XML documentation must describe the public rendering contract, not only restate member names.
- Examples should use realistic Razor and page composition scenarios when behavior is user-facing.
Related orientation files
| 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
- DMBServerHelper (>= 0.26.0)
- DMBServerWebHelper (>= 0.26.0)
- Microsoft.Extensions.FileProviders.Embedded (>= 10.0.9)
- Schema.NET (>= 13.0.0)
GitHub repositories
This package is not used by any popular GitHub repositories.
note