The Common Delivery Framework (CDF) library provides foundational blocks of code for common application delivery needs. (.NET Standard and .NET Core / 5 and later)
Core purpose of the project:
The CDF includes a set of commonly used artifacts that all modern .NET applications can make use of. Currently the CDF focuses primarily on logging and exception handling. By providing a set of common building blocks for logging (leveraging the Microsoft.Logging namespaces) while still allowing the use of 3rd party frameworks like nLog or xUnit.
For Exception Handling the framework defines a large selection of Types:
Communication Exception
Configuration Exception
Data Exception
External Access Exception
Logic Exception
Security Exception
Timeout Exception
Unhandled Exception
Validation Exception
All of these different types are sub-classes of Managed Exception which wraps up and understands how to convert to the standards compliant Problem type that can safely be sent across service boundaries.
The final output is published as a Nuget Package.