Architecture — DMBServerWebHelper

A web adaptation layer above DMBServerHelper.

1. Configuration layer

Web configuration objects register request-specific services and application middleware hooks. The two-phase registration — services then middleware — keeps startup order explicit.

Two-phase registration
ServerWebHelperConfiguration.LoadCommonConfig(builder);

WebApplication app = builder.Build();
ServerWebHelperConfiguration.UseApp(app);

2. Request layer

Request counters, language tools and country helpers support common web-facing data flows. These helpers build on the IHttpContextAccessor registered by the configuration layer.

3. Security layer

Captcha, security hashes and session guards provide reusable protections for interactive pages. They depend on the shared server conventions from DMBServerHelper and extend them for web scenarios.

Boundary

This package should own web concerns, not page composition. Rendering remains the responsibility of DMBPageBuilder and the visual builder packages above it.

Tech Stack
Backend: .NET 10 / ASP.NET Core
Role: Web adaptation layer
Architecture: Middleware / Helpers
Integration: Above DMBServerHelper

Go back to the introduction

Review the complete overview of DMBServerWebHelper and its role in the stack.

Introduction