Architecting ASP.NET Core Applications : An atypical design patterns guide for .NET 8, C# 12, and beyond, 3/e (Paperback)

Marcotte, Carl-Hugo

  • 出版商: Packt Publishing
  • 出版日期: 2024-03-22
  • 售價: $1,860
  • 貴賓價: 9.5$1,767
  • 語言: 英文
  • 頁數: 806
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1805123386
  • ISBN-13: 9781805123385
  • 相關分類: .NETASP.NETC#Design Pattern
  • 立即出貨 (庫存=1)

買這商品的人也買了...

相關主題

商品描述

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, a new e-commerce project, and the modular monolith!

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

Key Features

  • Learn multiple ways to organize your application code and become a more flexible ASP.NET Core developer
  • Explore hands-on design patterns, learn architectural principles, and how to sidestep anti-patterns
  • Refactor code toward modern application design, such as feature-based vertical slice and clean architecture

Book Description

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.

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
  • Embark on mastering ASP.NET Core dependency injection
  • Work with GoF design patterns including strategy, decorator, facade, and composite
  • Design REST APIs using Minimal APIs and ASP.NET Core MVC
  • Discover layering and the tenets of clean architecture
  • Use feature-oriented techniques as an alternative to layering
  • Explore microservices, CQS, REPR, 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 and API design skills. 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 expertise.

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.

商品描述(中文翻譯)

「從未見過的後端設計 - 建立堅固的 ASP.NET Core 網頁應用程式的指南,以經受時間考驗。包含更多 Minimal APIs、更多測試、一個新的電子商務專案和模組化單體!」

「購買印刷版或 Kindle 版本的書籍將附送免費的 PDF 電子書。」

「主要特點」

- 「學習多種組織應用程式程式碼的方式,成為更靈活的 ASP.NET Core 開發人員」
- 「探索實踐設計模式,學習架構原則,以及如何避免反模式」
- 「重構程式碼以符合現代應用程式設計,例如基於功能的垂直切片和乾淨架構」

「書籍描述」

「這本獨特的 ASP.NET Core 書籍將填補您在 REST API 和後端設計方面的空白。學習如何使用四人幫 (GoF) 設計模式和現代架構原則來建立堅固、可維護和靈活的應用程式。這個新版本針對 .NET 8 進行了更新,並專注於後端,新增了有關 REST API、REPR 模式和模組化單體的內容。」

「您將首先涵蓋基礎概念,如 REST、SOLID 原則、Minimal APIs、.NET 中的依賴注入和其他 ASP.NET Core 8 機制。然後,您將學習使用設計模式開發組件,其中包括許多來自四人幫的模式。最後,您將探索使用從層級到基於功能的垂直切片設計的模式組織應用程式程式碼,並深入研究微服務。書籍末尾的全新電子商務專案將把所有內容串聯在一起。」

「這本實用指南將教您如何根據現實需求從基本組件組裝自己的 API。」

「您將學到什麼」

- 「應用 SOLID 原則來建立靈活和可維護的軟體」
- 「使用自動化測試有效地測試應用程式,包括黑盒測試」
- 「深入探索 ASP.NET Core 依賴注入」
- 「使用策略、裝飾者、外觀和組合等四人幫設計模式」
- 「使用 Minimal APIs 和 ASP.NET Core MVC 設計 REST API」
- 「了解分層和乾淨架構的原則」
- 「使用基於功能的技術作為分層的替代方案」
- 「探索微服務、CQS、REPR、垂直切片架構等許多模式」

「本書適合對 ASP.NET Core 有中級水平的開發人員,他們想要改善自己的 C# 應用程式程式碼結構和 API 設計技能。希望現代化他們的知識並增強技術架構技能的 ASP.NET 開發人員也會喜歡這本書。對於在軟體設計角色中具有更多經驗並希望更新專業知識的人來說,這也是一本很好的複習書。」

「為了充分利用本書,需要具備良好的 C# 編程知識和基本的網頁概念理解,但在學習過程中也包含了一些複習內容。」

目錄大綱

  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

目錄大綱(中文翻譯)


  1. 介紹

  2. 自動化測試

  3. 架構原則

  4. REST API

  5. 最小化 API

  6. 模型-視圖-控制器

  7. 策略、抽象工廠和單例設計模式

  8. 依賴注入

  9. 應用程式配置和選項模式

  10. 日誌模式

  11. 結構模式

  12. 行為模式

  13. 操作結果模式

  14. 分層和乾淨架構

  15. 物件映射器

  16. 中介者和CQS模式

  17. 開始使用垂直切片架構

  18. 請求-端點-回應(REPR)

  19. 微服務架構介紹

  20. 模組化單體