Architecting ASP.NET Core Applications : An atypical design patterns guide for .NET 8, C# 12, and beyond, 3/e (Paperback)
暫譯: 架構 ASP.NET Core 應用程式:.NET 8、C# 12 及未來的非典型設計模式指南,第 3 版 (平裝本)

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.

商品描述(中文翻譯)

後端設計前所未見 - 一本關於構建經得起時間考驗的 SOLID ASP.NET Core 網頁應用程式的指南。特色包括更多的 Minimal APIs、更多的測試、一個新的電子商務專案,以及模組化的單體架構!

購買印刷版或 Kindle 版書籍可獲得免費 PDF 電子書。

主要特點

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

書籍描述

這本獨特的 ASP.NET Core 書籍將填補您在 REST API 和後端設計中的空白。學習如何使用 Gang of Four (GoF) 設計模式和現代架構原則來構建穩健、可維護且靈活的應用程式。這個新版本已更新至 .NET 8,專注於後端,並包含有關 REST APIs、REPR 模式和構建模組化單體的新內容。

您將從涵蓋基礎概念開始,例如 REST、SOLID 原則、Minimal APIs、.NET 中的依賴注入以及其他 ASP.NET Core 8 機制。接著,您將學習使用設計模式開發組件,包括許多來自 GoF 的模式。最後,您將探索使用從層次到功能導向的垂直切片設計來組織應用程式代碼,涵蓋 CQS 以及深入微服務的內容。書末的一個全新電子商務專案將把所有內容串聯起來。

這本實用指南將教您如何從構建模塊組裝自己的 API,以滿足您可能有的任何現實需求。

您將學到的內容

- 應用 SOLID 原則來構建靈活且可維護的軟體
- 使用自動化測試有效測試您的應用程式,包括黑盒測試
- 開始掌握 ASP.NET Core 的依賴注入
- 使用 GoF 設計模式,包括策略模式、裝飾者模式、外觀模式和組合模式
- 使用 Minimal APIs 和 ASP.NET Core MVC 設計 REST APIs
- 探索分層和乾淨架構的原則
- 使用功能導向技術作為分層的替代方案
- 探索微服務、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. 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