Название: Implementing Design Patterns in C# 11 and .NET 7: Learn how to design and develop robust and scalable applications using design patterns, 2nd Edition Автор: Alexandre F. Malavasi Cardoso Издательство: BPB Publications Год: 2024 Страниц: 322 Язык: английский Формат: epub (true) Размер: 13.4 MB
Unlock the potential of design patterns to write better code in C# 11 and .NET 7.
- Learn the essentials of C# and object-oriented programming. - Gain insights into best practices for quality coding. - Learn how to use design patterns to write code that is reusable, flexible, and maintainable.
This book is a complete guide to design patterns and object-oriented programming (OOP) in C# and .NET. It covers everything from the basics of C# and Visual Studio to advanced topics like software architecture and best coding practices, including the SOLID principles.
The book starts with the basics of C#, .NET, the SOLID principles, and the OOP paradigm. Then, it introduces widely-used design patterns with hands-on examples in C# and .NET. These examples include real-world scenarios and step-by-step instructions. In addition, the book provides an overview of advanced features in the .NET ecosystem, insights into current market solutions for software strategy, and guidance on when to use a design pattern-centric approach. The book concludes with valuable recommendations and best practices for .NET applications, especially when using design patterns.
In the dynamic world of software development, the mastery of Design Patterns and the intricacies of the object-oriented programming paradigm can set one apart. This book aims to be your guide through these complexities, specifically tailored for the modern version of C# language and the .NET platform. Our journey spans from the foundational SOLID principles, traces the rich history of the .NET platform, and ventures into the core of Design Patterns, all illustrated through tangible, real-world examples and an intuitive, step-by-step methodology.
Our opening chapters lay the groundwork, elucidating the fundamental concepts of C# and .NET. As we traverse through SOLID principles and the essence of object-oriented programming, we set the stage for the immersive experiences that follow. The book’s heart revolves around hands-on examples that emphasize best software development practices, all while setting the stage for the profound Design Patterns which dominate the contemporary market.
Upon turning the last page, you, the developer, will find yourself equipped with a holistic understanding of C# and the .NET platform. More than just knowledge, you’ll possess the practical wisdom to implement best practices in real-world scenarios and a versatile toolbox of Design Patterns to tackle the myriad challenges of software development.
What you will learn:
- Learn how to use the Singleton pattern to ensure that only one instance of a class exists in your application. - Learn how to use the Prototype pattern to create new objects by copying existing objects. - Learn how to use the Factory Method pattern to create objects without specifying their concrete classes. - Learn how to use the Adapter pattern to make incompatible interfaces work together. - Learn how to use the Proxy pattern to control access to objects. - Learn how to use the Strategy pattern to encapsulate algorithms.
Who this book is for: This book is invaluable for software developers switching to .NET, experienced .NET developers learning about advanced design patterns, object-oriented programming paradigms, and SOLID principles, and .NET Core enthusiasts looking for information on core functionalities and recent platform advancements.
1. C# Fundamentals 2. .NET Fundamentals 3. Basic Concepts of Object-Oriented Programming in C# 4. SOLID Principles in C# 5. Introduction to Design Patterns 6. Singleton Pattern in .NET Applications 7. Abstract Factory Pattern with Blazor 8. Prototype Pattern with ASP.NET Razor 9. Factory Method Pattern Using New Features on C# 11 10. Adapter Pattern with Entity Framework Core 11. Composite Pattern with ASP.NET MVC 12. Proxy Pattern with GRPC 13. Command Pattern Using MediatR 14. Strategy Pattern Using Azure C# and Azure Functions 15. Observer Pattern
Скачать Implementing Design Patterns in C# 11 and .NET 7: Learn how to design and develop robust and scalable applications, 2nd Edition