Course · Training · Workshop

Jimmy Bogard: Modern .NET with Vertical Slice

Explore modern .NET with Microsoft MVP Jimmy Bogard: Tips and tricks from the creator of Vertical Slice, MediatR and AutoMapper.

Two days intensive hands-on course focused on refactoring an existing c# based enterprise application, transforming it into a scalable and robust system using the Vertical Slice architectural pattern and important .NET 8 features. Dive deep into libraries like MediatR and AutoMapper, focusing on their proper usage. Gain insights into Messaging and Distributed Systems Functionality using NServiceBus Library.

What participants say

These customers booked courses in the same topic cluster.More customers →

Content

Enterprise applications are rapidly expanding, and making the right decisions regarding architectural patterns is crucial. How can one navigate this decision-making process iteratively? This course will guide you through it. We will extensively explore the Vertical Slice architectural pattern, allowing you to make informed decisions for each slice independently. The course covers refactoring techniques, eliminating the need for an expensive rewrite of the application. Furthermore, delve into widely used libraries such as MediatR and AutoMapper. Additionally, gain insights into NServiceBus integration for a more comprehensive understanding and practical implementation advice.

Together, we incrementally refactor an .Net based enterprise application discussing and introducing step by step following topics:

  • Learning Domain-Driven Design and Refactorings techniques
  • Using .NET 8 most valuable features
  • Understanding the Vertical Slice Architectural Pattern
  • Discerning scenarios when the Vertical Slice pattern is the most suitable solution
  • Learning techniques for choosing the most effective size for Vertical Slices
  • Exploring various architectural patterns applicable within and across individual slices
  • Learning Mediator Design Pattern
  • Learning Effective Usage of MediatR Library
  • Learning Optimal Usage of AutoMapper Library
  • Leveraging NServiceBus for Messaging and Distributed Systems Functionality
  • Open Q&A session

The actual course content may differ from the above depending on the trainer, delivery, duration and the composition of participants.

Request this course in-house

By submitting you accept our Privacy Policy.

Request a public date

No suitable public date? Register without obligation — once there is enough interest we schedule a new public date and let you know first.

Number of participants (approx.)

More than 3 participants? Best to request a dedicated in-house date directly.

By submitting you accept our Privacy Policy.

More about Vertical Slice Architecture and Modern .NET

Vertical Slice Architecture is an architectural approach that organizes an application along its features – not along technical layers. Each slice contains the complete code for a specific functionality, from the user interface down to the database. This approach, significantly popularized by Jimmy Bogard, reduces artificial coupling between features and allows teams to consciously choose the most fitting architecture per slice.

Further resources:

History

Classic N-Tier architecture (Presentation, Business Logic, Data Access) dominated enterprise development for decades. With the rise of Domain-Driven Design and CQRS, new thinking patterns emerged in the 2010s. In 2018, Jimmy Bogard described a pragmatic counter-approach in his widely cited blog post "Vertical Slice Architecture": instead of horizontal layers, code is organized vertically by feature, with each slice free to adopt its own optimal structure.

The libraries MediatR and AutoMapper, both created by Jimmy Bogard, became central building blocks of this approach in the .NET world. MediatR implements the Mediator pattern and enables a clean separation of request handlers, while AutoMapper simplifies object transformation between layers. Today, Vertical Slices are an established pattern for scalable, maintainable enterprise applications.