Skip to content

Building a working Visual Studio project where you can authenticate, select a deployment from Foundry, and interact with the model programmatically.

Notifications You must be signed in to change notification settings

deepak-git-hub-code/deepak-Azure-AI-Projects

Repository files navigation

Azure Foundry AI Projects

Building a working Visual Studio project where you can authenticate, select a deployment from Foundry, and interact with the model programmatically.

Project Structure

  • AzureFoundryDeploymentList.slnx - Solution file (root)
  • FoundryDemo/ - Console app: lists Azure AI Foundry deployments
    • FoundryDemo.csproj - C# project file
    • Program.cs - Main entry point with Azure AI Foundry client implementation
    • FoundryClient.cs - Helper class for Azure credential management
  • FoundryApi/ - ASP.NET Core Web API (Clean Architecture), see FoundryApi/README.md

Requirements

  • .NET 8.0 or higher
  • Azure CLI with MFA login
  • Azure.AI.Projects and Azure.Identity NuGet packages

Getting Started

  1. Update the endpoint URL in FoundryDemo/Program.cs with your Azure AI project endpoint
  2. Run the application with your Azure CLI credentials:
    dotnet run --project FoundryDemo/FoundryDemo.csproj
  3. The application will list all available deployments from your Foundry project

About

Building a working Visual Studio project where you can authenticate, select a deployment from Foundry, and interact with the model programmatically.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages