Have a personal or library account? Click to login
.NET Design Patterns Cover

.NET Design Patterns

Learn to Apply Patterns in daily development tasks under .NET Platform to take your productivity to new heights.

Paid access
|Sep 2025
Product purchase options

Explore the world of .NET design patterns and bring the benefits that the right patterns can offer to your toolkit today

Key Features

  • Dive into the powerful fundamentals of .NET framework for software development
  • The code is explained piece by piece and the application of the pattern is also showcased.
  • This fast-paced guide shows you how to implement the patterns into your existing applications

Book Description

Knowing about design patterns enables developers to improve their code base, promoting code reuse and making their design more robust.

This book focuses on the practical aspects of programming in .NET. You will learn about some of the relevant design patterns (and their application) that are most widely used. We start with classic object-oriented programming (OOP) techniques, evaluate parallel programming and concurrency models, enhance implementations by mixing OOP and functional programming, and finally to the reactive programming model where functional programming and OOP are used in synergy to write better code.

Throughout this book, we’ll show you how to deal with architecture/design techniques, GoF patterns, relevant patterns from other catalogs, functional programming, and reactive programming techniques.

After reading this book, you will be able to convincingly leverage these design patterns (factory pattern, builder pattern, prototype pattern, adapter pattern, facade pattern, decorator pattern, observer pattern and so on) for your programs. You will also be able to write fluid functional code in .NET that would leverage concurrency and parallelism!

What you will learn

  • Put patterns and pattern catalogs into the right perspective
  • Apply patterns for software development under C#/.NET
  • Use GoF and other patterns in real-life development scenarios
  • Be able to enrich your design vocabulary and well articulate your
  • design thoughts
  • Leverage object/functional programming by mixing OOP and FP
  • Understand the reactive programming model using Rx and RxJs
  • Writing compositional code using C# LINQ constructs
  • Be able to implement concurrent/parallel programming techniques
  • using idioms under .NET
  • Avoiding pitfalls when creating compositional, readable, and
  • maintainable code using imperative, functional, and reactive code.

Who this book is for

This book is for those with familiarity with .NET development who would like to take their skills to the next level and be in the driver’s seat when it comes to modern development techniques. Basic object-oriented C# programming experience and an elementary familiarity with the .NET framework library is required.

Table of Contents

  1. An Introduction to Patterns and Pattern Catalogs
  2. Why we need Design Patterns?
  3. A Logging Scenario
  4. Targeting Applications to multiple DB engines
  5. Tabular reporting using HTML
  6. Plotting Mathematical Expressions
  7. Patterns in the .NET Base Class Library
  8. Concurrent and Parallel Programming under .NET
  9. Functional Programming Techniques for better state management
  10. Pattern implementation using Object/Functional
  11. What is Reactive Programming?
  12. Reactive Programming using .NET Rx
  13. Reactive Programming using RxJS
  14. Roadmap ahead
https://github.com/packtpublishing/.net-design-patterns
PDF ISBN: 978-1-78646-186-5
Publisher: Packt Publishing Limited
Copyright owner: © 2017 Packt Publishing Limited
Publication date: 2025
Language: English
Pages: 314