From the course: ASP.NET Core: Health Checks and Logging

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Logging to Azure

Logging to Azure - ASP.NET Core Tutorial

From the course: ASP.NET Core: Health Checks and Logging

Start my 1-month free trial

Logging to Azure

- [Instructor] If you're hosting your web application on Microsoft Azure, it can make sense to store log entries or log files there are well. Azure has an infrastructure for this and gives us a few options where and how to log, however, before I will discuss this with you, a few words of caution. I'll show you a demo but you need to do several changes so that you can use the code as well. You need to have an Azure account, you need to set up a few things, you have to change the code so that your URLs are now in the code, et cetera, et cetera because the instance in Azure I'm showing you probably will not exist once you see this course. So you have to use your own. But I'll discuss this in more detail once we are in the IDE but before that, let's talk about options. The first option is to just create log files. We can either use the Azure file system or the Azure blob storage. And the name of the file or the…

Contents