Design Patterns in C#: A Hands-on Guide with Real-world Examples
By 作者:Vaskaran Sarcar
Paperback : 676 pages
ISBN-10 : 1484260619
ISBN-13 : 9781484260616
Product Dimensions : 17.81 x 3.89 x 25.4 cm
Publisher Finelybook 出版社 : Apress; 2nd ed. Edition (25 Sept. 2020)
Language 语言: : English
The Book Description robot was collected from Amazon and arranged by Finelybook
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