Architecting ASP.NET Core Applications, 3rd Edition: An atypical design patterns guide for .NET 8, C# 12, and beyond Front Cover

Architecting ASP.NET Core Applications, 3rd Edition: An atypical design patterns guide for .NET 8, C# 12, and beyond

  • Length: 742 pages
  • Edition: 3
  • Publisher:
  • Publication Date: 2024-03-11
  • ISBN-10: 1805123386
  • ISBN-13: 9781805123385
  • Sales Rank: #1185650 (See Top 100 Books)
Description

Backend design like you’ve never seen it before – a guide to building SOLID ASP.NET Core web apps that stand the test of time. Featuring more Minimal APIs, more testing, more building blocks, and the modular monolith!

Purchase of the print or Kindle book includes a free PDF eBook.

Key Features

  • Apply design patterns hands-on and learn to treat them as simple building blocks
  • Refactor code toward modern application design like feature-based vertical slice and clean architecture
  • Discover architectural principles and mix patterns together to understand how to design flexible software

Book Description

This unique ASP.NET Core book will fill in the gaps you’re missing in your REST API and backend designs. Learn how to build robust, maintainable, and flexible apps using Gang of Four (GoF) design patterns and modern architectural principles. This new edition is updated for .NET 8 and focuses exclusively on the backend, with new content on the REPR pattern, black-box testing, and building modular monoliths.

You’ll start by covering foundational concepts like REST, the SOLID principles, Minimal APIs, dependency injection, and other ASP.NET Core 8 mechanisms. Then, you’ll learn to develop components using design patterns, including many from the GoF. Finally, you’ll explore organizing your application code with patterns that vary from layers to feature-oriented vertical slice designs, touching on CQRS and microservices along the way.

This is not a cookbook. You’ll instead understand how business-oriented building blocks work, how to write them, and how to assemble them to make your own APIs instead of getting stuck with recipes that never fit your real-world needs.

What you will learn

  • Apply the SOLID principles for building flexible and maintainable software
  • Test your apps effectively with automated tests, including black-box testing
  • Enter the path of ASP.NET Core dependency injection mastery
  • Work with GoF design patterns such as strategy, decorator, facade, and composite
  • Design REST APIs using Minimal APIs and MVC
  • Discover layering techniques and the tenets of clean architecture
  • Use feature-oriented techniques as an alternative to layering
  • Explore microservices, CQRS, REPL, vertical slice architecture, and many more patterns

Who this book is for

This book is for intermediate-level ASP.NET Core developers who want to improve their C# app code structure. ASP.NET developers who want to modernize their knowledge and enhance their technical architecture skills will also like this book. It’s also a good refresher for those in software design roles with more experience looking to update their knowledge.

A good knowledge of C# programming and a basic understanding of web concepts is necessary to get the most out of this book, though some refreshers are included along the way.

Table of Contents

  1. Introduction
  2. Automated Testing
  3. Architectural Principles
  4. REST APIs
  5. Minimal API
  6. Model-View-Controller
  7. Strategy, Abstract Factory, and Singleton Design
  8. Dependency Injection
  9. Application Configuration and the Options Pattern
  10. Logging Patterns
  11. Structural Patterns
  12. Behavioral Patterns
  13. Operation Result Pattern
  14. Layering and Clean Architecture
  15. Object Mappers, Aggregate Services, and Façade
  16. Mediator and CQRS Patterns
  17. Vertical Slice Architecture
  18. Request-EndPoint-Response (REPR)
  19. Introduction to Microservices Architecture
  20. Modular Monolith
To access the link, solve the captcha.