Creating .Net Core Microservices using Clean Architecture

Using .Net 10 and Angular 21. Complete Guide to Build Enterprise Edition Application End To End

  • 0.0 (0 Reviews)
  • 0 Students
  • 363 Lessons
  • Rahul Sahay

Course Overview

Disclaimer

This course requires you to download Docker Desktop from the official Docker website.If you are a Udemy Business (UFB) user, please check with your employer before downloading or installing third-party software.

Creating .NET Core Microservices using Clean Architecture

(.NET 10 • Angular 21 • CQRS • Saga • Event-Driven Architecture)

Welcome to “Creating .NET Core Microservices using Clean Architecture” — a deep, production-first, architecture-driven course designed for developers who don’t just want to build microservices, but want to build them correctly.

This is not a toy project course.This is a 51+ hour, enterprise-grade journey where you design, implement, evolve, and deploy a real-world eCommerce system using modern .NET, Clean Architecture, and cloud-native principles.

You will learn how architects think, how systems evolve over time, and how to design microservices that survive scale, change, and complexity.


What Makes This Course Different

Most courses stop at:

  • Basic CRUD services

  • Framework-centric tutorials

  • Shallow abstractions

This course goes far beyond that.

You will build real microservices using:

  • Clean Architecture (Hexagonal, Ports and Adapters)

  • Plain CQRS with clear read/write separation

  • MediatR for command and query orchestration

  • Saga Pattern (Orchestration and Choreography)

  • Event-Driven Architecture

  • Asynchronous microservices using RabbitMQ

  • Outbox Pattern for reliable message delivery

  • Explicit, high-performance mapping (AutoMapper removed)

  • Strategy Pattern, Repository Pattern, Specification Pattern

  • Cloud-ready, scalable, and testable system design


Every concept is taught with purpose: why it exists, when to use it, and when not to.

A Living, Evolving Architecture (Phase-Wise Upgrades)

This course is actively evolving, and you receive all upgrades at no additional cost.

Phase 1 (Current)

  • Full migration to .NET 10

  • Strict Clean Architecture enforcement

  • CQRS and MediatR refactoring

  • Saga Pattern implementation

  • Outbox and idempotency improvements

  • Removal of AutoMapper in favor of explicit mapping

  • Event-driven asynchronous workflows


Phase 2 (Planned)

  • Upgrade from Angular 18 to Angular 21

  • Modern frontend architecture

  • Improved state management

  • Clearer frontend and backend boundaries


Phase 3 (Planned)

  • Upgrade Azure hosting from .NET 8 to .NET 10

  • Cloud-native optimizations

  • Improved AKS and Helm deployments

  • Enhanced observability and monitoring

If you enroll now, you will receive all future upgrades automatically.


What You Will Build

You will design and implement a complete eCommerce system composed of multiple independent microservices, including:

  • Catalog Microservice

  • Basket Microservice

  • Ordering Microservice

  • Discount and Payment workflows

  • Identity and Security services

  • API Gateway

  • Event-driven communication pipelines


Each service follows:

  • Clean Architecture boundaries

  • Independent data ownership

  • Clear contracts

  • Scalable communication patterns

Security, Communication, and Infrastructure

You will gain hands-on experience with:

  • Azure AD and ASP.NET Core Identity

  • Secure service-to-service communication

  • RabbitMQ for asynchronous messaging

  • gRPC for high-performance inter-service communication

  • Ocelot, Azure API Gateway, and NGINX

  • Istio Service Mesh for traffic management

  • Docker and Kubernetes

  • Azure Kubernetes Service (AKS)

  • Helm charts for automated deployments

Data Storage and Caching Strategies

You will work with multiple data technologies commonly used in modern systems:

  • SQL Server

  • MongoDB

  • PostgreSQL

  • Redis for caching and performance optimization

You will learn when and why to use each technology in real-world scenarios.

