Web/ForgeTrust.Runnable.Web.RazorWire/RazorWireWebModule.cs
RazorWireWebModule
Type
RazorWireWebModule
A web module that integrates RazorWire real-time streaming and output caching into the application.
Method
ConfigureWebOptions(StartupContext, WebOptions)
Ensures the application's MVC support level is at least ControllersWithViews.
Method
ConfigureServices(StartupContext, IServiceCollection)
Registers RazorWire services, enables output caching, and configures output cache options to include RazorWire policies.
Method
RegisterDependentModules(ModuleDependencyBuilder)
Registers this module's dependencies with the provided dependency builder.
Method
ConfigureHostBeforeServices(StartupContext, Microsoft.Extensions.Hosting.IHostBuilder)
Executes module-specific host configuration before application services are registered.
The default implementation does nothing.
Method
ConfigureHostAfterServices(StartupContext, Microsoft.Extensions.Hosting.IHostBuilder)
Provides a hook to modify the host builder after services have been registered.
Method
ConfigureWebApplication(StartupContext, IApplicationBuilder)
Enables output caching in the application's request pipeline.
Method
ConfigureEndpoints(StartupContext, IEndpointRouteBuilder)
Maps RazorWire HTTP endpoints into the application's endpoint route builder.