Simple play icon Course

Logging and Monitoring in ASP.NET Core

by Erik Dahl

Good logging and monitoring is critical to enable support for your web applications. This course will teach you how to create helpful log entries, write them to places to support analysis, and use logs and health checks to monitor your application.

What you'll learn

Identifying issues in your web applications before your customers experience them is a key capability in modern web apps. In this course, Logging and Monitoring in ASP.NET Core, you’ll learn to create useful log entries and enable monitoring in your web application. First, you’ll explore the basics of getting log entries created, including information in them, and standard entries like exceptions and HTTP request information. Next, you’ll discover how to write those entries to places that leverage the value in the log entries you’ve created. Finally, you’ll learn how to set up monitoring in your application using health checks along with your log entries. When you’re finished with this course, you’ll have the skills and knowledge of logging and monitoring needed to enable simple ongoing support of your application.

Table of contents

About the author

Erik Dahl has been developing software and architecture for 20+ years, mostly doing in-house development for his employers. His recent work has included a multi-tenant B2B implementation and self-registration B2C implementation for Duende IdentityServer, upgrading legacy ASP.NET websites from server-side technologies to a client/server mix and adopting TypeScript, building Web APIs as the back end for mobile and web applications, and finding ways to modernize existing applications and make them ... more

Ready to upskill? Get started