MAUIverse MAUIverse

Using AI Foundry with .NET MAUI

This post demonstrates a practical pattern for adding AI to a MAUI app without overcomplicating the architecture: create an IChatClient via Microsoft.Extensions.AI, inject it, and use it to generate helpful “starter tasks” when a user creates a new project.

It also includes an important reminder about not hardcoding API keys, even in samples, and sketches what a production-grade approach should look like.

View Source →

← Back to Community Feed

}