Getting Started — DMBServerWebHelper

Register web helpers after the shared server layer.

1. Configure Services

DMBServerWebHelper is registered after DMBServerHelper and before visual packages that depend on web request conventions. Call LoadCommonConfig during the service registration phase.

Program.cs — services
ServerWebHelperConfiguration.LoadCommonConfig(builder);

2. Use the Application Module

Call UseApp after building the application so the viewer can register middleware.

Program.cs — middleware
WebApplication app = builder.Build();

ServerWebHelperConfiguration.UseApp(app);

3. Enable Localization

Web-localized resources for request and view scenarios are provided through ServerWebHelperLocalization . Register them before views and validation messages need them.

4. Use Security Helpers

Captcha and security helpers for forms and protected interactions. Request, language, country and session guard utilities cover common ASP.NET Core workflows.

Key API
ServerWebHelperConfiguration
.UseApp(app)
ServerWebHelperLocalization
CaptchaHelper
SessionGuard

Understand the architecture and layer responsibilities

Learn how DMBServerWebHelper fits into the DMB stack between the server and rendering layers.

Architecture