E-book details

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

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

Carl-Hugo Marcotte, Nick Cosentino

Ebook
This unique ASP.NET Core book will fill in the gaps 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 REST APIs, the REPR pattern, and building modular monoliths.

You’ll start by covering foundational concepts like REST, the SOLID principles, Minimal APIs, dependency injection in .NET, 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, covering CQS and a deep dive into microservices along the way. A brand-new e-commerce project at the end of the book will tie it all together.

This how-to guide will teach you how to assemble your own APIs from building blocks, to suit whatever real-world requirements you may have.
  • 1. Introduction
  • 2. Automated Testing
  • 3. Architectural Principles
  • 4. REST APIs
  • 5. Minimal APIs
  • 6. Model-View-Controller
  • 7. Strategy, Abstract Factory, and Singleton Design Patterns
  • 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
  • 16. Mediator and CQS Patterns
  • 17. Getting Started with Vertical Slice Architecture
  • 18. Request-EndPoint-Response (REPR)
  • 19. Introduction to Microservices Architecture
  • 20. Modular Monolith
  • Title: Architecting ASP.NET Core Applications. An atypical design patterns guide for .NET 8, C# 12, and beyond - Third Edition
  • Author: Carl-Hugo Marcotte, Nick Cosentino
  • Original title: Architecting ASP.NET Core Applications. An atypical design patterns guide for .NET 8, C# 12, and beyond - Third Edition
  • ISBN: 9781805129301, 9781805129301
  • Date of issue: 2024-03-22
  • Format: Ebook
  • Item ID: e_3puv
  • Publisher: Packt Publishing