Book description
Apply design patterns to solve problems in software architecture and programming using C# 7.x and .NET Core 2
Key Features
- Enhance your programming skills by implementing efficient design patterns for C# and .NET
- Explore design patterns for functional and reactive programming to build robust and scalable applications
- Discover how to work effectively with microservice and serverless architectures
Book Description
Design patterns are essentially reusable solutions to common programming problems. When used correctly, they meet crucial software requirements with ease and reduce costs. This book will uncover effective ways to use design patterns and demonstrate their implementation with executable code specific to both C# and .NET Core.
Hands-On Design Patterns with C# and .NET Core begins with an overview of object-oriented programming (OOP) and SOLID principles. It provides an in-depth explanation of the Gang of Four (GoF) design patterns, including creational, structural, and behavioral. The book then takes you through functional, reactive, and concurrent patterns, helping you write better code with streams, threads, and coroutines. Toward the end of the book, you’ll learn about the latest trends in architecture, exploring design patterns for microservices, serverless, and cloud native applications. You’ll even understand the considerations that need to be taken into account when choosing between different architectures such as microservices and MVC.
By the end of the book, you will be able to write efficient and clear code and be comfortable working on scalable and maintainable projects of any size.
What you will learn
- Make your code more flexible by applying SOLID principles
- Follow the test-driven development (TDD) approach in your .NET Core projects
- Get to grips with efficient database migration, data persistence, and testing techniques
- Convert a console application to a web application using the right MVP
- Write asynchronous, multithreaded, and parallel code
- Implement MVVM and work with RxJS and AngularJS to deal with changes in databases
- Explore the features of microservices, serverless programming, and cloud computing
Who this book is for
If you have a basic understanding of C# and the .NET Core framework, this book will help you write code that is easy to reuse and maintain with the help of proven design patterns that you can implement in your code.
Table of contents
- Title Page
- Copyright and Credits
- Dedication
- About Packt
- Foreword
- Contributors
- Preface
- Section 1: Essentials of Design Patterns in C# and .NET Core
- Overview of OOP in .NET Core and C#
- Modern Software Design Patterns and Principles
- Section 2: Deep Dive into Utilities and Patterns in .NET Core
- Implementing Design Patterns - Basics Part 1
- Implementing Design Patterns - Basics Part 2
- Implementing Design Patterns - .NET Core
- Implementing Design Patterns for Web Applications - Part 1
- Implementing Design Patterns for Web Applications - Part 2
- Section 3: Functional Programming, Reactive Programming, and Coding for the Cloud
- Concurrent Programming in .NET Core
- Functional Programming Practices
- Reactive Programming Patterns and Techniques
- Advanced Database Design and Application Techniques
- Coding for the Cloud
- Miscellaneous Best Practices
-
Assessments
- Chapter 1 – Overview of OOP in .NET Core and C#
- Chapter 2 – Modern Software Design Patterns and Principles
- Chapter 3 – Implementing Design Patterns – Basics Part 1
- Chapter 4 – Implementing Design Patterns – Basics Part 2
- Chapter 5 – Implementing Design Patterns – .NET Core
- Chapter 6 – Implementing Design Patterns for Web Applications – Part 1
- Chapter 7 – Implementing Design Patterns for Web Applications – Part 2
- Chapter 8 – Concurrent Programming in .NET Core
- Chapter 9 – Functional Programming Practices – an Approach
- Chapter 10 – Reactive Programming Patterns and Techniques
- Chapter 11 – Advanced Database Design and Application Techniques
- Chapter 12 – Coding for the Cloud
- Appendix A – Miscellaneous Best Practices
- Other Books You May Enjoy
Product information
- Title: Hands-On Design Patterns with C# and .NET Core
- Author(s):
- Release date: July 2019
- Publisher(s): Packt Publishing
- ISBN: 9781789133646
You might also like
video
Design Patterns Using C# and .NET Core
Design patterns are reusable solutions to common programming problems. They speed up the development process by …
book
Hands-On Network Programming with C# and .NET Core
A comprehensive guide to understanding network architecture, communication protocols, and network analysis to build secure applications …
book
High-Performance Programming in C# and .NET
Enhance your applications' performance using best practices for benchmarking, application profiling, asynchronous programming, designing responsive UIs, …
book
Software Architecture with C# 9 and .NET 5 - Second Edition
Design scalable and high-performance enterprise applications using the latest features of C# 9 and .NET 5 …