examples/razorwire-mvc/RazorWireExampleModule.cs
RazorWireExampleModule
Type
RazorWireExampleModule
A module that demonstrates the usage of RazorWire in an ASP.NET Core MVC application.
Method
ConfigureServices(StartupContext, IServiceCollection)
Registers services required by the Razor Wire example module.
Method
RegisterDependentModules(ModuleDependencyBuilder)
Declares this module's dependency on the RazorWireWebModule.
Method
ConfigureHostBeforeServices(StartupContext, IHostBuilder)
Allows the module to configure the host builder before dependency injection services are registered.
Method
ConfigureHostAfterServices(StartupContext, IHostBuilder)
Performs host-level configuration after services have been registered.
Method
ConfigureWebApplication(StartupContext, IApplicationBuilder)
Configures the web application's middleware and request pipeline.
Method
ConfigureEndpoints(StartupContext, IEndpointRouteBuilder)
Configures the module's endpoint routing by registering the default MVC controller route.