ASP.NET Core: Health Checks and Logging
1h 48mAdvanced2021-03-19
Authors

Christian Wenz
Web Pioneer, Technology Specialist, Entrepreneur
Course details
Logging and health checks in ASP.NET Core are vital for enterprise and commercial development. You need to understand what's happening on your site in order to find where problems have occurred, spot security issues, and discover optimization opportunities. In this course, instructor Christian Wenz shows you how to use the logging infrastructure that ASP.NET Core provides and then introduces you to the features that ASP.NET Core offers for health checks, including how to create, register, and customize them. Christian gives you a quick tour of the sample app that you will use in this course. Then he gets into the logging portion of the course, covering topics such as how to configure logging, log to files, log to Azure, use log scopes, and more. After a challenge to see how well you understand logging, Christian discusses ASP.NET Core health checks, including how to configure and add health checks, create a UI to work with health checks, and secure your health check endpoints.
Skills covered
ASP.NET CoreBack-End Web DevelopmentFull-Stack Web DevelopmentFront-End Web DevelopmentWeb DevelopmentMicrosoftOne-Off
Concepts
0. Introduction
- 01 - You should care about logging and health checks
- 02 - What you should know
- 03 - Prerequisites and setup
- 04 - Touring the sample app
1. ASP.NET Core Logging
- 05 - Understanding ILogger T
- 06 - What's in the template
- 07 - Adding log entries
- 08 - Understanding log levels
- 09 - Configuring logging
- 10 - Logging to files
- 11 - Logging to Azure
- 12 - Using log scopes
- 13 - Challenge - Add logging to the sample app
- 14 - Solution - Add logging to the sample app
- 15 - Summary of ASP.NET logging
2. ASP.NET Core Health Checks
- 16 - Health checks explained
- 17 - Configuring health checks
- 18 - Adding health checks
- 19 - Adding database health checks
- 20 - Creating a UI
- 21 - Securing health check endpoints
- 22 - Challenge - Add a health check to the sample app
- 23 - Solution - Add a health check to the sample app
- 24 - Summary of health checks
Related courses
Related learn paths
- Prepare for the Microsoft Azure Administrator (AZ-104) Exam
- Prepare for the MTA: Software Development Fundamentals Exam (98-361)
- Become a Back-End Web Developer
- Explore Web Development with Node.js
- Become a MEAN Javascript Developer
- Explore App Development with the MERN Stack
- Getting Started as an ASP.NET Core Developer
- Getting Started as an ASP.NET Developer