PreviousNext

Use Attributes & Middleware in ASP.NET Core for Logging, Telemetry, and Anything Else

by bill-s, 2020-10-06T06:45:00.922Z

Every once in a while you need to add meta functionality without actually changing the business logic code. This might be reporting telemetry, logging, or adding metrics. While necessary, writing this code along with the business logic feels kind of wrong. There's no separation of concerns, it makes the business logic harder to read, and it's prone to bugs.

Read More