Search  
Always will be ready notify the world about expectations as easy as possible: job change page
Books for developers

Architecting ASP.NET Core Applications, 3rd Edition

Architecting ASP.NET Core Applications, 3rd Edition

An atypical design patterns guide for .NET 8, C# 12, and beyond
Year:
Pages:
807
Views:
561

Description

Backend design like you've never seen it before - a guide to building SOLID ASP.NET Core web apps that stand the test of time. Featuring more Minimal APIs, more testing, a new e-commerce project, and the modular monolith!

Key features

  • Learn multiple ways to organize your application code and become a more flexible ASP.NET Core developer.
  • Explore hands-on design patterns, learn architectural principles, and how to sidestep anti-patterns.
  • Refactor code toward modern application design, such as feature-based vertical slice and clean architecture.

Book description

This unique ASP.NET Core book will fill in the gaps in your REST API and backend designs. Learn how to build robust, maintainable, and flexible apps using Gang of Four (GoF) design patterns and modern architectural principles. This new edition is updated for .NET 8 and focuses exclusively on the backend, with new content on REST APIs, the REPR pattern, and building modular monoliths.

You'll start by covering foundational concepts like REST, the SOLID principles, Minimal APIs, dependency injection in .NET, and other ASP.NET Core 8 mechanisms. Then, you'll learn to develop components using design patterns, including many from the GoF. Finally, you'll explore organizing your application code with patterns that vary from layers to feature-oriented vertical slice designs, covering CQS and a deep dive into microservices along the way. A brand-new e-commerce project at the end of the book will tie it all together.

This how-to guide will teach you how to assemble your own APIs from building blocks, to suit whatever real-world requirements you may have.

What you will learn

  • Apply the SOLID principles for building flexible and maintainable software.
  • Test your apps effectively with automated tests, including black-box testing.
  • Embark on mastering ASP.NET Core dependency injection.
  • Work with GoF design patterns including strategy, decorator, facade, and composite.
  • Design REST APIs using Minimal APIs and ASP.NET Core MVC.
  • Discover layering and the tenets of clean architecture.
  • Use feature-oriented techniques as an alternative to layering.
  • Explore microservices, CQS, REPR, vertical slice architecture, and many more patterns.

Who this book is for

This book is for intermediate-level ASP.NET Core developers who want to improve their C# app code structure and API design skills. ASP.NET developers who want to modernize their knowledge and enhance their technical architecture skills will also like this book. It's also a good refresher for those in software design roles with more experience looking to update their expertise.

A good knowledge of C# programming and a basic understanding of web concepts is necessary to get the most out of this book, though some refreshers are included along the way.

Table of contents

  1. Introduction
  2. Automated Testing
  3. Architectural Principles
  4. REST APIs
  5. Minimal APIs
  6. Model-View-Controller
  7. Strategy, Abstract Factory, and Singleton Design Patterns
  8. Dependency Injection
  9. Application Configuration and the Options Pattern
  10. Logging Patterns
  11. Structural Patterns
  12. Behavioral Patterns
  13. Operation Result Pattern
  14. Layering and Clean Architecture
  15. Object Mappers
  16. Mediator and CQS Patterns
  17. Getting Started with Vertical Slice Architecture
  18. Request-EndPoint-Response (REPR)
  19. Introduction to Microservices Architecture
  20. Modular Monolith&l

Files


Similar
Refactoring with C#
Автор: Eland Matt
Год: 2023
Learn how to improve the maintainability of C# code using modern tools and techniques so you and your team can resolve technical debt and work safely and efficiently with legacy code. Software projects start as brand-new “greenfield” projects, but invariably...
Real-Time Web Application Development
Автор: Rami Vemula
Год: 2017
Design, develop, and deploy a real-world web application by leveraging modern open source technologies. This book shows you how to use ASP.NET Core to build cross-platform web applications along with SignalR to enrich the application by enabling real-time communication between...
Integrating Serverless Architecture
Автор: Rami Vemula
Год: 2019
Design, develop, build, and deliver an end-to-end serverless architecture by leveraging Azure services, frameworks, and tools. This book offers a holistic approach, guiding you through the design and development of a Twitter Bot application, while leveraging Azure Functions.Integrating Serverless Architecture...
Coding Clean, Reliable, and Safe REST APIs with ASP.NET Core 8
Автор: Anthony Giretti
Год: 2023
DescriptionLearn ASP.NET Core APIs delivered in its latest version of the Microsoft Framework .NET 8. This book will show you how to develop APIs with ASP.NET Core 8. Author Anthony Giretti will reveal all you need to know about HTTP...
Send message
Type
Email
Your name
*Message