Modular monoliths in ASP.NET can be implemented using standard framework features without custom NuGet packages or proprietary frameworks. The approach relies on IHostingStartup and IStartupFilter interfaces to decouple modules from the host application.

Modules are defined as class libraries containing an assembly attribute. The host application remains unaware of specific modules, as their loading is controlled via the HOSTINGSTARTUPASSEMBLIES environment variable. This allows changing the application topology without recompilation.

Communication between modules is handled through shared contracts. Implementations can be swapped between in-process calls, HTTP, gRPC, or RabbitMQ by changing the environment configuration, keeping the business logic and controllers unchanged across different deployment scenarios.

The architecture ensures that modules only interact with neighbor contracts, maintaining strict boundaries. This setup allows developers to debug and test the entire system in a single process while maintaining the flexibility to distribute components as needed.