Design Patterns in C#: A Hands-On Guide with Real-World Examples (C# 設計模式:實用指南與真實案例)

Sarcar, Vaskaran

  • 出版商: Apress
  • 出版日期: 2020-09-25
  • 售價: $1,400
  • 貴賓價: 9.5$1,330
  • 語言: 英文
  • 頁數: 640
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1484260619
  • ISBN-13: 9781484260616
  • 相關分類: C#Design Pattern
  • 立即出貨 (庫存=1)

相關主題

商品描述

Get hands-on experience with each Gang of Four (GoF) design pattern using C#. For each of the patterns, you will see at least one real-world scenario, a coding example, and a complete implementation including output. In addition to GoF patterns, you will learn additional design patterns which are common and equally important.
In this second edition, you will go through the design patterns and their implementation in Visual Studio 2019 and C# 8. Common patterns in asynchronous programming are covered, including the TAP pattern and APM pattern. You will learn via easy-to-follow examples and understand the concepts in depth. With these updated patterns, you will have a collection of programs to port over to your own projects.
The book begins with the 23 GoF design patterns, and then moves onto alternative design patterns, including the Simple Factory, Null Object, and MVC patterns plus various patterns in asynchronous programming. The book concludes with a discussion of the criticisms of design patterns and chapters on anti-patterns.
Each chapter includes a Q&A session that clears up any doubts and covers the pros and cons of each pattern. FAQs will help you consolidate your knowledge.

What You Will Learn
  • Work with each of the design patterns
  • Implement the design patterns in real-world applications
  • Select an alternative to these patterns by comparing their pros and cons
  • Use Visual Studio Community Edition 2019 to write code and generate output

Who This Book Is For

Software developers, testers, and architects

商品描述(中文翻譯)

透過使用C#,親身體驗每個Gang of Four (GoF)設計模式。對於每個模式,您將看到至少一個真實世界的情境、一個編碼範例以及包含輸出的完整實作。除了GoF模式,您還將學習其他常見且同等重要的設計模式。
在這第二版中,您將使用Visual Studio 2019和C# 8來學習設計模式及其實作。書中還涵蓋了異步程式設計中的常見模式,包括TAP模式和APM模式。您將通過易於理解的範例學習並深入了解這些概念。有了這些更新的模式,您將擁有一系列可移植到自己專案中的程式。
本書以23個GoF設計模式開始,然後轉向替代設計模式,包括簡單工廠、空物件和MVC模式,以及異步程式設計中的各種模式。書末討論了對設計模式的批評,並包含了關於反模式的章節。
每個章節都包含一個問答環節,以解答任何疑問並討論每個模式的優缺點。常見問題將幫助您巩固知識。

您將學到什麼


  • 使用每個設計模式進行工作


  • 在真實應用中實作設計模式


  • 通過比較優缺點,選擇這些模式的替代方案


  • 使用Visual Studio Community Edition 2019編寫程式碼並生成輸出



適合閱讀對象

軟體開發人員、測試人員和架構師

作者簡介

Vaskaran Sarcar obtained his Master of Engineering in software engineering from Jadavpur University, Kolkata (India) and an MCA from Vidyasagar University, Midnapore (India). He was a National Gate Scholar (2007-2009) and has more than 12 years of experience in Education and the IT industry. Vaskaran devoted his early years (2005-2007) in teaching at various engineering colleges, and later he joined HP India PPS R&D Hub Bangalore .He worked there until August, 2019. At the time of his retirement from the IT industry, he was a Senior Software Engineer and Team Lead at HP. To follow his dream and passion, Vaskaran is now an independent full-time author. Other books by him include: -Getting Started with Advanced C# (Apress,2020) -Interactive Object-Oriented Programming in Java Second Edition (Apress,2019) -Java Design Patterns Second Edition (Apress,2019) - Design Patterns in C# (Apress,2018) -Interactive C# (Apress,2017) -Interactive Object-Oriented Programming in Java(Apress,2016) -Java Design Patterns(Apress,2016) -C# Basics: Test Your Skills(Createspace,2015) -Operating System: Computer Science Interview Series(Createspace,2014)

作者簡介(中文翻譯)

Vaskaran Sarcar在印度加爾各答的Jadavpur大學獲得軟體工程碩士學位,並在印度Midnapore的Vidyasagar大學獲得MCA學位。他是一位國家門考獎學金得主(2007-2009年),在教育和IT行業擁有超過12年的經驗。Vaskaran在早年(2005-2007年)在各個工程學院任教,後來加入了HP India PPS R&D Hub Bangalore,並一直在那裡工作直到2019年8月。在他從IT行業退休時,他在HP擔任高級軟體工程師和團隊負責人。為了追尋他的夢想和熱情,Vaskaran現在是一位全職獨立作家。他的其他著作包括: -《Getting Started with Advanced C#》(Apress,2020年) -《Interactive Object-Oriented Programming in Java Second Edition》(Apress,2019年) -《Java Design Patterns Second Edition》(Apress,2019年) -《Design Patterns in C#》(Apress,2018年) -《Interactive C#》(Apress,2017年) -《Interactive Object-Oriented Programming in Java》(Apress,2016年) -《Java Design Patterns》(Apress,2016年) -《C# Basics: Test Your Skills》(Createspace,2015年) -《Operating System: Computer Science Interview Series》(Createspace,2014年)