Design Patterns in C#, 2nd Edition
- Paperback: 675 pages
- Publisher: WOW! eBook (October 9, 2020)
- Language: English
- ISBN-10: 1484260619
- ISBN-13: 978-1484260616
Design Patterns in C#: A Hands-on Guide with Real-world Examples, 2nd Edition
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 Design Patterns in C#, 2nd Edition book concludes with a discussion of the criticisms of design patterns and chapters on anti-patterns.
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
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.