---
title: Quickstart - Create a .NET AI app using the AI app template
description: Create a .NET AI app to chat with custom data using the AI app template extensions and the Microsoft.Extensions.AI libraries
ms.date: 03/04/2026
ms.topic: quickstart
zone_pivot_groups: meai-targets
ai-usage: ai-assisted
---

# Create a .NET AI app to chat with custom data using the AI app template extensions

In this quickstart, you learn how to create a .NET AI app to chat with custom data using the .NET AI app template. The template is designed to streamline the getting started experience for building AI apps with .NET by handling common setup tasks and configurations for you.

:::zone target="docs" pivot="github-models"

[!INCLUDE [ai-templates-github-models](includes/ai-templates-github-models.md)]

:::zone-end

:::zone target="docs" pivot="azure-openai"

[!INCLUDE [ai-templates-azure-openai](includes/ai-templates-azure-openai.md)]

:::zone-end

:::zone target="docs" pivot="openai"

[!INCLUDE [ai-templates-openai](includes/ai-templates-openai.md)]

:::zone-end

:::zone target="docs" pivot="ollama"

[!INCLUDE [ai-templates-ollama](includes/ai-templates-ollama.md)]

:::zone-end

## Run and test the app

1. Select the run button at the top of Visual Studio to launch the app. After a moment, you should see the following UI load in the browser:


1. Enter a prompt into the input box such as *"What are some essential tools in the survival kit?"* to ask your AI model a question about the ingested data from the example files.


    The app responds with an answer to the question and provides citations of where it found the data. You can click on one of the citations to be directed to the relevant section of the example files.

## Next steps

- [Generate text and conversations with .NET and Azure OpenAI Completions](/training/modules/open-ai-dotnet-text-completions/)
