Originally published at ssojet

The second preview of the .NET AI Chat Web App template has been released, introducing multiple enhancements. This update includes support for .NET Aspire and integration with the Qdrant vector database, enabling the creation of cloud-native applications. The .NET AI template simplifies AI development by providing scaffolding and guidance through tools like Visual Studio, Visual Studio Code, and the .NET CLI.

/filters:no_upscale()/news/2025/04/microsoft-dotnet-ai-template-p2/en/resources/1use-aspire-orchestration-1745167526397.png)
A notable addition in Preview 2 is the support for .NET Aspire, enhancing the development toolkit with advanced AI capabilities. The Qdrant vector database can be utilized alongside .NET Aspire to create scalable applications. The template continues to utilize the Retrieval Augmented Generation (RAG) pattern for chat applications while adding new features tailored for .NET Aspire.

Key Features of the .NET AI Template

Development Flexibility

The template allows for chat-based UI interactions using sample PDFs or custom data and supports local vector stores for rapid prototyping or Azure AI Search for complex scenarios. Developers can customize generated code to meet specific project requirements, including chat interactions and citation tracking.

.NET Aspire Orchestration

The update introduces .NET Aspire Orchestration, facilitating powerful integrations with both local and cloud-based AI models. The Use .NET Aspire Orchestration option generates a new .NET Aspire solution with an .AppHost project for configuring integrations with various AI services.

Installation Instructions

To begin using Preview 2, developers must install the Microsoft.Extensions.AI.Templates package:

dotnet new install Microsoft.Extensions.AI.Templates

.NET and .NET Framework April 2025 Servicing Releases Updates

April 2025 brings servicing updates for both the .NET and .NET Framework, addressing various security improvements. Notably, the CVE-2025-26682 addresses a Denial of Service vulnerability impacting .NET 8.0 and .NET 9.0.

Release Notes and Installers

Known Issues

For a comprehensive list of known issues, visit the following links:

Join the .NET & C# Teams at Microsoft Build 2025

Microsoft Build 2025 is set for May 19-22, providing an excellent platform for .NET developers to expand their skills. This year's agenda includes a diverse range of sessions focused on .NET and C#, including:

With over 75 sessions planned, attendees can expect insights on cutting-edge tools and techniques in the .NET ecosystem.

Hands-on Labs

Hands-on labs will allow developers to work directly with emerging technologies. Example sessions include:

Explore SSOJet's Services

For enterprises looking to implement secure SSO and user management, SSOJet offers an API-first platform featuring directory sync, SAML, OIDC, and magic link authentication. Explore how SSOJet can enhance your authentication strategy by visiting ssojet.com.