Skip to content

Repository files navigation

Modulith

Work in progress...

dotnet new templates for building modular monoliths in C#, published to nuget.org as the Modulith package.

dotnet new modulith scaffolds a .NET solution: a Blazor Server host plus one vertical slice per feature, each owning its own Domain/Application/Infrastructure/Web projects, its own EF Core DbContext, and its own Postgres schema. Features cannot reference each other, and architecture tests enforce that. dotnet new modulith-feature adds another slice to an existing solution — eight projects, fully wired.

Use it when a set of microservices would be premature but you still want the module boundaries that make splitting one out later a mechanical job.

Heavily inspired by:

Development

Test the package:

dotnet new install working/content/modulith

Package:

cd working
dotnet pack
dotnet new install bin/Release/Modulith.*.nupkg

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages