Connect packages

Install the Game-Data-Forge packages from NuGet.org and wire them into the host.

1. Install the package layer you need

Once the packages are published on NuGet.org, start with the foundation and add design, forms, components, effects, documentation, or search only when the site needs them.

Package installation
dotnet add package DMBServerHelper
dotnet add package DMBServerWebHelper
dotnet add package DMBPageBuilder
dotnet add package DMBBootstrapBuilder

# Add only when the project needs these features:
dotnet add package DMBFormBuilder
dotnet add package DMBComponentBuilder
dotnet add package DMBEffectBuilder
dotnet add package DMBDocumentationViewer
dotnet add package DMBSearchViewer

2. Load package configuration in order

The host should configure server helpers first, then page rendering, then visual packages, then documentation and search packages. The exact list can stay smaller than this example.

Program.cs services
using DMBBootstrapBuilder;
using DMBComponentBuilder;
using DMBEffectBuilder;
using DMBFormBuilder;
using DMBDocumentationViewer;
using DMBPageBuilder;
using DMBSearchViewer;
using DMBServerHelper;
using DMBServerWebHelper;

ServerHelperConfiguration.LoadCommonConfig(builder);
ServerWebHelperConfiguration.LoadCommonConfig(builder);
PageBuilderConfiguration.LoadCommonConfig(builder);
BootstrapBuilderConfiguration.LoadCommonConfig(builder);
FormBuilderConfiguration.LoadCommonConfig(builder);
ComponentBuilderConfiguration.LoadCommonConfig(builder);
EffectBuilderConfiguration.LoadCommonConfig(builder);
DocumentationViewerConfiguration.LoadCommonConfig(builder);
SearchViewerConfiguration.LoadCommonConfig(builder);

3. Map runtime features after the app is built

Runtime packages may register middleware, routes, static files, or protocol endpoints. Keep this part close to the regular ASP.NET Core pipeline so the AI can find it quickly.

Program.cs application
WebApplication app = builder.Build();

ServerWebHelperConfiguration.UseApp(app);
DocumentationViewerConfiguration.UseApp(app);
SearchViewerConfiguration.UseApp(app);

app.MapControllerRoute(
    name: "default",
    pattern: "{controller=Home}/{action=Index}/{id?}");

app.Run();

4. Ask the AI to verify the wiring

A good assistant should inspect Program.cs , package references, and the first route before adding a new feature.

Verification prompt
Check my package wiring.
Confirm the order of configuration calls, the runtime UseApp calls, and the route that proves the site is visible.
Do not change unrelated files.

Package families

Foundation:

server and page primitives

Design:

Bootstrap, forms, components, effects

Documentation:

generated docs and MCP tools

Search:

indexing and runtime search

Next step

Give the AI structured documentation access through the MCP endpoint.

Connect AI and MCP