Skip to main content
Have a personal or library account? Click to login
Building AI-Powered Distributed Architectures with Aspire Cover

Building AI-Powered Distributed Architectures with Aspire

Build cloud-native microservices with PostgreSQL, Redis, RabbitMQ, Keycloak, Ollama, and GenAI

Paid access
|Jan 2026
Product purchase options
This title is not yet available for download

Build cloud-native distributed .NET applications with Aspire, ASP.NET Core microservices, generative AI, semantic search, and Azure deployment.

Key Features

  • Build an end-to-end distributed e-commerce system with AI capabilities
  • Integrate PostgreSQL, Redis, RabbitMQ, Keycloak, and Ollama with Aspire
  • Deploy secure, AI-enabled microservices to Azure Container Apps

Book Description

Build practical AI-powered distributed applications by seeing how microservices, messaging, security, data services, and generative AI work together in one project. This book guides you through building a cloud-native e-commerce application with independently deployed services, reliable communication, specialized data stores, and intelligent features. You’ll use Aspire to orchestrate Catalog and Basket microservices, configure service discovery, and integrate PostgreSQL and Redis. You’ll implement synchronous communication and asynchronous messaging with RabbitMQ and MassTransit, secure Basket APIs with Keycloak and JWT bearer tokens, and connect a Blazor frontend to the distributed backend. You’ll then add generative AI capabilities using Microsoft.Extensions.AI, Microsoft Agent Framework, and Ollama. You’ll build customer-support Q&A and semantic product search using embeddings and vector storage before deploying the application to Azure Container Apps. Written by software and solutions architect Mehmet Ozkaya, who has more than 15 years of industry experience and has taught more than 200,000 students, this book combines hands-on development with architectural guidance. By the end, you’ll be able to design, orchestrate, secure, enhance, and deploy AI-enabled distributed .NET applications.

What you will learn

  • Design cloud-native distributed systems with Aspire
  • Build Catalog and Basket microservices with ASP.NET Core
  • Orchestrate PostgreSQL and Redis as backing services
  • Implement event-driven messaging with RabbitMQ and MassTransit
  • Secure microservice endpoints with Keycloak and JWT bearer tokens
  • Build enterprise AI features with Microsoft.Extensions.AI, Ollama, and Microsoft Agent Framework
  • Implement semantic search with embeddings and vector storage
  • Deploy distributed applications to Azure Container Apps

Who this book is for

.NET developers, software engineers, and solution architects who want to build cloud-native distributed applications and add generative AI capabilities will benefit from this book. It is also suited to developers exploring microservices, event-driven architecture, Aspire, and AI integration. Basic knowledge of C# and programming concepts is required.

PDF ISBN: 978-1-80849-276-1
Publisher: Packt Publishing Limited
Copyright owner: © 2026 Packt Publishing Limited
Publication date: 2026
Language: English
Pages: 354
BISAC subjects:
COM014000
Thema subjects:
UY

People also read