Project – Cross-cutting concerns reusable library
In this section, we will be working through writing a reusable library for addressing various cross-cutting concerns. It will have limited functionality, but it will give you the knowledge you need to further expand the project for your own needs. The class library you will be creating will be a .NET standard library so that it can be used for apps that target both .NET Framework and .NET Core. You will also create a .NET Framework console application to see the library in action.
The concerns we will be handling as we progress through the project are as follows:
- Caching
- Logging
- Exception handling
- Security
- Validation
- Resource pool
- Configuration settings
- Instrumentation
Figure 9.2: Screenshot of the project you’ll be creating
Start by creating a new .NET standard class library called CrossCuttingConcerns
. Then, add a .NET Framework console application...