Clean Architecture with .NET

Clean Architecture with .NET: Design scalable .NET applications by using Clean Architecture principles and proven patterns

Paperback Published on: 30/04/2026
Price: £37.99
Free UK delivery on orders over £25
Not available
This product is currently unavailable
Make and edit your lists in your account
No stock available in any shop.
Not available
This product is currently unavailable
No stock available in any shop.

Synopsis

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.

Free with your book: DRM-free PDF version + access to Packt's next-gen Reader*

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 DescriptionLearn how to apply Clean Architecture in real-world .NET applications with Azure in this guide. Designed around an e-commerce project - Project Odyssey, you’ll design and build every architectural layer, from core domain logic and application orchestration to infrastructure and presentation.

This book equips you to apply DDD, 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 and 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. Learn how to develop secure systems by integrating Azure External ID, Azure 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 shopping cart management.

Whether you're new to Clean Architecture or scaling up enterprise solutions, this book provides the patterns, tools, and mindset to succeed.

*Email sign-up and proof of purchase required 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

Build scalable multi-host applications with structured, transparent service composition

Reduce architectural boilerplate while maintaining structure

Who this book is for.NET developers, software engineers, and solution architects who want to build applications that are easier to understand, test, and evolve over time. This book is a good fit if you’re already familiar with C# and .NET, and want a clearer, more practical way to structure real-world applications using Clean Architecture. Basic knowledge of web development and Azure will help you follow along.

Publisher information

  • Publisher: Packt Publishing Limited
  • ISBN: 9781805128533
  • Number of pages: 490
  • Dimensions: 235 x 191 mm
  • Languages: English

Customer Reviews