An Atypical ASP.NET Core 6 Design Patterns Guide: A SOLID adventure into architectural principles and design patterns using .NET 6 and C# 10 (Paperback)

Carl-Hugo Marcotte , Abdelhamid Zebdi

  • 出版商: Packt Publishing
  • 出版日期: 2022-03-28
  • 售價: $1,800
  • 貴賓價: 9.5$1,710
  • 語言: 英文
  • 頁數: 678
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1803249846
  • ISBN-13: 9781803249841
  • 相關分類: .NETASP.NETDesign Pattern
  • 立即出貨 (庫存=1)



The professional developer's essential guide to building robust, maintainable, and flexible web apps by leveraging C# 10 and .NET 6 features and component- and application-scale design patterns


Key Features:

  • Apply the SOLID architectural principles and software design patterns effectively with a focus on dependency injection
  • Discover modern application architectures such as vertical slice, clean architecture, and event-driven microservices
  • Explore full-stack ASP.NET Core with an overview of Blazor


Book Description:

An Atypical ASP.NET Core 6 Design Patterns Guide, Second Edition approaches programming like playing with LEGO(R) snapping small pieces together to create something beautiful. Thoroughly updated for ASP.NET Core 6, with further coverage of microservices patterns, data contracts, and event-driven architecture, this book gives you the tools to build and glue reliable components together to improve your programmatic masterpieces.


The chapters are organized based on scale and topic, allowing you to start small and build on a strong base, the same way that you would develop a program. You will begin by exploring basic design patterns, SOLID architectural principles, dependency injection, and other ASP.NET Core 6 mechanisms. You'll explore component-scale patterns, and then move to higher level application-scale patterns and techniques to better structure your applications. Finally, you'll advance to the client side to connect the dots with tools like Blazor and make ASP.NET Core a viable full-stack web development framework.


You will supplement your learning with practical use cases and best practices, exploring a range of significant Gang of Four (GoF) design patterns along the way. By the end of the book, you will be comfortable combining and implementing patterns in different ways, and crafting software solutions of any scale.


What You Will Learn:

  • Apply the SOLID principles for building flexible and maintainable software
  • Get to grips with .NET dependency injection
  • Work with GoF design patterns such as strategy, decorator, façade, and composite
  • Explore the MVC patterns for designing web APIs and web applications using Razor
  • Discover layering techniques and tenets of clean architecture
  • Become familiar with CQRS and vertical slice architecture as an alternate to layering
  • Understand microservices and when they can benefit your applications
  • Build ASP.NET User interface from server-side to client-side Blazor


Who this book is for:

The book is intended for intermediate software and web developers with an understanding of .NET who want to write flexible, maintainable, and robust code for building scalable web applications. Knowledge of C# programming and an understanding of web concepts like HTTP is necessary.


專業開發人員建構堅固、可維護和靈活的網路應用程式的必備指南,透過運用 C# 10 和 .NET 6 的功能以及元件和應用程式規模的設計模式。

- 有效應用 SOLID 架構原則和軟體設計模式,專注於依賴注入
- 探索現代應用程式架構,如垂直切片、乾淨架構和事件驅動微服務
- 深入瞭解全端 ASP.NET Core,並簡介 Blazor

《非典型的 ASP.NET Core 6 設計模式指南,第二版》以像玩樂高積木一樣的方式來進行程式設計,將小塊元件組合在一起創造出美麗的東西。本書已全面更新為 ASP.NET Core 6 版本,並進一步涵蓋微服務模式、資料契約和事件驅動架構,為您提供了構建和連接可靠元件的工具,以改進您的程式設計作品。

本書根據規模和主題進行章節組織,讓您可以從小規模開始,建立在堅實基礎上,就像開發程式一樣。您將首先探索基本設計模式、SOLID 架構原則、依賴注入和其他 ASP.NET Core 6 機制。然後,您將探索元件規模的模式,並轉向更高層次的應用程式規模模式和技術,以更好地結構化應用程式。最後,您將進一步發展到客戶端,使用 Blazor 等工具連接各個點,使 ASP.NET Core 成為可行的全端網頁開發框架。


- 應用 SOLID 原則來構建靈活和可維護的軟體
- 瞭解 .NET 依賴注入
- 使用策略、裝飾者、外觀和組合等四人幫設計模式
- 探索用於設計 Web API 和 Web 應用程式的 MVC 模式和 Razor
- 瞭解分層技術和乾淨架構的原則
- 熟悉 CQRS 和垂直切片架構作為分層的替代方案
- 瞭解微服務以及它們對應用程式的好處
- 從伺服器端到客戶端的 Blazor,構建 ASP.NET 使用者介面

本書適合具備 .NET 理解並希望撰寫靈活、可維護和堅固程式碼以構建可擴展網路應用程式的中級軟體和網頁開發人員。需要具備 C# 程式設計知識和對於 Web 概念如 HTTP 的理解。