BPB Online LLP
Implementing Design Patterns in C# and .NET 5
Implementing Design Patterns in C# and .NET 5
US$ 19.95
The publisher has enabled DRM protection, which means that you need to use the BookFusion iOS, Android or Web app to read this eBook. This eBook cannot be used outside of the BookFusion platform.
Description
Contents
Reviews

Implement robust applications by applying efficient Design Patterns with .NET 5 and C#

Key Features
● Detailed theoretical concepts covered, including the use of encapsulation, interfaces, and inheritance.
● Access to solutions applied for software strategy and final product output.
● Simplified demonstration of real applications implementing numerous design patterns.

Description
This book covers detailed aspects of Design Patterns and Object-Oriented Programming concepts using the most modern version of the C# language and .NET platform, including many real-world examples and good practice guidelines that help developers in building robust and extensible applications.

The book begins with the essential concepts of C# programming and the .NET platform. You get your foundation strong by understanding SOLID Principles and the actual implementation of reliable applications. You will be working on most common Design Patterns such as Abstract Factory, Adapter, Composite, Proxy, Command, Strategy, Observer, Factory Method, Singleton, Builder, Interpreter, Mediator, and many other patterns that will help you to create solid enterprise applications. You will also witness the performance of these design patterns in a real software development environment with the help of practical examples.

After learning the most common Design Patterns practiced in .NET enterprise applications, the reader will be able to understand and apply good practices of software development based on the object-oriented paradigm to develop complex enterprise applications efficiently and simply.

What you will learn
● Fine-tune your knowledge about interfaces, polymorphism, and encapsulation.
● Learn to practice implementing design patterns in enterprise applications.
● Implement rich design patterns: Observer, Strategy, Command, Proxy, and more.
● Get to learn the latest additional design patterns such as Builder, Bridge, and Decorator.

Who this book is for
This book is for .NET developers, application developers, and software engineers who want to develop .NET applications with proven techniques and build error-free applications. This book also attracts fresh graduates and entry-level developers as long as basic knowledge about .NET is known to them.

Table of Contents
1. C# Fundamentals
2. Introduction to .NET 5
3. Basic Concepts of Object-Oriented Programming
4. Interfaces in C#
5. Encapsulation and Polymorphism in C#
6. SOLID Principles in C#
7. Abstract Factory
8. Abstract Factory
9. Prototype
10. Factory Method
11. Adapter
12. Composite
13. Proxy
14. Command
15. Strategy
16. Observer
17. Good Practices and Additional Design Patterns

About the Author
Alexandre Malavasi has been working in software development for the last 15 years. He has participated in many projects as a technical leader and software developer, delivering projects using Microsoft Technologies for big companies, including projects in South America, Europa, and the United States. He is also an accomplished postgraduate completing two degrees: one in IT for Business and System Analysis and two master’s degrees in software engineering with Agile Methods Emphasis and in Software Development Process. He is also Microsoft certified in Azure and web development technologies. Furthermore, the author takes part as a speaker in IT conferences and writes technical articles on web development and related topics. Based on all the contributions to the technical community worldwide, he was nominated Microsoft’s Most Valuable Professional (MVP).

Blog links: https://medium.com/@alexandre.malavasi
LinkedIn Profile: https://www.linkedin.com/in/alexandremalavasi/

