Web/ForgeTrust.Runnable.Web.RazorDocs/RazorDocsWebModule.cs

RazorDocsWebModule

Type

RazorDocsWebModule

Web module configuration for the RazorDocs documentation system.
Method

ConfigureServices(StartupContext, IServiceCollection)

Registers services required by the RazorDocs module into the provided service collection.
Adds HTML sanitizer, Markdown and C# harvesters, and the documentation aggregator.
Method

RegisterDependentModules(ModuleDependencyBuilder)

Registers runtime module dependencies for this web module, including RazorWireWebModule.
Method

ConfigureHostBeforeServices(StartupContext, IHostBuilder)

Performs host-level configuration steps before application services are registered.
Method

ConfigureHostAfterServices(StartupContext, IHostBuilder)

Performs host-level configuration steps after application services have been registered.
Method

ConfigureWebApplication(StartupContext, IApplicationBuilder)

Configures the application's request pipeline and middleware for this module.
Method

ConfigureEndpoints(StartupContext, IEndpointRouteBuilder)

Adds the module's default catch-all controller route for documentation endpoints.