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!