Testing, Reliability, and Maintainability

This course emphasizes:

  • Testable core business logic

  • CQRS-friendly testing strategies

  • Decoupled domain rules

  • Long-term maintainability

  • Real refactoring techniques used in production systems


Who This Course Is For

This course is suitable for:

  • Freshers who want to build scalable systems correctly from the start

  • Junior developers aiming to move beyond CRUD-based development

  • Mid-level developers seeking architectural depth and scalability knowledge

  • Senior developers modernizing their microservices skill set

  • Technical leads designing systems that teams can scale confidently

  • Software architects building distributed, fault-tolerant systems


Course Statistics

  • 33+ sections

  • 365+ in-depth videos

  • 33+ hours of content

  • Multiple choice questions

  • Yearly updates

  • Lifetime access


Why This Course Stands Out

  • Architecture-first approach

  • Production-grade implementation

  • Deep focus on real-world patterns

  • Continuous upgrades

  • Hands-on, practical learning

  • Exceptional long-term value

Final Note

Frameworks change.

Cloud platforms evolve.

Trends come and go.

Good architecture lasts.

This course does not just teach you how to build microservices. It teaches you how to think, design, and evolve systems like an architect.

Enrol now to secure to all upcoming .Net 10 and Angular 21 upgrades.


See more

FAQ

FAQ area empty

Course curriculum

32 chương 363 bài học 34 giờ 52 phút 7 bài học thử miễn phí
Chương 1 Introduction
Chương 2 Developing Catalog Microservices
  • Introduction Học thử 6:11
  • Creating Blank Solution Học thử 2:38
  • Creating Catalog Projects 6:36
  • Adding Project References 2:12
  • Adding Nuget Packages 4:15
  • Creating Base Entity 3:11
  • Creating Product Type and Product Brand 2:40
  • Creating Product Entity 4:03
  • Creating Product and Type Repository 4:21
  • Creating Pagination Class 4:43
  • Creating Catalog Specification 5:18
  • Creating Product Repository 6:12
  • Implementing Brand Repository 10:14
  • Implementing Type Repository 4:29
  • Implementing Product Repository - 1st Part 16:09
  • Implementing Product Repository - 2nd Part 14:07
  • Replacing Config with IOptions 3:39
  • Creating Database Seed Data 2:57
  • Creating Database Seeder Class 17:00
  • Creating Product DTO 13:50
  • Creating DTO Responses 5:37
  • Creating Get All Brands Query 3:10
  • Creating Get All Brands Handler 6:43
  • Creating Get All Types Handler 8:47
  • Get All Products Query and Handler 13:14
  • Get Product by Brand Query and Handler 8:00
  • Get Product By Id Query and Handler 4:04
  • Get Product by Name Query and Handler 4:15
  • Create Product and Command Handler 14:05
  • Update Product Command and Handler 12:36
  • Delete Product by Id Command and Handler 3:59
  • Creating Catalog Controller - 1st Part 18:06
  • Creating Catalog Controller - 2nd Part 11:55
  • Create Product DTO Fix 2:02
  • Creating Catalog Controller - 3rd Part 6:56
  • Wiring up Components in Program.CS File 13:12
  • Configuring Launch Properties 1:56
  • Setting up Docker Environment 9:53
  • Catalog Microservices Demo 10:13
Chương 3 Creating Basket Microservices
  • Introduction 2:20
  • Creating Basket Projects using Clean Architecture 7:28
  • Installing Required Nuget Packages 3:23
  • Creating Basket Checkout Entity 3:55
  • Creating Shopping Cart Item and Shopping Cart Entity 4:19
  • Creating Basket Repository 2:26
  • Implementing Basket Repository 7:48
  • Creating Application Layer Folder Structures 2:20
  • Creating Shopping Cart Responses 9:09
  • Creating Get Basket By User Name Query and Handler 10:03
  • Creating Delegate Based Mapper using Func 7:37
  • Implementing Delete Basket by UserName Command and Handler 4:10
  • Creating Basket DTOs 5:31
  • Create Shopping Cart Command and Handler 8:45
  • Creating Basket Controller 8:55
  • Wiring up Program.CS File 11:58
  • Fixing Program.CS File Issue 2:56
  • Updating Launch Properties 4:35
  • Updating Docker File and Compose File 6:05
  • Basket Demo 3:37
