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

YouTube

Vertical Slice Architecture

NDC Conferences via YouTube

Overview

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This course examines how to move from layered architecture to vertical slices, including patterns for modeling requests, encapsulating business logic, handling validation, and testing. It also discusses applying slices across MVC, SPA, and desktop applications and how CQRS and domain-driven design fit.

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.