Implementing Cross-cutting Concerns for ASP.NET Core 3 Microservices
This course will help you learn about implementing cross-cutting concerns in ASP.NET Core microservices. You will explore applying correlated, structured logging and health checks to support running distributed microservices in production.
What you'll learn
This course will help you on your journey when building microservice applications using ASP.NET Core.
In this course, Implementing Cross-cutting Concerns for ASP.NET Core Microservices, you will learn how to implement logging and health checks in your microservices.
First, you will discover the importance of logging and some of the challenges that microservices introduce. Next, you will implement logging in several microservices, taking into consideration how log messages produced across microservice boundaries can be correlated and aggregated to form a complete story about a request or operation. Finally, you will explore how to apply health checks to ASP.NET Core microservices to support liveness and readiness checks, used to monitor services in production.
When you are finished with this course, you will have the skills and knowledge to apply logging and health checks in .NET Core microservices.
Table of contents
- Version Check 0m
- Module Introduction 3m
- The Importance of Logging 2m
- Choosing What to Log 2m
- Microsoft Logging Abstractions 3m
- Default Logging Behavior 5m
- Log Levels 3m
- Filtering Log Messages 3m
- Logging from Application Code 5m
- Logging Application Exceptions 4m
- Sharing Common Logging Code 6m
- Pros and Cons of Shared Libraries 3m
- Module Summary 1m
- Module Introduction 1m
- Centralizing Logs with the ELK Stack 3m
- Adding Support for Serilog 4m
- Logging to Elasticsearch Using Serilog 3m
- Querying Logs with Kibana 4m
- Correlating Logging Between Microservices 5m
- .NET Core Tracing 1m
- Controlling the TraceId Format 2m
- Introducing Structured Logging 3m
- Enriching Log Data 3m
- Formatting Exception Data 2m
- Using Logging Scopes 7m
- Correlating Logs When Using gRPC 4m
- Correlating Logs When Using a Service Bus 7m
- Module Summary 1m
- Module Introduction 1m
- Introducing Health Checks 4m
- Health Checks and Microservices 2m
- Adding Liveness Health Checks 3m
- Adding Readiness Health Checks 5m
- Adding a Shared Project for Reusable Health Check Code 4m
- Customizing the Health Check Response 4m
- Health Checking Downstream API Dependencies 6m
- Creating a Custom Health Check for Azure Service Bus 6m
- Module Summary 2m