Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Clean Architecture with .NET
  • Table Of Contents Toc
Clean Architecture with .NET

Clean Architecture with .NET

By : Casey Crouse, Steve "Ardalis" Smith
1 (1)
close
close
Clean Architecture with .NET

Clean Architecture with .NET

1 (1)
By: Casey Crouse, Steve "Ardalis" Smith

Overview of this book

Learn 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
Table of Contents (23 chapters)
close
close
Lock Free Chapter
1
Part 1: Introduction and Overview of Clean Architecture
4
Part 2: Design and Implementation of Clean Architecture
12
Part 3: Advanced Topics in Clean Architecture
17
Part 4: Additional Topics and Resources
21
Other Books You May Enjoy
22
Index

11

Securing a Clean Architecture Application

In this chapter, we'll thoroughly examine the process of securing a Clean Architecture application by focusing on real-world threats and best practices for modern application security. Starting with the dramatic account of the Midnight Blizzard attack on Microsoft, we'll explore how sophisticated threat actors exploit vulnerabilities to compromise applications, highlighting the importance of building security into every layer of your architecture.

We'll implement essential security techniques in .NET, starting with enforcing Multi-Factor Authentication (MFA) with Entra ID to mitigate password-based attacks. Next, we'll integrate Azure Key Vault to securely manage secrets and sensitive configuration data, eliminating the risks of hardcoded credentials. Finally, we'll enhance structured logging with Serilog, ensuring that sensitive information is obfuscated in logs while maintaining auditability and observability.

By...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Clean Architecture with .NET
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon