A SOLID adventure into architectural principles, design patterns, .NET 5, and C#
762 stránek
27 hodin čtení
This guide offers .NET developers insights into creating robust, maintainable, and flexible web applications using C# 9 and .NET 5, focusing on effective application of design patterns. It begins with foundational design patterns and architectural principles, including dependency injection and ASP.NET Core mechanisms. The content is structured to progress from component-scale patterns to application-scale techniques, enabling a comprehensive understanding of software structure.
Key design patterns from the GoF, such as strategy, singleton, decorator, facade, and composite, are explored. The chapters are organized by scale and topic, facilitating a gradual build-up of knowledge akin to program development. Use cases illustrate how to combine design patterns, enhancing comfort with various approaches.
The book also covers essential concepts like the SOLID principles for flexible software, .NET 5 dependency injection, MVC patterns for web APIs, and clean architecture principles. Readers will learn about CQRS and vertical slice architecture as alternatives to traditional layering, as well as the fundamentals of microservices. Additionally, it guides developers in creating ASP.NET UI from server-side to client-side Blazor.
This resource is suitable for beginners and intermediate developers familiar with .NET, aiming to write scalable web applications. A basic understanding of C# and web concepts like HTTP is required.