Chương 4 Creating Discount Microservice
  • Introduction 1:40
  • Creating Discount Solution 5:39
  • Installing Required Nuget Packages 5:24
  • Creating Coupon Entity 1:44
  • Creating Discount Repository 2:46
  • Creating Database Settings 5:08
  • Implementing Discount Repository 9:41
  • Creating Discount Query and Handler 12:19
  • Creating Discount Mapper 2:34
  • Creating Custom GRPC Exception 19:30
  • Creating Discount Command and Handler 13:13
  • Creating Update Command and Handler 6:15
  • Creating Delete Discount Command and Handler 4:26
  • Creating Database Seeder 12:15
  • Applying IOptions to Database Settings 1:43
  • Creating Protobuf File 8:28
  • Creating Discount Service - 1st Part 11:02
  • Creating Discount Service - 2nd Part 6:27
  • Wiring up Program.CS file 6:53
  • Adding Docker Capabilities 9:41
Chương 5 Consuming Discount into Basket Microservice
  • Introduction 1:59
  • Installing Required Nuget Packages 2:59
  • Creating Protobuf Client File 2:28
  • Creating Discount Service 3:20
  • Applying Discount in Create Shopping Cart Handler 5:58
  • Updating Program.CS File 8:17
  • Logging DI Issue while running the containers 4:23
  • Basket Demo 8:58
Chương 6 Creating Ordering Microservice
  • Introduction 2:25
  • Creating Ordering Projects 7:00
  • Creating Entities 7:24
  • Creating IAsync Repository 4:56
  • Creating IOrder Repository 3:13
  • Creating DbContext Class 8:59
  • Implementing IAsync Repository 10:22
  • Implementing Order Repository 6:36
  • Creating Ordering DTO 4:37
  • Creating Folder Structure for CQRS Pattern 4:53
  • Creating CQRS Abstraction Layer 8:23
  • Creating Get Order List Query and Handler 5:31
  • Creating Ordering Mapper 6:37
  • Creating Order Command and Handler 13:16
  • Creating Delete Order Command and Handler 10:23
  • Creating Custom Exception 3:02
  • Creating Update Order and Handler 9:57
  • Creating Create Order Command Validator 7:13
  • Creating Update Order Command Validator 2:52
  • Creating Validation Behaviour 11:00
  • Creating Unhandled Exception Behaviour 7:20
  • Creating Order Context Factory 4:22
  • Creating Seed Data 8:04
  • Creating Dependency Injection 17:24
  • Wiring Program.CS File 2:56
  • Creating DB Extension 16:34
  • Applying Seed in Program.CS 3:27
  • Creating Orders Controller 2:45
  • Migration Issue 10:44
  • EF Core Tooling Issue 1:31
  • Ordering Demo 11:22
Chương 7 Setting Up Async Communication Between Basket and Ordering Microservice
  • Introduction 1:57
  • Creating Infrastructure Project 3:56
  • Creating Base Integration Event 5:06
  • Creating Basket Checkout Queue 3:17
  • Installing Nuget Packages in Basket Microservice 3:16
  • Creating Basket Checkout Command and Handler 14:50
  • Creating Basket Checkout Mapper 12:14
  • Creating Basket Controller Method 2:22
  • Wiring up Basket API Program.cs 3:58
  • Installing Nuget Package in Ordering Microservice 2:07
  • Creating Basket Ordering Consumer 12:11
  • Wiring up Ordering Program.CS File 6:39
  • Docker Setup 10:37
  • Basket Checkout Demo 8:02
