Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Architecting ASP.NET Core Applications
  • Table Of Contents Toc
Architecting ASP.NET Core Applications

Architecting ASP.NET Core Applications - Third Edition

By : Carl-Hugo Marcotte
5 (0)
close
close
Architecting ASP.NET Core Applications

Architecting ASP.NET Core Applications

5 (0)
By: Carl-Hugo Marcotte

Overview of this book

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.
Table of Contents (27 chapters)
close
close
Lock Free Chapter
1
Section 1: Principles and Methodologies
6
Section 2: Designing with ASP.NET Core
13
Section 3: Component Patterns
25
Other Books You May Enjoy
26
Index

Structural Patterns

This chapter explores four structural design patterns from the well-known Gang of Four (GoF).

We use structural patterns to build and organize complex object hierarchies in a maintainable fashion. They allow us to dynamically add behaviors to existing classes, whether we designed the initial system this way or as an afterthought that emerges out of necessity later in the program’s lifecycle. Structural patterns promote reusability and enhance the overall flexibility of the system.

In this chapter, we cover the following topics:

  • The Decorator design pattern
  • The Composite design pattern
  • The Adapter design pattern
  • The Façade design pattern

The first two patterns help us extend a class dynamically and efficiently manage a complex object structure. The Adapter pattern helps us connect an existing interface to another incompatible interface, enabling communication between two different systems. The Façade...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Architecting ASP.NET Core Applications
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon