Modular Monolith Architecture .NET Core

Code: NET-arch-monolith
Category: .NET Architecture
Format: 30% lecture / 70% workshop
Duration: 3 days
Target audience: developers
Enrollment: Groups, companies
Venue: Client's office.

The Modular Monolith training is dedicated to people and teams who are looking for techniques and patterns supporting the logical division of a monolithic solution into independent modules, ensuring a compromise between the advantages of developing a single application and the modularity and autonomy of independent services in the microservices approach. During the training, participants will learn the techniques and challenges related to the division of a monolith into independent parts (so-called vertical slice) and will focus on an example module implementation in a dedicated project. .

It's all about the content.

  • Pragmatic modularisation
  • Microservices-ready arch
  • Healthy modules boundaries

Training Program

The content of our program can be customised during pre-training analysis.

  1. Theory
    1. Division of systems in terms of modularity and dispersion
    2. "Classic" vs. modular monolith
    3. Advantages of implementing a modular monolith
  2. Application architecture
    1. Clean architecture
    2. Basic building blocks from Domain-Driven Design
    3. CQS/CQRS
  3. Implementation
    1. Application overview, structure of files / directories / projects in a walkthrough.
    2. Implementation of the new module as a vertical slice.
  4. Communication between modules
    1. Ways of communication between modules
    2. Local contracts vs. shared contracts
    3. Implementation of a modular communication mechanism
  5. Integration between modules
    1. Synchronous integration (write transactional)
    2. Asynchronous integration between modules. Discussion of advantages and disadvantages (fire and forget vs async / await)
    3. Implementation of the modular integration mechanism
    4. Shared infrastructure and error handling
  6. Distributed business processes
    1. Overview of existing solutions
    2. A practical application of the Saga pattern
  7. Testing
    1. Unit tests
    2. Integration tests
    3. End-to-end tests
    4. Contract tests
    5. Performance tests
  8. Deployment strategies
    1. Overview of mechanisms provided by the framework
    2. Dynamic implementation of modules
  9. Optional 4th day Day - Extraction of a microservice from the module
    1. The challenges of microservices architecture
    2. Refactoring modular communication to HTTP communication
    3. Replacing modular integration with communication using a message broker
    4. Adaptation of the monolith's infrastructure to support two types of communication, i.e. inside and outside the process

Download PDF


Meet the experts who will conduct your training.

Contact us for a free consultation.

Firstname and lastname:

If you prefer direct contact then you can always call.

Iwona Sobótka

Training coordinator

I agree to the processing of my personal data in accordance with the Law on the Protection of Personal Data in connection with sending a request via the contact form.

Providing the data is voluntary but necessary to process the query. I have been informed that I have the right to access my data, the possibility of correcting them, demanding stopping their processing.

The administrator of personal data is Bottega IT Minds, ul. Jana Sawy 2, 20-632 Lublin, Poland.

The information clausule