C# (.NET) Application Architecture: From Monolith to Microservices
300 pages
English
PDF
4.5

C# (.NET) Application Architecture: From Monolith to Microservices

C# (.NET) Application Architecture: From Monolith to Microservices

Author:

Year:

Summary:

Modern development in C# and the .NET platform requires not just knowledge of syntax, but also a deep understanding of architectural principles. The book "C# (.NET) Application Architecture" is a comprehensive guide that will help you transition from writing "working code" to creating reliable, scalable, and easily maintainable software systems.



The author, Alexey Voronov, a senior architect with 12 years of experience, shares proven practices and real-world cases. You will start with the basics: breaking down the SOLID, GRASP principles and GoF patterns, but not in theory, using concrete examples from the .NET world (ASP.NET Core, Entity Framework Core, SignalR). Then you will dive into advanced topics: Domain-Driven Design (DDD), CQRS, Event Sourcing, and building microservice architecture using Docker, RabbitMQ, and gRPC.



What you will learn:

  • How to properly design application layers (Presentation, Application, Domain, Infrastructure).
  • When and how to apply Repository, Unit of Work, Mediator, Strategy, and other patterns.
  • How to implement CQRS and Event Sourcing based on MediatR and Marten.
  • Principles of building microservices: Service Discovery, API Gateway, Saga, Circuit Breaker.
  • How to test architecture: unit, integration, and load tests.
  • Practical tips for refactoring legacy code and implementing Dependency Injection.


Who this book is for:

  • Junior+ and Middle C# developers who want to grow to Senior/Architect.
  • Team Leads looking for a structured approach to design.
  • Anyone working with .NET (Core, 5/6/7/8) who wants to write code that is safe to hand over for support.


The book contains over 50 code listings, 30 diagrams, and practical exercises at the end of each chapter. You will be able to immediately apply the knowledge gained in your projects. Whether you are building a startup or maintaining a corporate ERP system, this book will become your desktop reference for C# architecture.



Fasten your seatbelts: you will learn not just to program, but to design systems that live and evolve for years.

Recommendations