Architecture — DMBServerHelper

A small shared layer for server configuration and conventions.

1. Configuration layer

Configuration classes expose common package settings while keeping startup registration explicit. The single entry point ServerHelperConfiguration.LoadCommonConfig registers all required services in one call.

Configuration registration
ServerHelperConfiguration.LoadCommonConfig(builder);
ServerHelperConfiguration.Config.CookiePrefix = "BBT";

2. Resource layer

Resource classes and localizer helpers provide a consistent source for internal and validation text. ServerHelperLocalization exposes the string resources consumed by the package and its dependants.

3. Validation layer

Custom validation attributes and adapters keep domain validation reusable between forms and models. They build on top of the shared resource layer so error messages stay consistent.

Boundary

This package should not own page rendering or web middleware. Those responsibilities belong to DMBPageBuilder and DMBServerWebHelper , which depend on the server conventions defined here.

Tech Stack
Backend: .NET 10 / ASP.NET Core
Role: Server foundation
Architecture: Configuration / Helpers
Integration: Foundation for the DMB stack

Go back to the introduction

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

Introduction