Skip to content

Latest commit

 

History

History
37 lines (27 loc) · 1.08 KB

File metadata and controls

37 lines (27 loc) · 1.08 KB

SimpleModule.Core

NuGet

Core interfaces and attributes for the SimpleModule modular monolith framework.

Installation

dotnet add package SimpleModule.Core

Quick Start

[Module("Products", RoutePrefix = "products")]
public sealed class ProductsModule : IModule
{
    public void ConfigureServices(IServiceCollection services)
    {
        // Register module services
    }
}

Key Features

  • 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's IMessageBus for decoupled module-to-module communication
  • IMenuRegistry for dynamic navigation menu registration
  • Inertia.js integration for server-driven React page rendering

Links