Chương 8 Implementing Saga Pattern
  • Introduction 3:07
  • About Saga Pattern 4:07
  • Creating Outbox Message 5:25
  • Creating Order Status 1:54
  • Extending Order Context 9:41
  • Extending Order Repository 3:02
  • Extending Order Creation Handler 11:18
  • Creating Outbox Message Dispatcher Service 20:08
  • Wiring up Program.CS File 1:59
  • Doing Ef Migration and Docker Build 9:41
  • Outbox Table Demo 4:06
Chương 9 Creating Payment Microservice
  • Introduction 4:19
  • Creating Payment Microservice 2:45
  • Installing Required Nuget Packages 1:57
  • Creating Order Creation Consumer - 1st Part 9:08
  • Creating Order Creation Consumer - 2nd Part 5:01
  • Wiring up Program.CS File 6:57
  • Creating Payment Completed Consumer 7:11
  • Creating Payment Failed Consumer 5:16
  • Wiring up Ordering Program.CS File 3:46
  • Setting up Docker 6:50
  • Fixing Payment Service Issue 1:12
  • Saga Outbox Pattern Demo 4:38
Chương 10 Creating Identity Microservice
  • Introduction 3:02
  • Creating Identity Microservice Solution 3:37
  • Creating Identity Model and Context 5:28
  • Creating App Setting Changes 2:47
  • Wiring up Program.CS File 13:15
  • Creating DTOs 2:47
  • Creating Authentication Controller 20:34
  • Making Launch Settings Changes 1:47
  • Making Docker Changes 3:33
  • Applying Migrations 7:53
  • JWT Demo 3:09
Chương 11 Implementing ELK Stack
  • Introduction 2:10
  • Creating Logging Project 2:23
  • Adding required Nuget Packages 3:26
  • Adding Project References 2:29
  • Creating Logging Extension Method 14:31
  • Introducing Logging in Catalog Service 11:13
  • Doing Logger Changes in remaining Microservices 2:14
  • Updating Docker 7:53
  • ELK Demo 11:31
Chương 12 Implementing Api Gateway
  • Introduction 1:20
  • Creating Api Gateway 2:56
  • Installing Required Nuget Packages 3:20
  • Adding Ocelot File 4:48
  • Adding App Settings 2:45
  • Wiring up Program.CS File 15:17
  • Adding Correlation Id Middleware 9:54
  • Setting up Docker Compose 4:26
  • API Gateway Demo 4:07
Chương 13 Implementing Aspire
  • Introduction 1:11
  • Creating Aspire Projects 7:58
  • Adding Required Project References 2:01
  • Defining App Host - 1st Part 6:09
  • Adding Required Nuget Packages 5:41
  • Extending App Host Capabilities 10:24
  • Getting Infra Exception 3:59
  • Connection string Issue with Aspire 6:40
  • Fixing Connection String Issue 3:02
Chương 14 What's Coming in Phase 2?
  • Angular Module Update 2:08
Chương 15 Angular 18 Upgrade
  • Introduction 3:32
  • Angular Upgrade Demo 8:35
Chương 16 What's Next
  • What's Next 1:14
Chương 17 Building eCommerce Angular Application
  • Introduction 3:54
  • Angular Installation Steps 3:54
  • Angular project setup 3:47
  • Identity Server Changes 2:05
  • Angular VS Code Extensions 2:11
Chương 18 Getting Started with Angular
  • Understanding Angular project structure 7:01
  • Installing ngx-bootstrap package 7:30
  • Installing Font Awesome 4:03
  • Adding a Navbar component 3:43
  • Adding Navbar Component HTML 5:27
  • Observable Vs Promise 3:55
  • Implementing Http Client 7:24
  • Enabling CORS 4:18
  • Fetching Products 6:34
  • Implementing Paginated Product Model 11:50
