Context pack

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

Latest options DMBServerWebHelper

embedded-static-assets

Embedded assets
embedded-static-assets website saas static-files embedded-assets wwwroot
Context text
Expose package-owned embedded wwwroot assets through reusable ASP.NET static file provider composition.
Do not replace embedded asset registration with host-specific physical paths unless explicitly requested.
When adding static file behavior, keep provider ordering deterministic and document how the host application receives or overrides the assets.

middleware-order

Request pipeline
middleware-order website saas middleware pipeline startup
Context text
Middleware registration is observable application behavior.
Document ordering assumptions when changing UseApp(...), session handling, request localization, exception handling, status code pages, static file registration, captcha endpoints, or cookie policy behavior.
Prefer additive extension points over replacing existing middleware order, and keep changes deterministic across host applications.

request-localization

Localization
request-localization website saas localization culture request
Context text
Request culture resolution, accepted language parsing, localization setup, and language utility behavior affect user experience and routing assumptions.
Keep culture fallback behavior deterministic and document changes to request localization, Accept-Language parsing, LanguageTools, CountryWebTools, or localization resources.
Follow the local localization nomenclature before adding or renaming localization keys.

session-captcha-contracts

Session and captcha
session-captcha-contracts website saas session captcha security
Context text
Session and captcha behavior is security-sensitive and user-visible.
When changing SessionGuardMiddleware, CaptchaFactory, CaptchaController, or session-backed validation, document when session is loaded, which keys are used, how failures are handled, and what happens when session is unavailable.
Do not add new session dependencies without documenting key names, lifetime expectations, validation behavior, and compatibility impact.

web-configuration-lifecycle

Service and middleware setup
web-configuration-lifecycle website saas configuration startup aspnet-core
Context text
Use ServerWebHelperConfiguration and WebGenericConfiguration<T> for shared ASP.NET Core web setup.
Keep reusable service registration, middleware setup, request localization, session guard behavior, embedded asset registration, captcha setup, and web utility configuration centralized in DMBServerWebHelper.
Do not move visual component, form builder, page layout, or application-specific website behavior into this package.

web-utility-boundaries

Utility helpers
web-utility-boundaries website saas utilities deterministic security
Context text
Keep utility helpers such as LanguageTools, CountryWebTools, CountryRegionInfoTools, ColorHelper, SecurityHashTools, and RequestCounter small, deterministic, and focused.
Do not turn utility classes into application policy engines or service containers.
Treat hashing, user-provided values, locale data, and request-derived values as security-sensitive inputs and document accepted formats and fallback behavior.