Clean Architecture with .NET
Design scalable .NET applications by using Clean Architecture principles and proven patternsCasey Crouse, Steve "Ardalis" Smith
- ناشرPackt
- سال انتشار2026
- ویرایش1
- زبانEnglish
- تعداد صفحات490
- شابک9781805128533
1,177,000 تومان – 2,809,000 تومانمحدوده قیمت: 1,177,000 تومان تا 2,809,000 تومان
تحویل اکسپرس
حمل رایگان سفارشات بالای 1 میلیون تومان
پرداخت امن
امکان پرداخت انلاین یا پرداخت حضروی درب منزل
ضمانت اصالت کالا
امکان پرداخت انلاین یا پرداخت حضروی درب منزل
7 روز گارانتی بازگشت وجه
امکان پرداخت انلاین یا پرداخت حضروی درب منزل
📘 یادگیری معماری تمیز به عنوان مجموعهای از اصول سازماندهی، نه فقط قالبهای کدنویسی
🔹 این کتاب به شما نشون میده چطوری اپلیکیشنهای مقیاسپذیر و تستپذیر .NET رو با استفاده از الگوهای مدرن، DDD، CQRS و یکپارچهسازی امن با آژور طراحی کنین.
🚀 ویژگیهای کلیدی
💻 معماری اپلیکیشنهای قدرتمند .NET با استفاده از معماری تمیزِ تستپذیر و دامین-محور.
☁️ یکپارچهسازی شناسه خارجی آژور (Azure External ID) و کی والت (Key Vault) با بررسی کیسهای واقعی.
🛠️ بهکارگیری MediatR، CQRS و متدهای مدرن .NET برای سادهسازی معماری.
💾 پیادهسازی لایه پایداری داده با EF Core با رویکرد Code-first و رعایت مرزهای معماری تمیز.
📝 توضیحات کتاب
🔹 توی این راهنما یاد میگیرین که چطوری معماری تمیز رو در اپلیکیشنهای واقعی .NET همراه با آژور پیاده کنین. این کتاب بر پایه یک پروژه فروشگاهی به اسم پروژه اودیسه (Project Odyssey) طراحی شده که در اون تمامی لایههای معماری، از منطق هسته دامین و مدیریت اپلیکیشن گرفته تا زیرساخت و ارائه (Presentation) رو طراحی میکنین و میسازین.
🔹 این کتاب شما رو آماده میکنه تا از DDD، CQRS، MediatR و تزریق وابستگی (Dependency Injection) استفاده کنین تا سیستمهایی با وابستگی کم و تستپذیری بالا داشته باشین. شما ساختارهای کد ماژولار و قابل استفاده مجددی میسازین که با پیچیدگی برنامه مقیاس میگیرن و یاد میگیرین چطوری با EF Core و رویکرد Code-first دادهها رو ذخیره کنین و تغییرات دیتابیس رو با Migration مدیریت کنین، در حالی که مسائل زیرساختی رو از منطق دامین کاملاً جدا نگه میدارین. همچنین روش توسعه سیستمهای امن رو با استفاده از شناسه خارجی آژور، آژور کی والت و سیستمهای احراز هویت و تعیین سطح دسترسی یاد میگیرین.
🔹 در طول مسیر، تجربه عملی با Blazor Server، کامپوننتهای Razor و رابط کاربری MudBlazor به دست میارین که همگی در یک معماری لایهبندی شده قرار گرفتن. یاد میگیرین که چطوری مرزهای منطق بیزینس رو حفظ کنین، کدهای تکراری (Boilerplate) رو با هندلرهای عمومی کم کنین و از موارد واقعی مثل پردازش پرداخت و مدیریت سبد خرید استفاده کنین.
🔹 فرقی نمیکنه در معماری تمیز تازهوارد باشین یا در حال توسعه راهکارهای بزرگ سازمانی؛ این کتاب الگوها، ابزارها و طرز فکر لازم برای موفقیت رو در اختیارتون میذاره.
🎓 آنچه یاد خواهید گرفت
🏗️ طراحی اپلیکیشنهای مقیاسپذیر .NET با اصول معماری تمیز.
🧩 ساختاردهی منطق اصلی با استفاده از Use Caseها، CQRS و مدلسازی دامین.
🛡️ یکپارچهسازی شناسه خارجی آژور، کی والت و پیکربندی امن سرویسها.
🗄️ استفاده از EF Core با رویکرد Code-first برای مدیریت دیتابیس و پایداری دادهها.
✅ بهکارگیری MediatR و FluentValidation برای بهینه کردن جریانهای کاری.
🎨 ساخت رابطهای کاربری غنی با Blazor Server و MudBlazor.
🌐 ساخت اپلیکیشنهای چند-میزبانه (Multi-host) با ترکیب سرویسهای ساختاریافته و شفاف.
📉 کاهش کدهای تکراری معماری در عین حفظ ساختار اصلی.
👥 این کتاب برای چه کسی است؟
🔹 توسعهدهندگان .NET، مهندسان نرمافزار و معمارانی که میخوان اپلیکیشنهایی بسازن که درک، تست و تکامل اونها در طول زمان راحتتر باشه. اگه با #C و .NET آشنا هستین و دنبال یک راه عملی و شفاف برای ساختاردهی به برنامههای واقعی با معماری تمیز میگردین، این کتاب انتخاب مناسبیه. داشتن دانش پایه در مورد توسعه وب و آژور به یادگیری بهتر شما کمک میکنه.
📑 فهرست مطالب
بخش ۱: مقدمه و بررسی کلی معماری تمیز
فصل ۱: درک محدودیتهای معماریهای دارای وابستگی شدید (Tightly Coupled)
فصل ۲: آشنایی با معماری تمیز
بخش ۲: طراحی و پیادهسازی معماری تمیز
فصل ۳: تطبیق معماری تمیز با .NET
فصل ۴: طراحی یک اپلیکیشن مبتنی بر معماری تمیز
فصل ۵: پیادهسازی لایه هسته (Core)
فصل ۶: پیادهسازی لایه زیرساخت (Infrastructure)
فصل ۷: پیادهسازی لایه پایداری دادهها (Persistence)
فصل ۸: پیادهسازی لایه ارائه (Presentation) به همراه سیستم هویت (Identity)
فصل ۹: ساخت کامپوننتهای رابط کاربری امن و تستپذیر برای Use Caseها
بخش ۳: مباحث پیشرفته در معماری تمیز
فصل ۱۰: بهبود معماری تمیز در .NET با ترکیب سرویسهای ساختاریافته
فصل ۱۱: ایمنسازی اپلیکیشن مبتنی بر معماری تمیز
فصل ۱۲: کاهش کدهای تکراری (Boilerplate) در اپلیکیشنهای معماری تمیز
فصل ۱۳: استقرار اپلیکیشن معماری تمیز در آژور
بخش ۴: مباحث تکمیلی و منابع
فصل ۱۴: مدیریت و تکامل اپلیکیشن مبتنی بر معماری تمیز
فصل ۱۵: نتیجهگیری
فصل ۱۶: آزادسازی مزایای اختصاصی شما
✍️ درباره نویسندگان
🔹 کیسی کروز یک مهندس نرمافزار باسابقه است که نقش مهمی در توسعه سرویسهای زیرساختی مایکروسافت آژور داشته و تخصص بالایی در پیادهسازی اصول کدنویسی و معماری تمیز در سازمانهای بزرگ داره.
🔹 استیو “آردالیس” اسمیت یک کارآفرین و توسعهدهنده پرسابقه و از اساتید شناختهشده حوزه DDD و SOLID است که با آموزشهای خودش در پلتفرمهایی مثل Pluralsight، به تیمهای زیادی برای تحویل نرمافزار باکیفیت کمک کرده.
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
Book Description
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.
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.
Table of Contents
Part 1: Introduction and Overview of Clean Architecture
Chapter 1: Understanding the Limitations of Tightly Coupled Architectures
Chapter 2: Introduction to Clean Architecture
Part 2: Design and Implementation of Clean Architecture
Chapter 3: Adapting Clean Architecture to .NET
Chapter 4: Designing a Clean Architecture Application
Chapter 5: Implementing the Core Layer
Chapter 6: Implementing the Infrastructure Layer
Chapter 7: Implementing the Persistence Layer
Chapter 8: Implementing the Presentation layer with Identity
Chapter 9: Building Secure, Testable UI Components for Use Cases
Part 3: Advanced Topics in Clean Architecture
Chapter 10: Improving Clean Architecture in .NET with Structured Service Composition
Chapter 11: Securing a Clean Architecture Application
Chapter 12: Reducing Boilerplate in Clean Architecture Applications
Chapter 13: Deploying a Clean Architecture Application in Azure
Part 4: Additional Topics and Resources
Chapter 14: Managing and Evolving a Clean Architecture Application
Chapter 15: Conclusion
Chapter 16: Unlock Your Exclusive Benefits
Applications
About the Author
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.
| ناشر | Packt |
|---|---|
| ویرایش | 1 |
| زبان | English |
| سال انتشار | 2026 |
| شابک | 9781805128533 |
| تعداد صفحات | 490 |
| قطع | B5 |
| کیفیت | اورجینال انتشارات |
| نوع چاپ | رنگی, سیاه و سفید |
| نوع جلد | جلد سخت, شومیز, طلقی |
1,177,000 تومان – 2,809,000 تومانمحدوده قیمت: 1,177,000 تومان تا 2,809,000 تومان
محصولات مشابه

نقد و بررسیها
هنوز بررسیای ثبت نشده است.