Modern Logging with SeriLog and Seq – part 2. Entry Point Logging

Entry Point Logging allows you to track all your API calls and the calls they make from a single place In the first part of this series I gave a brief overview of Serilog and Seq and what differentiates them from logging you may have done in the past.  One of the most useful aspects of structured logging is the...

Continue reading →

Modern Logging with SeriLog and Seq

Add structure to your log entries and bring your logs up to date It used to be that logging was a bit of an after thought where a few statements such as 'Connecting to the database' or 'Invalid user login' were written to a text file that was rarely looked at.  Well things have moved on a fair bit since then. Part 1...

Continue reading →

Enhancing Claims with Owin Middleware & Claims Transformation

Standardise your basic user data and add it to your ClaimsPrincipal for easy access! Recently I was working on a web api 2.0 project that used a bearer token for authentication and passed a UserId in the claims for the generated ClaimsPrincipal. Each controller in the project was accessing the User property from the ApiController base class to get the UserId...

Continue reading →