Back to Browse

Persist AI Agent Memory in ASP.NET Core (Microsoft Agent Framework)

1.2K views
Apr 18, 2026
27:03

In this third video from my Microsoft Agent Framework series, I continue building a real AI-powered system in ASP.NET Core. So far, our AI agents work, but they have one major limitation: they forget everything after restart. In this part, we are going to fix that by adding persistent storage and saving conversations in a database using Entity Framework and PostgreSQL. By the end of this video, you will see: - how to integrate Entity Framework with your AI agent system; - how to design entities for conversation storage; - how to serialize AI messages (including polymorphic content); - how to implement a DB-based conversation store; - how to handle LLM message ordering issues. If you're building real AI systems in .NET - this series is for you. Repository: https://github.com/shevchenko-igor-dev/book-shop-assistant #dotnet #aspnetcore #ai #aiengineering #softwareengineering #backend #microsoft #developers #programming #microsoftagentframework

Download

0 formats

No download links available.

Persist AI Agent Memory in ASP.NET Core (Microsoft Agent Framework) | NatokHD