News

Microsoft Shows How to Upgrade .NET AI Chat Apps with Agent Framework

Microsoft published a walkthrough demonstrating how to upgrade a .NET AI chat app built from the official .NET AI templates to use the new Microsoft Agent Framework. The preview framework extends basic chat functionality by enabling reasoning, multi-step workflows, and tool-based decision-making within .NET applications.

Microsoft Agent Framework is described as the next evolution beyond chatbots, allowing AI agents to plan, make autonomous decisions, maintain conversation context, and coordinate with other agents. It is built on familiar .NET patterns such as dependency injection, middleware, and telemetry, integrating directly with Microsoft.Extensions.AI.

The tutorial begins with creating a standard AI Chat Web App using the .NET AI templates in Visual Studio or the CLI. Developers install the templates with dotnet new install Microsoft.Extensions.AI.Templates, then configure Azure OpenAI or GitHub Models as the AI provider and .NET Aspire for orchestration.

The generated project includes a Blazor chat interface, orchestration host, and shared service configuration. Developers then enhance the chat experience by integrating Microsoft Agent Framework, which adds structured reasoning and decision-making to the chat process through extensible agent components.

According to Microsoft, the Agent Framework supports scenarios where multiple agents can collaborate, call APIs, and interact with external services. It builds on the same dependency injection and service registration model familiar to .NET developers, helping simplify integration into existing applications.

About the Author

David Ramel is an editor and writer at Converge 360.

comments powered by Disqus

Featured

  • VS Code 1.125 Adds Copilot Spend Meter After Billing Shock

    VS Code 1.125 adds in-editor visibility into additional Copilot budget usage as GitHub's AI-credit billing model continues to draw developer scrutiny.

  • TypeScript 7.0 RC Moves Microsoft's Go Rewrite Into the Mainline Compiler

    Microsoft's Go-based TypeScript rewrite has reached Release Candidate status, moving from a separate native-preview package into the regular TypeScript npm package while leaving some ecosystem-facing API work for TypeScript 7.1 or later.

  • Microsoft Highlights Visual Studio Live! Event Lineup and Longtime Developer Community Role

    A Microsoft MVP Blog post on Visual Studio Live!'s longevity arrives as the 2026 conference series continues with upcoming stops at Microsoft HQ, San Diego and Orlando.

  • Using Local AI to Cut Copilot Usage-Based Billing Shock

    After being gobsmacked by the new billing plan using almost all my monthly credits in one or two days, I tried pushing some Copilot-style coding work onto local models in VS Code. What I found was less "free AI" and more "pick your pain": cloud charges on one side, heavy local resource use and long waits on the other.

Subscribe on YouTube