0%

Book Description

Get hands-on experience with each Gang of Four design pattern using C#. For each of the patterns, you’ll see at least one real-world scenario, a coding example, and a complete implementation including output.

In the first part of Design Patterns in C#, you will cover the 23 Gang of Four (GoF) design patterns, before moving onto some alternative design patterns, including the Simple Factory Pattern, the Null Object Pattern, and the MVC Pattern. The final part winds up with a conclusion and criticisms of design patterns with chapters on anti-patterns and memory leaks. By working through easy-to-follow examples, you will understand the concepts in depth and have a collection of programs to port over to your own projects.

Along the way, the author discusses the different creational, structural, and behavioral patterns and why such classifications are useful. In each of these chapters, there is a Q&A session that clears up any doubts and covers the pros and cons of each of these patterns.He finishes the book with FAQs that will help you consolidate your knowledge. This book presents the topic of design patterns in C# in such a way that anyone can grasp the idea. 

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 2017 to write code and generate output
Who This Book Is For

Software developers, software testers, and software architects. 

Table of Contents

  1. Cover
  2. Frontmatter
  3. 1. Gang of Four Design Patterns
    1. 1. Singleton Pattern
    2. 2. Prototype Pattern
    3. 3. Builder Pattern
    4. 4. Factory Method Pattern
    5. 5. Abstract Factory Pattern
    6. 6. Proxy Pattern
    7. 7. Decorator Pattern
    8. 8. Adapter Pattern
    9. 9. Facade Pattern
    10. 10. Flyweight Pattern
    11. 11. Composite Pattern
    12. 12. Bridge Pattern
    13. 13. Visitor Pattern
    14. 14. Observer Pattern
    15. 15. Strategy (Policy) Pattern
    16. 16. Template Method Pattern
    17. 17. Command Pattern
    18. 18. Iterator Pattern
    19. 19. Memento Pattern
    20. 20. State Pattern
    21. 21. Mediator Pattern
    22. 22. Chain of Responsibility Pattern
    23. 23. Interpreter Pattern
  4. 2. Additional Design Patterns
    1. 24. Simple Factory Pattern
    2. 25. Null Object Pattern
    3. 26. MVC Pattern
  5. 3. Final Thoughts on Design Patterns
    1. 27. Criticisms of Design Patterns
    2. 28. Anti-patterns
    3. 29. Sealing the Leaks in Your Applications
    4. 30. FAQ
  6. Backmatter
3.17.150.89