8
Options and Logging Patterns
This chapter covers .NET-specific patterns that close the Designing for ASP.NET Core section of the book. The Options pattern and logging features are two more building blocks of most applications that come built in and that are extensible. We explore these abstractions while keeping it to a level where we use them, not master every aspect of them. Once you’ve read this chapter, you should know how to leverage the .NET options and settings infrastructure, as well as how to write application logs. We also briefly explore how to customize those systems.
The following topics will be covered in this chapter:
- The Options pattern
- Becoming familiar with .NET logging abstractions
Let’s get started!
The Options pattern ...
Get An Atypical ASP.NET Core 6 Design Patterns Guide - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.