Clean Architecture with .NET

Clean Architecture with .NET

by Casey Crouse and Steve Smith
Publication Date: 30/04/2026

Share This eBook:

  $44.99

Learn Clean Architecture as a set of organizing principles, not just code templates. This book shows how to design scalable, testable .NET apps using modern patterns, DDD, CQRS, and secure Azure integration.

Key Features

  • Architect robust .NET apps with domain-driven, testable Clean Architecture
  • Integrate Azure External ID and Key Vault with real-world cases
  • Apply MediatR, CQRS, and modern .NET practices to streamline architecture
  • Implement persistence with EF Core using a code-first approach and Clean Architecture boundaries
  • Purchase of the print or Kindle book includes a free PDF eBook

Book Description

Learn to architect resilient and maintainable .NET applications with Clean Architecture and Azure in this example-driven guide. Designed around a realistic e-commerce project - Project Odyssey, you’ll explore every architectural layer, from core domain logic and application orchestration to infrastructure and presentation. This book equips you to apply domain-driven design, CQRS, MediatR, and dependency injection, enabling loosely coupled, testable systems. You’ll build reusable and modular code structures that scale with your application’s complexity. You’ll also learn how to persist data using EF Core with a code-first approach, managing schema evolution with migrations while keeping infrastructure concerns isolated from your domain logic. Discover how to develop secure systems by integrating Azure External ID, Key Vault, and application-level authentication and authorization. Gain practical experience with Blazor Server, Razor components, and MudBlazor UI, all integrated within a layered architecture. Learn to enforce business logic boundaries, reduce boilerplate with generic request handlers, and use real-world use cases like payment processing and cart management. Whether you’re using Clean Architecture for the first time or scaling up enterprise solutions, this book provides the patterns, tools, and mindset to succeed.

What you will learn

  • Design scalable .NET applications with Clean Architecture principles
  • Structure core logic using use cases, CQRS, and domain modeling
  • Integrate Azure External ID, Key Vault, and secure service configurations
  • Use EF Core with a code-first approach to manage database schemas and persistence
  • Apply MediatR and FluentValidation for streamlined workflows
  • Build rich UIs using Blazor Server and MudBlazor
  • Orchestrate multi-layered startup and dependency injection processes
  • Reduce architectural boilerplate while maintaining structure

Who this book is for

Software engineers, .NET developers and solution architects seeking to implement scalable, testable, and maintainable applications using Clean Architecture principles. A working knowledge of .NET and C\# is recommended, as well as familiarity with web development concepts and Azure fundamentals.

ISBN:
9781805128021
9781805128021
Category:
Computer programming / software development
Publication Date:
30-04-2026
Language:
English
Publisher:
Packt Publishing
Steve Smith

Steve's interest in military history stems from his family's experiences WW1 & WW2 where he has traced all of their histories. It is both a passion and a calling to him.

He served in the RAF from 1985 to 2003 as an RAF Police NCO and settled in Norfolk. He is married with three daughters and is now a qualified battlefield guide and author of two books relating to subjects in both World Wars.

His main interest in life is now guiding groups and walking the battlefields of France and Belgium to develop his knowledge of that subject.

This item is delivered digitally

Reviews

Be the first to review Clean Architecture with .NET.