Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

NDC Conferences

Vertical Slice Architecture

NDC Conferences via YouTube

Overview

Explore vertical slice architecture in this comprehensive conference talk by Jimmy Bogard. Learn how to transition from layered architecture, focusing on building along the axis of change. Discover new structures, patterns, and policies for this architectural style, addressing common business functionality and integrating concepts like CQRS and DDD. Dive into patterns, tools, and techniques used with slices, and understand their application in desktop, SPA, and MVC applications. Examine challenges associated with slices and layers, and uncover how this approach leads to more maintainable systems. Gain insights into organizing code, modeling requests and responses, handling commands and queries, and implementing encapsulation. Explore topics such as SQL projections, domain validation, pipeline behaviors, and testing strategies for both queries and commands.

Syllabus

Vertical slice Architecture
Traditional n-tier UI Layer
Organizing by layer
Areas of change
Move code to single place
Move service methods to classes
Modeling requests
Request/Response with Mediatr
Registering Mediatr
Commands and Queries
One model in, one model out
Complete encapsulation
Modeling Queries
Paging/Sorting/Filtering
Modeling Responses
Complex Response
Command/Query Duality
Modeling Commands
Simple Commands public class Edit
Model-Bound Types
Task-Based UIS
Modeling Command Responses
void Response
Success/Fail
Creation
Complete Response
SQL Projections
Encapsulated Logic
Duplicate Logic
Command Handlers
Procedural Beginnings
DI with no abstractions
Code Smells
Behavioral Smells
Push Behavior Down
Encapsulated Domain
validation Scopes
Request validation
Domain validation
Representations
Controllers as routes
Razor Pages
Pipeline Behavior (Decorator)
Stackable Decorators
Think: Action Filters
Transactions
Unit of work
Concurrency and Retries
Logging
Registration
Setting Up Data
Sending Requests
Testing queries through result
Setup through the front door
Setup data directly when needed
Test commands with roundtrips

Taught by

NDC Conferences

Reviews

Start your review of Vertical Slice Architecture

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.