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 DescriptionLearn 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 forSoftware 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.
Sprache
Verlagsort
Maße
Höhe: 235 mm
Breite: 191 mm
ISBN-13
978-1-80512-853-3 (9781805128533)
Copyright in bibliographic data and cover images is held by Nielsen Book Services Limited or by the publishers or by their respective licensors: all rights reserved.
Schweitzer Klassifikation
Casey Crouse is a seasoned software engineer who has made significant contributions to the field throughout his career. He has a strong background in automation testing, web development, and architecture design, having worked for major brands across different industries. Casey has been a driving force in implementing clean coding and architecture principles in various organizations, and his expertise has been invaluable in helping teams develop robust and scalable applications. With his extensive experience and expertise, Casey has played a key role in developing and maintaining foundational services at Microsoft that underpin some of the company's most critical offerings, including Microsoft Azure. Steve "Ardalis" Smith is an entrepreneur and software developer passionate about building quality software efficiently. A Microsoft ASP.NET MVP, Steve is a prolific speaker and educator, with widely viewed courses on Pluralsight and Dometrain covering DDD, SOLID, design patterns, and software architecture. His company, NimblePros, helps teams avoid technical debt and deliver better software faster. Clients describe his team as a "force multiplier," enhancing the value of internal development teams through mentorship and expert guidance. He also leads DevBetter, a private developer coaching program, which has many positive testimonials from his members.
Table of Contents
Introduction to Clean Architecture through a Practical Demo
Introduction to Clean Architecture
Adapting Clean Architecture to .NET
Designing a Clean Architecture Application
Implementing the Core Layer
Implementing the Infrastructure Layer
Implementing the Presentation Layer
Improving Clean Architecture in .NET with Startup Orchestration
Securing a Clean Architecture Application
Optimizing a Clean Architecture Application
Deploying a Clean Architecture Application in Azure
Managing a Clean Architecture Application
Best Practices for Clean Architecture Development
Managing and Evolving a Clean Architecture Application
Bonus: Containerizing a Clean Architecture Application