.NET application framework for building Modular Monoliths.
The primary purpose of this framework is gathering knowledge of how to build Modular Monoliths with .NET effectively.
- Modular class libraries
- Razor in modules
- Web API's in modules
- Scheduled background tasks
-
Create a new ASP.NET web project
-
Add
Modularrto the projectModularris not published to NuGet yet, so download manually and add a reference -
Add
Modularrto the service collection and request pipeline:
var builder = WebApplication.CreateBuilder(args);
builder.Services.AddModularr(builder =>
{
// Add custom modules
// builder.AddModule<HelloWorldModule>();
})
// Optionally add multitenancy support
// .WithMultiTenancy()
;
// .. omitted for brevity
app.UseModularr();- Publish to NuGet
- Scheduled background tasks
- Multitenancy
- Build-in support for datastores
- SQLite
- SQL server
- Build-in support for authorization/authentication
- Events
- Message bus
- Licensing