Implementing Cross-cutting Concerns for ASP.NET Microservice

Welcome to “Implementing Cross-cutting Concerns for Microservice” – third edition of Microservices Learning Series. The ultimate course for developers who want to learn how to build scalable, efficient, and robust Microservices using the .Net Core platform along with Docker, Kubernetes, Identity Server 4, Rabbit MQ, Angular 15, GRPC, Istio Service Mesh, SQL Server, MongoDB, PostGreSQL, Redis, Ocelot, Nginx, Azure, Helm Charts, and Auto Scale.

In this comprehensive course, you’ll gain hands-on experience with Docker and Kubernetes to deploy and manage your Microservices. You’ll learn how to integrate Identity Server 4 for secure authentication and authorization, Rabbit MQ for messaging, and GRPC for efficient communication between Microservices.

You’ll also learn how to use Istio Service Mesh to manage Microservices traffic, and how to configure and optimize SQL Server, MongoDB, PostGreSQL, and Redis for your Microservices. You’ll use Ocelot and Nginx to manage your Microservices API gateway and deploy your Microservices to Azure using Helm Charts.

By the end of this course, you’ll have a solid understanding of how to design, develop, and deploy Microservices using the latest industry-standard tools and practices, including auto-scaling.

Who Should Take This Course?

  1. Freshers who want to learn how to build scalable and efficient systems using Microservices architecture.
  2. Junior Developers who are looking to level up their skills and gain experience building real-world Microservices applications.
  3. Mid-Level Developers who want to learn how to build and deploy Microservices using the latest industry-standard tools and practices.
  4. Senior Developers who are looking to stay ahead of the curve and keep their skills up-to-date with the latest trends and technologies.
  5. Software Architects who want to learn how to design and develop scalable, distributed, and fault-tolerant systems using Microservices.
  6. Technical Leads who want to gain a deeper understanding of Microservices architecture and lead their teams in building scalable and efficient systems.

If you’ve already completed our first two courses, “Creating Microservices using .Net Core and Clean Architecture” and “Securing Microservices using Identity Server 4,” then you’re well on your way to becoming an expert in Microservices development. Congratulations!

In this course, we will explore how to implement cross-cutting concerns such as logging, caching, validation, and more in your Microservices architecture. By doing so, you’ll learn how to improve the quality, performance, and reliability of your Microservices, as well as how to implement best practices and industry-standard approaches to handling cross-cutting concerns.

Our course will cover a variety of topics, including:

  • The importance of cross-cutting concerns in Microservices development
  • Implementing logging and monitoring in Microservices using tools like Serilog and the ELK Stack (Elasticsearch, Logstash, and Kibana)
  • Caching strategies to improve performance and reduce load on your system
  • Implementing validation using FluentValidation and other tools
  • Custom correlation ID context generator

Throughout the course, we’ll provide you with practical examples and best practices that you can use in your own projects. By the end of the course, you’ll have a solid understanding of how to implement cross-cutting concerns in your Microservices architecture, as well as how to apply industry-standard approaches to handle them.

Thank you for choosing our Microservices series to enhance your skills, and we look forward to helping you achieve your learning goals!

Disclaimer:- Assuming you have already completed the prerequisite courses listed below in bold letters, as this course cannot be taken as a stand-alone course. Without the foundational knowledge and skills provided in those courses, you may struggle with understanding the API setup and overall flow of the course.

1. Getting Started with Microservices using Clean Architecture

2. Securing Microservices using Identity Server 4

3. Implementing Cross Cutting Concerns (Current Course)

(Next Courses of this series)

4. Versioning Microservices

5. Building Angular Application for MicroServices

6. Deploying Microservices to Kubernetes and AKS

In the earlier section, you would have already learnt plethora of technologies while designing Microservices and implementing Identity Server. During that learning journey you must have designed Microservices module using clean architecture. In this course, you will learn how to implement cross cutting concerns like Logging. While doing so, you will first understand what is logging and how to get started with it. Once, you are comfortable with that, then you will learn advance concepts like Logs filtering at different levels and understand what to log and what not.

During that journey, you will also learn how to implement structured logging using Serilog and then centralised implementation using ELK stack. During this you will also learn how to enrich the logging experience. Then, you will be implementing your own Coorelation Id generator to coorelate between microservices.

This course is part of Microservices series where in you will learn all minute details related to Microservices. During this learning path, you will learn how to connect the dots using different technologies and tooling. This course “Implementing Cross Cutting Concerns” is the third edition of the series. In this course, you will be implementing following things:


  • Introduction
  • Introduction
  • Architecture Overview
  • Branching Strategy
  • Adding Logging to Console
  • EShopping Project Structure
  • ASPNet Core Logging Concepts
  • Understanding LogLevel
  • Filtering Log Messages
  • Implementing ILogger in Catalog Controller
  • Filtering Microsoft.Hosting.Lifetime Messages
  • Logging Messages from Application
  • Logging Application Exception
  • Adding Common Logging Project
  • Implementing Logging Class
  • Adding Serilogger to all Microservices
  • Elastic Implementation
  • Understanding Logging
  • Understanding ELK Stack
  • ELK Installation using Docker
  • Elastic Search Integration
  • Elastic Configuration Changes in application and Docker Compose
  • Creating Index Pattern
  • Visualizing Logs in Kibana
  • Refreshing Index Pattern
  • Tracing field missing
  • Creating Correlation Id Generator
  • Creating Correlation Id Middleware
  • Adding Middleware in Gateway
  • Adding Correlation Id in all the Microservices
  • Adding Correlation Dependency
  • Inspecting Correlation Context
  • Enriching Serilog Data
  • Formatting Exception Details
  • Publishing Correlation ID in Service Bus
  • Health Check Test


  • Bonus Section
  • Bonus Lecture



Get on Udemy

Get 3 course worth $129 for FREE