Core interfaces and attributes for the SimpleModule modular monolith framework.
dotnet add package SimpleModule.Core[Module("Products", RoutePrefix = "products")]
public sealed class ProductsModule : IModule
{
public void ConfigureServices(IServiceCollection services)
{
// Register module services
}
}- IModule interface for defining self-contained modules
- IEndpoint interface for auto-discovered Minimal API endpoints
- [Dto] attribute for cross-module data transfer types with TypeScript generation
- Domain events (
IEvent/DomainEvent) dispatched in-process via Wolverine'sIMessageBusfor decoupled module-to-module communication - IMenuRegistry for dynamic navigation menu registration
- Inertia.js integration for server-driven React page rendering