Getting Started with Vertical Slice Architecture
In this chapter, we explore Vertical Slice Architecture, which moves elements from multiple layers to a centralized feature. It is almost the opposite of layering, but not totally. Vertical Slice Architecture also gives us a clean separation between requests, leading to an implicit Command Query Responsibility Segregation (CQRS) design. We piece all of that together using MediatR, which we explored in the previous chapter. Of course, you don’t have to use those tools to apply the architectural style; you can replace any library with one of your choosing or even code part of the stack yourself.
The following topics are covered in this chapter:
- Vertical Slice Architecture
- A small project using Vertical Slice Architecture
- Continuing your journey: A few tips and tricks