Chương 19 Building the Store Front
  • Creating Feature Modules 6:02
  • Creating the Store Components 4:00
  • Creating the Store Service 4:28
  • Consuming the Store Service 7:07
  • Modifying Store Page 4:05
  • Creating Product Items Page 3:07
  • Passing Data to Child Component 6:07
  • Adding Images and Product Page changes 2:54
  • Fetching Brands and Types 8:22
  • Markup Changes for Types and Brands 5:08
  • Implementing Brand and Type Selected Functionality 7:18
  • Hooking up HTML changes for filtering functionality 6:22
  • Applying Spread Operator 3:44
  • Implementing Sorting 5:51
  • Adding Pagination Module 4:40
  • Implementing Pagination Component 4:31
  • Implementing Pagination - 2nd Part 5:13
  • Adding Pagination Header 4:20
  • Implementing Search and Reset Filter 8:53
Chương 20 Routing
  • Creating Home and Product Detail module 4:16
  • Creating Routes 5:13
  • Creating Router Links in Navbar 5:18
  • Activating Router Links 2:26
  • Fetching Product Detail 11:10
  • Adding Markup to Product detail page 2:22
  • Implementing Lazy Loading 8:10
Chương 21 Error Handling
  • Introduction 1:27
  • Error Interceptor 6:20
  • Implementing Error Interceptor 7:27
  • Improving Error pages 3:28
Chương 22 UI Components
  • Introduction 0:51
  • Creating Header Component 4:00
  • Adding XNG BreadCrumb Module 2:42
  • Adding BreadCrumb Metadata 3:12
  • Adding BreadCrumb Alias 4:03
  • Setting Breadcrumb dynamically 7:17
  • Adding Loading Interceptor 4:43
  • Implementing Ngx Spinner 8:40
  • Implementing Home Page 3:31
Chương 23 Basket Implementation
  • Introduction 0:31
  • Creating Basket Setup 6:14
  • Creating Basket Types 2:54
  • Creating Basket Service 12:23
  • Creating Basket methods 13:28
  • Adding Items to Basket 5:41
  • Fetching Basket with Username 6:44
  • Updating Basket Icon value dynamically 7:49
  • Implementing Basket Page 2:44
  • Creating Basket total method 6:33
  • Creating the Order Summary Component 4:50
  • Creating Basket addition deletion remove functionality 14:09
  • Wiring up Basket HTML with cart functionality 5:36
  • Implementing Product detail page 6:04
Chương 24 Identity Server Client Implementation
  • Account Module Creation 8:47
  • Account Routing fix 0:38
  • Server Side Changes 6:13
  • Understanding Checkout Module 1:47
  • Understanding Account Module 4:34
  • Understanding Account service 6:42
  • Can Activate Route Guard Issue With Angular 15 1:13
  • UnInstallation Steps 1:29
  • Package.json changes 1:54
  • Silent Callback changes 1:28
  • Basket service changes 2:01
  • Understanding Checkout module changes 1:56
  • Navbar changes 1:19
  • 401 Error Interceptor demo 2:18
  • Checkout giving 400 Error 2:06
  • Demo 4:30
Chương 25 Deploying Microservices to Kubernetes and AKS
  • Introduction 5:09
  • Architectural Overview 4:27
  • Branching Strategy 2:44
  • Going back in time 4:36
  • K8s Architecture 3:11
  • What K8s can do 5:49
Chương 26 Kubernetes Setup
  • Enabling Kubernetes 3:35
  • K8s Components 4:09
  • Creating Catalog Api Yaml 10:11
  • Adding Brands and Types sections 2:34
  • Creating Mongo ConfigMap 5:15
  • Catalog Db Yaml Creation 3:56
  • Catalog db Secret Creation 4:08
  • Docker tag Catalog Api image 5:03
  • Catalog Api and Db Created 5:04
  • Setting up Kubernetes Dashboard 5:31
  • Fixing Container config issue 8:36
  • Kubernetes Lens 5:42
