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
4.5 (11)
close
close
Architecting ASP.NET Core Applications

Architecting ASP.NET Core Applications

4.5 (11)
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

Logging Patterns

This chapter delves into logging, an integral feature of .NET, and concludes the Designing for ASP.NET Core section. Logging is a fundamental building block for applications, allowing us to capture valuable information during runtime, and ASP.NET Core conveniently provides built-in support for it. In this chapter, we will explore the logging framework provided by ASP.NET Core and learn how to implement it effectively in our applications.

Logging is essential and adds visibility to production systems. Without logs, you don’t know what is happening in your system unless you are the only one using it, which is very unlikely. ASP.NET Core offers a logging system with clean interfaces, eliminating the need for third-party libraries and presenting a flexible and robust approach to integrating logging into our applications. Like many other systems, the logging system is provider-based, allowing us to add and configure the logging providers that suit our needs...

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