An Atypical ASP.NET Core 5 Design Patterns Guide: A SOLID adventure into architectural principles, design patterns, .NET 5, and C#

Marcotte, Carl-Hugo

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

相關主題

商品描述

A .NET developer's guide to crafting robust, maintainable, and flexible web apps by leveraging C# 9 and .NET 5 features and component-scale and application-scale design patterns

 

Key Features

  • Apply software design patterns effectively, starting small and progressing to cloud-scale
  • Discover modern application architectures such as vertical slice, clean architecture, and event-driven microservices
  • Explore ASP.NET design patterns, from options to full-stack web development using Blazor

 

Book Description

Design patterns are a set of solutions to many of the common problems occurring in software development. Knowledge of these design patterns helps developers and professionals to craft software solutions of any scale.

ASP.NET Core 5 Design Patterns starts by exploring basic design patterns, architectural principles, dependency injection, and other ASP.NET Core mechanisms. You'll explore the component scale as you discover patterns oriented toward small chunks of the software, and then move to application-scale patterns and techniques to understand higher-level patterns and how to structure the application as a whole. The book covers a range of significant GoF (Gangs of Four) design patterns such as strategy, singleton, decorator, facade, and composite. The chapters are organized based on scale and topics, allowing you to start small and build on a strong base, the same way that you would develop a program. With the help of use cases, the book will show you how to combine design patterns to display alternate usage and help you feel comfortable working with a variety of design patterns. Finally, you'll advance to the client side to connect the dots and make ASP.NET Core a viable full-stack alternative.

By the end of the book, you'll be able to mix and match design patterns and have learned how to think about architecture and how it works.

 

What You Will Learn

  • Apply the SOLID principles for building flexible and maintainable software
  • Get to grips with .NET 5 dependency injection
  • Work with GoF design patterns such as strategy, decorator, 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 alternative to layering
  • Understand microservices, what they are, and what they are not
  • Build ASP.NET UI from server-side to client-side Blazor

 

Who this book is for

This design patterns book is for beginners as well as intermediate-level software and web developers with some knowledge 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.

商品描述(中文翻譯)

.NET 開發人員的指南:利用 C# 9 和 .NET 5 的功能以及組件級和應用級設計模式來打造堅固、易於維護和靈活的 Web 應用程式

關鍵特點:

- 有效應用軟體設計模式,從小規模開始,逐步發展到雲端規模
- 探索現代應用程式架構,如垂直切片、乾淨架構和事件驅動微服務
- 探索 ASP.NET 設計模式,從選項到使用 Blazor 進行全棧 Web 開發

書籍描述:

設計模式是解決軟體開發中常見問題的一套解決方案。了解這些設計模式可以幫助開發人員和專業人士打造任何規模的軟體解決方案。

《ASP.NET Core 5 設計模式》首先探索基本設計模式、架構原則、依賴注入和其他 ASP.NET Core 機制。您將在探索針對軟體小塊的模式時了解組件級,然後轉向應用級模式和技術,以了解更高層次的模式以及如何結構化整個應用程式。本書涵蓋了一系列重要的 GoF(四人幫)設計模式,如策略、單例、裝飾者、外觀和組合。章節根據規模和主題進行組織,讓您可以從小規模開始,建立在堅實基礎上,就像開發程式一樣。通過使用案例,本書將向您展示如何結合設計模式以顯示替代用法,並幫助您熟悉各種設計模式。最後,您將進一步發展到客戶端,將 ASP.NET Core 作為可行的全棧替代方案。

通過閱讀本書,您將能夠混合和匹配設計模式,並學習如何思考架構及其運作方式。

您將學到什麼:

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

本書適合對 .NET 有一定了解的初學者和中級軟體和 Web 開發人員,他們希望編寫靈活、易於維護和堅固的代碼,用於構建可擴展的 Web 應用程式。需要具備 C# 編程知識和對 Web 概念(如 HTTP)的理解。