Chương 27 Azure Setup
  • Azure Container Registry setup 6:03
  • Docker ACR Tagging 3:52
  • Pushing Images to ACR 4:17
  • Creating Azure Container Registry Secret 2:45
  • AKS Creation Error 6:02
  • Fixing AKS Creation Issue 3:20
  • Merging AKS Credentials with local Kube Config 1:44
Chương 28 Helm Installation
  • Introduction 3:18
  • Helm Installation 3:11
  • Understanding Catalog Helm Template 9:07
  • Understanding Basket Helm Template 5:16
  • Understanding Discount Helm Template 5:37
  • Understanding Ordering Helm Template 4:10
  • Understanding Infrastructure Helm Templates 3:48
  • Understanding Powershell Script to install and uninstall components 2:05
  • Helm Installation Image Pull Issue 4:04
  • Fixing Azure Login server issue 10:05
  • Ocelot Issue 3:09
  • Understanding Azure Assets from .Net 8 Changes 3:02
  • Hosting .Net 8 Solutions on Kube Cluster 6:32
Chương 29 Enabling Service Mesh using Istio
  • Introduction 2:41
  • Istio features 2:47
  • Enabling Istio 6:10
  • Verifying Istio in Kube Lens 4:18
  • Disabling Sidecar injection 1:03
  • Enabling Kiali Dashboard 6:06
  • Visualizing Catalog pod traffic 2:37
  • Visualizing Grafana and Prometheus Dashboard 7:55
Chương 30 Setting up API Gateway
  • Introduction 2:20
  • Ocelot Gateway Creation 5:21
  • Fixing the Build Issue 1:27
  • Setting up Program File 6:22
  • Creating Ocelot Configuration 4:00
  • Building Ocelot Schema 6:06
  • Docker Compose Changes 8:07
  • Ocelot Container Issue 4:01
  • Fixing Container Issue 3:06
  • Gateway Demo 3:55
Chương 31 Implementing Security Using Azure AD
  • Introduction 2:40
  • Getting Started with Azure AD 2:47
  • Creating Azure AD B2C Tenant 4:48
  • Registering an Application 3:46
  • Creating Azure AD User Flow 3:59
  • Understanding API Permissions 1:12
  • Creating Client Secret 2:50
  • Installing NPM Packages 1:22
  • Creating An Access API 2:52
  • Updating Account Module 0:52
  • Updating Account Service - 1st Part 6:00
  • Updating Account Service - 2nd Part 8:25
  • Updating App Module 1st Part 7:22
  • Updating App Module - 2nd Part 7:39
  • Updating App Routing Module 1:58
  • Registering Email with Azure and Application 5:59
  • Fixing Login Issue 6:43
  • Working Demo 4:07
Chương 32 Bonus Section
  • Road to FDE 17:15

Requirment

  • Basic knowledge of C# and .NET is expected.

  • Familiarity with REST APIs will help you follow along faster

Outcomes

  • Learn how to create Microservices using .Net Core

  • Learn how to stitch multiple technologies together

  • Learn how to implement message queues

  • Learn how to implement Mediator Pattern

  • Learn how to implement CQRS Pattern

  • Lear how how to Containerize entire solution

  • Lear how how to use Application Gateway

  • Learn how to implement structured Logging

  • Lear how to handle cross cutting concerns like ELK Stack, Observability etc

  • Learn how to put all the workloads on the K8s cluster

  • Learn how to apply Service Mesh using Istio

  • Learn how to implement Side Car pattern

Instructor

...
Rahul Sahay

0.0

  • ... 0 Student
  • ... 2 Courses
  • ... 0 review

View Details

Reviews

Rate this course :

Remove all
Một sản phẩm của Công ty Cổ phần Thương mại Vạn Tín Việt·vantinviet.com