Language
English
ISBN
9789390684366
Cover Page
Title Page
Copyright Page
Dedication Page
About the Author
About the Reviewer
Acknowledgement
Preface
Errata
Table of Contents
1. C# Fundamentals
Structure
Objectives
Tools and environment setup
Installing Visual Studio 2019
Installing Visual Studio Code
Introduction to Visual Studio 2019
Introduction to Visual Studio Code
History of the .NET platform
The .NET Core versions
.NET 5
Introduction to C# language
Loops, operation, and iterations
while statement
do-while statement
for loop
foreach statement
Operators
if statement
switch case
Error handling
Exception
Namespaces
New features on C# 9.0
Conclusion
Points to remember
Multiple-choice questions
Answer
Questions
Key terms
2. Introduction to .NET 5
Structure
Objectives
2.1 Understanding multi-platform concepts
2.2 Overview of the principal project types in .NET 5
2.2.1 Console application
2.2.2 Windows Forms
2.2.3 Asp.Net Core Web application
Conclusion
Points to remember
Questions
3. Basic Concepts of Object-Oriented Programming
Structure
Objectives
Classes, constructors, and methods
Encapsulation
Inheritance
Reusability
Polymorphism
Partial class
Constructor
Static classes
Structs
Interfaces
Conclusion
Points to remember
Multiple-choice questions
Answer
Questions
4. Interfaces in C#
Structure
Objectives
Definition and implementation of interfaces
Multiple interfaces
Testability of interfaces
Dependency injection
Conclusion
Points to remember
Multiple-choice questions
Answer
Questions
5. Encapsulation and Polymorphism in C#
Structure
Objectives
Definition of encapsulation
Definition of polymorphism
Conclusion
Points to remember
Multiple-choice questions
Answer
Questions
6. SOLID Principles in C#
Structure
Objectives
6.1 The single-responsibility principle (SRP)
6.2 The open–closed principle (OCP)
6.3 The Liskov substitution principle (LSP)
6.4 The interface segregation principle (ISP)
6.5 The dependency inversion principle (DIP)
Conclusion
Points to remember
Questions
7. Abstract Factory
Structure
Objectives
Abstract factory definition
Abstract factory scenario
Abstract factory implementation
Conclusion
Points to remember
Multiple-choice questions
Answer
Questions
8. Singleton
Structure
Objectives
8.1 Singleton pattern definition
8.2 Singleton implementation
8.2.1 Multiple instances
8.2.2 Modifications for the singleton pattern
8.2.3 Thread-safe implementation
Conclusion
Points to remember
Multiple-choice questions
Answer
Questions
9. Prototype
Structure
Objectives
9.1 Prototype pattern definition
9.2 Prototype implementation
Conclusion
Points to remember
Multiple-choice questions
Answer
Questions
Key terms
10. Factory Method
Structure
Objectives
10.1 Factory method definition
10.2 Factory method implementation
Conclusion
Points to remember
Multiple-choice questions
Answer
Questions
Key terms
11. Adapter
Structure
Objectives
11.1 Adapter pattern definition
11.2 Adapter pattern implementation
Conclusion
Points to remember
Multiple-choice questions
Answer
Questions
Key terms
12. Composite
Structure
Objectives
12.1 Composite pattern definition
12.2 Composite pattern implementation
Conclusion
Points to remember
Multiple-choice questions
Answer
Questions
Key terms
13. Proxy
Structure
Objectives
13.1 Proxy pattern definition
13.1.1 Proxy pattern types
13.1.2 Proxy pattern structure
13.1.3 Common use in real projects
13.2 Proxy pattern implementation
13.2.1 Scenario requirements
13.2.2 Practical example
Conclusion
Points to remember
Multiple-choice questions
Answers
Questions
Key terms
14. Command
Structure
Objectives
14.1 Command pattern definition
14.2 Commandpattern implementation
14.2.1 Extra classes
14.2.2 Client application
Conclusion
Points to remember
Multiple-choice questions
Answers
Questions
Key terms
15. Strategy
Structure
Objectives
15.1 Strategypattern definition
15.2 Strategy pattern structure
15.3 Strategypattern implementation
15.4 Creating the city strategy class
Conclusion
Points to remember
Multiple-choice questions
Answers
Questions
Key terms
16. Observer
Structure
Objectives
16.1 Observerpattern definition
16.2 Observerpattern implementation
16.3 Creating the User class
16.4 Creating the Blog Post class
16.5 Client application
Conclusion
Points to remember
Multiple-choice questions
Answers
Questions
Key terms
17. Good Practices and Additional Design Patterns
Structure
Objectives
17.1 Good practices and recommendations
17.2 Builder, bridge, and decorator patterns
17.2.1 Builder pattern
17.2.2 Bridge pattern
17.2.3 Decorator pattern
17.3 Chain of responsibility and patterns
17.3.1 Chain of responsibility pattern
17.3.2 Façade pattern
Conclusion
Points to remember
Multiple-choice questions
Answers
Questions
Key terms
Index

Loading...