Course Overview
In this course, we are designing and implementing cloud-native distributed architectures using the .NET Aspire framework, while integrating Generative AI capabilities (GenAI) through Microsoft-Extensions-AI and Semantic Kernel.
From microservices fundamentals to Advanced AI-driven features, you’ll gain hands-on experience architecting an E-Shop system where Catalog and Basket microservices work in tandem using PostgreSQL, Redis and RabbitMQ for messaging.
You’ll also discover how to incorporate intelligent features such as Q&A chatbots and semantic product search, powered by Ollama’s Llama/Phi models and RAG (Retrieval-Augmented Generation) flows.
Throughout the course, you’ll learn:
Cloud-Native Distributed Architecture Essentials
Dive into microservices architecture, containerization, and the Twelve-Factor App methodology.
Learn best practices for resiliency, scalability, and DevOps workflows.
.NET Aspire Framework for Cloud-Native Development
Understand how .NET Aspire simplifies building distributed services.
Set up new projects, manage configurations, and apply cross-cutting concerns like logging and observability.
Catalog Microservice with PostgreSQL and RabbitMQ:
Store and manage product data in PostgreSQL.
Publish integration events (e.g., ProductPriceChanged) to RabbitMQ.
Basket Microservice with Redis:
Maintain fast, session-based data using Redis.
Syncs with the Catalog service when adding items to the basket.
Consume integration events from RabbitMQ to keep basket prices in sync.
Secure basket endpoints with Keycloak using JWT Bearer token.
Messaging and Event-Driven Patterns with RabbitMQ
Explore publish/subscribe patterns, exchanges, routing keys, and best practices for handling retries.
Implement robust error handling and ensure reliable event-driven communication across microservices.
Deployment, Security, and Observability
Containerize microservices and deploy them to Azure Container Apps using the azd up and azd down commands.
Follow .NET Aspire’s project structure for streamlined CI/CD workflows.
Introduction to .NET GenAI with Semantic Kernel
Discover the foundations of Generative AI and large language models (LLMs).
Integrate Microsoft-Extensions-AI and Semantic Kernel to power advanced AI functionalities.
Ollama, Llama, and Phi Models Setup
Install and configure Ollama locally or via containers.
Run Llama or Phi models for inference directly within your .NET microservices.
GenAI Use Cases in E-Shop
Customer Support Q&A Chatbot:
Leverage semantic kernel and prompt engineering for context-aware Q&A.
Integrate Ollama to deliver real-time responses to users’ questions.
Product Semantic Search with Vector Store (RAG Flow):
Generate embeddings for product data using Ollama’s All-MiniLM model.
Use a vector database to retrieve, rank, and deliver personalized product recommendations.
By the end of this course, you’ll have built a fully functional, AI-powered E-Shop platform that demonstrates the power of event-driven microservices coupled with .NET Aspire and GenAI
FAQ
FAQ area empty
Course curriculum
Chương 1 Introduction 3 bài · 12 phút
Chương 2 What is Cloud-Native Distributed Architectures ? 3 bài · 10 phút
-
What is Cloud-Native Distributed Architectures ? 3:55
-
Backing Services for Cloud-Native Architectures 2:05
-
Using LLMs and VectorDBs as Cloud-Native Backing Services in Microservices 3:34
Chương 3 .NET Aspire - Distributed App Development Framework 6 bài · 26 phút
- What is .NET Aspire ? Học thử 3:30
-
.NET Aspire Core Concepts: Orchestration, Integrations and Service Discovery 5:08
- .NET Aspire Orchestration - Automate Container Management Học thử 5:21
-
.NET Aspire Integration - Built-in Connectors 7:12
-
.NET Aspire Service Discovery - Finding Each Other 5:18
- Aspire Quiz Học thử
Chương 4 Building Your First .NET Aspire Application 7 bài · 35 phút
-
Start the .NET Aspire Project for Redis-Api-Frontend Architecture 2:30
-
Run Aspire App and Explore the .NET Aspire dashboard 3:47
- Understanding .NET Aspire Project Organization Học thử 5:04
-
Examine .NET Aspire Host Project 4:41
-
Examine .NET Aspire Service Defaults Project 4:39
-
Managing Inter-Service Communication with .NET Aspire 5:24
-
Adding .NET Aspire to Existing .NET Applications 8:41
Chương 5 Building EShop Distributed Microservices Architecture with .NET Aspire 4 bài · 9 phút
-
Introduction-EShop Distributed Microservices Architecture with .NET Aspire 2:44
-
Create New Blank Solution and Organize Solution Folder Structure 1:44
-
Create .NET Aspire Projects: AppHost (Orchestrator), ServiceDefaults(Shared) 2:56
-
Step by Step Development Plan for Building EShop Distributed Architecture 1:53
Chương 6 Develop Catalog Microservice with PostgreSQL orchestrate in .NET Aspire 19 bài · 1 giờ 13 phút
-
Introduction - Catalog Microservice with PostgreSQL 1:21
-
Domain Analysis of Catalog Microservice: Models, UCs, Rest Apis, Databases 1:47
-
Technical Analysis of Catalog Microservice: Architectures, Patterns, Libraries 3:32
-
Create Catalog Microservice Web API and Add .NET Aspire Orchestration 4:39
-
Develop Product Domain Entity Models in Catalog Microservice Domain Models 2:08
-
.NET Aspire Hosting(Orchestrator) and Client(Connect Resource) Integrations 3:05
-
Catalog Hosting Integration: Add PostgreSQL Resource in AppHost 8:26
-
Catalog Client Integration: Connect PostgreSQL DB in Microservice 3:44
-
Develop and Inject EF Core ProductDbContext.cs in Data Layer of Catalog ms 4:00
-
Create EF Core Migrations for ProductDbContext 3:58
-
Auto-Migrate EF Core when App Startup with Extention methods 4:55
-
TEST - Catalog Auto-Migration when App Startup 4:50
-
Catalog Application Use Case Development 2:41
-
Develop Products UpdateProduct and DeleteProduct using ProductDbContext 2:02
-
Develop Product Queries using ProductDbContext 2:08
-
Register ProductService class into Catalog-Program.cs Asp.net DI 1:46
-
Develop Catalog API Endpoints with ASP.NET Minimal APIs 5:58
-
Register Endpoints into Program.cs 2:28
-
Test Catalog Microservice Endpoints 9:19
Chương 7 Develop Basket Microservice with Redis orchestrate in .NET Aspire 10 bài · 34 phút
-
Introduction - Basket Microservice with Redis 1:10
-
Domain and Technical Analysis of Basket Microservice 4:03
-
Create Basket Microservice Web API and Add .NET Aspire Orchestration 2:57
-
Develop SC Domain Entity Models in Basket Microservice Domain Models 2:24
-
Basket Hosting Integration: Add Redis Resource in AppHost as a Distributed Cache 4:44
-
Basket Client Integration: Connect Redis Cache in Microservice 2:57
-
Develop BasketService class with injecting IDistributedCache 4:01
-
Develop Basket API Endpoints with ASP.NET Minimal APIs 4:08
-
Register Basket Endpoints into Program.cs 1:55
-
Test Basket Microservice Endpoints 5:50
Chương 8 Sync Communications between Catalog-Basket w/ .NET Aspire Service Discovery 7 bài · 20 phút
-
Introduction - Sync Communications between Catalog-Basket Microservice 2:03
-
Sync Communications Use Case: When Update Basket, Get Latest Product Prices 1:56
-
Add WithReference(catalog) into Basket for Service Discovery 1:56
-
Develop CatalogApiClient fro Sync Http Communication 4:02
-
Register CatalogApiClient in Basket Microservice 1:27
-
Integrate w/ Catalog into BasketService.cs using CatalogApiClient 2:32
-
Test Update Basket Sync Call to Catalog to Get Product Data 5:37
Chương 9 Async Communications w/ RabbitMQ & MassTransit orchestrate .NET Aspire 10 bài · 45 phút
-
Introduction - Async Communications w/ RabbitMQ & MassTransit 2:55
-
Async Communications Use Case: When Update Product Price, Async update Cart 2:30
-
RabbitMQ Hosting Integration .NET Aspire 5:53
-
Create Shared Messaging Folders and Classes for ProductPriceChangedIntegration 4:51
-
Develop MassTransit Extention Methods to Register RabbitMQ connection 5:49
-
Register MassTransit Packages into Catalog and Basket DI in Program.cs file 2:59
-
Add Aspire Trace For MassTransit Operations 1:56
-
Catalog ms Publish ProductPriceChanged Integration Event 4:45
-
Basket Subscribe and consume ProductPriceChanged Integration Event 4:31
-
Test Async RabbitMQ Communication w/ Aspire 8:44
Chương 10 Secure Basket with Keycloak Authentication orchestrate .NET Aspire 6 bài · 27 phút
-
Introduction- Secure Basket with Keycloak Authentication orchestrate .NET Aspire 1:13
-
Keycloak Identity and Access Management 2:00
-
Keycloak Hosting Integration .NET Aspire 6:37
-
Create Realm, User and Client for OpenID Connect with Keycloak Identity Provider 6:03
-
Keycloak Client Integration - Secure Basket ms endpoints w/ .Net Aspire 5:27
-
Test Secured Basket Endpoints w/ Keycloak Jwt Tokens 5:56
Chương 11 Develop Client Blazor Web Application 8 bài · 29 phút
-
Introduction - Develop Client Blazor Web Application 1:06
-
Create Blazor Web Application orchestrate .NET Aspire 5:21
-
Client WebApp integrate to Catalog w/ CatalogApiClient.cs 3:58
-
Register CatalogApiClient with Aspire integrations for Service Discovery 2:45
-
WebApp Product Page Development 4:41
-
Testing the Products Page 2:49
-
Output Caching for Products Page 4:23
-
Apply and Test Output Cache to the Products Page 3:59
Chương 12 Deploy EShop Aspire project to Azure Container Apps 6 bài · 20 phút
-
Introduction - Deploy EShop Aspire project to Azure Container Apps 1:02
-
What is ACA - Azure Container Apps ? How to Deploy ? 3:11
-
Data volumes don't work on ACA 4:38
-
Deploy .NET Aspire App with azd commands to ACA 5:52
-
Test Successful Deployment to ACA 3:21
-
Clean-up Azure Resources - DONT FORGET azd down 2:01
Chương 13 .NET GenAI with Microsoft.Extensions.AI for Chat AI and Semantic Search 13 bài · 41 phút
-
Introduction - .NET GenAI with Microsoft.Extensions.AI for Chat AI and Semantic 1:11
-
What are Large Language Models (LLMs) ? 2:38
-
Ollama – Run LLMs Locally 3:00
-
Using LLMs and VectorDBs as Cloud-Native Backing Services in Microservices 2:20
-
Ollama and Llama Model Hosting Integration .NET Aspire 5:14
-
Download Llama Model LLM inside Ollama with .NET Aspire 4:11
-
Ollama Client Integration .NET Aspire 1:45
-
Microsoft.Extensions.AI–Unified AI Building Blocks for .NET 2:39
-
Register OllamaSharpChatClient with Microsoft.Extensions.AI 2:27
-
Develop ProductAIService.cs Class for Business Layer - Customer Support Chat AI 3:45
-
Develop ProductEndpoints Support Query Endpoint for Chat Q&A 4:49
-
Blazor FrontEnd Support Page Development 4:16
-
Test WebApp Blazor Support Page for Chat and Q&A 2:27
Chương 14 Semantic Product Search with Vector Embeddings and Vector DB 13 bài · 45 phút
-
Introduction - Semantic Product Search with Vector Embeddings and Vector DB 1:27
-
What is a Vector Database? 1:57
-
What are Vectors and Vector Embeddings ? 3:10
-
Hosting Integration for Ollama all-minilm Embeddings Model 3:21
-
Client Integration Packages with SemanticKernel and Extensions.VectorData 3:48
-
Develop ProductVector Domain Entity for Storing Vector Data 2:53
-
Develop Traditional Search in ProductService.cs Business Class 3:53
-
Register EmbeddingGenerator and VectorStore services in Catalog/Program.cs 3:33
-
Develop ProductAIService.cs for Semantic Search Implementation 5:14
-
Develop Search Endpoints in ProductEndpoints.cs for Semantic Search 2:17
-
Test Search Endpoints from Catalog microservices 5:58
-
Blazor FrontEnd Search Page Development 5:01
-
Test WebApp Blazor Search Page for Semantic Search 2:08
Chương 15 Thanks 1 bài · 1 phút
-
Thanks 0:51
Requirment
-
Basics of C# and Programming
Outcomes
-
Develop AI-Powered Distributed Architectures using .NET Aspire and GenAI
-
Cloud-Native Distributed Architectures
-
.NET Aspire Framework for Cloud-Native Distributed App Development
-
Building EShop Distributed Microservices Architecture with .NET Aspire
-
Messaging and Event-Driven Patterns with RabbitMQ
-
Develop Catalog Microservice with PostgreSQL orchestrate in .NET Aspire
-
Develop Basket Microservice with Redis orchestrate in .NET Aspire
-
Sync Communications between Catalog-Basket w/ .NET Aspire Service Discovery
-
Async Communications w/ RabbitMQ & MassTransit orchestrate .NET Aspire
-
Secure Basket with Keycloak Authentication orchestrate .NET Aspire
-
Develop Client Blazor Web Application
-
Azure Container Apps
-
Deploy EShop Aspire project to Azure Container Apps
-
.NET GenAI with Microsoft Extensions AI and Semantic Kernel
0 Student
12 Courses
0 review