Context pack

Select latest-version context options and export them as a ZIP file.

Latest options DMBPageBuilder

html-builder-semantics

HTML builders
html-builder-semantics website saas game html builders semantics
Context text
Use existing DMBPageBuilder typed HTML builders and constrained builders for reusable markup instead of ad hoc raw HTML.
Keep tag name, attribute name, reserved attribute, style declaration, URL attribute, and raw content validation behavior deterministic.
Use raw HTML only when a typed builder or helper does not represent the required browser semantics.

launch-token-cache-busting

Asset versioning
launch-token-cache-busting website saas game cache-busting launch-token assets
Context text
Do not append manual cache-busting query strings such as ?v=... to local asset URLs.
PageBuilder applies ServerHelperConfiguration.Config.LaunchToken to local URLs during rendering when launch-token versioning is enabled.
External CDN URLs and intentionally versioned third-party URLs may keep explicit vendor versioning.

page-information-lifecycle

Page lifecycle
page-information-lifecycle website saas game page-information controller metadata
Context text
Use PageInformation and the PageBuilder controller lifecycle for page title, description, metadata, icons, scripts, stylesheets, schema data, alerts, body builder, and page container behavior.
Configure page-level information in the controller action before returning the view.
Do not scatter page metadata, scripts, stylesheets, or rendering decisions across unrelated helpers when PageInformation already owns the behavior.

razor-helper-boundaries

Razor helpers
razor-helper-boundaries website saas game razor html-helper rendering
Context text
Keep Razor helper extensions focused on exposing PageBuilder components, utilities, and rendering adapters to views.
Do not put business-flow logic, product-specific policy, Bootstrap-specific component behavior, or form-builder responsibilities into DMBPageBuilder helpers.
When helper behavior affects user-facing output, document the rendered contract and downstream impact.

rendering-contract-stability

Rendering contracts
rendering-contract-stability website saas game rendering public-api compatibility
Context text
Treat DMBPageBuilder as infrastructure-level rendering code with cross-module impact.
Preserve public builder APIs, Razor helper behavior, rendered HTML shape, metadata order, asset order, and default rendering behavior unless a breaking change is explicitly requested.
Prefer additive extension points over replacing existing rendering contracts.

web-asset-registration

Web assets
web-asset-registration website saas game assets javascript css
Context text
Register shared or application-level JavaScript, CSS, and link assets through IWebAssetRegistry using RegisterGlobalScriptAsset, RegisterGlobalStylesheetAsset, or RegisterGlobalLinkAsset.
Register component-scoped assets on the current PageInformation with SetScriptFile or SetStylesheet only when the component renders.
Keep reusable browser-side behavior in static asset files such as wwwroot; do not generate reusable JavaScript or CSS from C# strings when a real asset can be registered.