Skip to Main Content
Modern Web Development with ASP.NET Core 3 - Second Edition
book

Modern Web Development with ASP.NET Core 3 - Second Edition

by Ricardo Peres
June 2020
Intermediate to advanced content levelIntermediate to advanced
802 pages
16h 11m
English
Packt Publishing
Content preview from Modern Web Development with ASP.NET Core 3 - Second Edition
Logging, Tracing, and Diagnostics

Logging, tracing, and metrics are essential features of any non-trivial application, for the following reasons:

  • Logging tells us what the system is doing, what it is about to do, the errors it encounters, and so on.
  • Tracing is about collecting transactional information about journeys and how they flow in a distributed system.
  • Metrics involves getting information in real time about what is happening and possibly producing alerts from it.

In this chapter, we will have a look at some of the options we have at hand, from the simplest to the most complex.

We will cover the following topics in this chapter:

  • Introducing the.NET Core Common Loggingframework
  • Writing custom logging middleware
  • Using tracing and diagnostics ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Hands-On Full-Stack Web Development with ASP.NET Core

Hands-On Full-Stack Web Development with ASP.NET Core

Tamir Dresher, Amir Zuker, Shay Friedman

Publisher Resources

ISBN: 9781789619768Supplemental Content