
.NET Blog · 13 min readC# & .NET
Build a .NET decision agent with Microsoft Agent Framework and Foundry
Learn how to build a .NET decision agent using Microsoft Agent Framework and Foundry, integrate the Microsoft-Decision-1.1 model for support ticket routing, and host the agent both locally and in Foundry. The guide shows concrete C# implementations, request contracts, and deployment steps, enabling deterministic decision responses without a conversational model.
- Define typed C# records to capture decision results and usage metrics
- Implement an AIAgent that validates a single ticket input and calls a decision client
- Configure local and Foundry hosting with Azure credentials and specific package versions