In Chapter 10, Hosting and Deploying ASP.NET Core 2.0 Applications, we explained how to deploy your ASP.NET Core 2.0 applications to Microsoft Azure, Amazon Web Services, and Docker. Let's go further, and understand how to add logging and monitoring in these environments, which is important to diagnose unexpected behavior and errors.
First, some theoretical background, and then, some practical example. Are you ready to learn what it takes to help IT Operations? Come on, it's the last chapter. Let's go!
Logging within applications consists of creating data to help understand what is happening during runtime. Several types of messages can be logged, such as information, warnings, and errors.
This data should then be persisted to log files, databases, SaaS solutions, or other destinations. To improve application performance...