MAI-Thinking-1 Is Now in Foundry — Here's What It Means If You Write C# Microsoft's first reasoning model, MAI-Thinking-1, is now in public preview in Microsoft Foundry, and it is designed for multi-step reasoning tasks. The model integrates with Microsoft.Extensions.AI and the IChatClient interface, allowing C# developers to swap it in as a config change rather than a rewrite. A developer demonstrated its use in a contract risk triage service, highlighting its ability to reason step-by-step and produce structured summaries. Every time Microsoft ships a new model into Foundry, I ask myself the same boring-but-important question: does this change anything for the way I actually write code? Most of the time the answer is "cool demo, doesn't affect my day job." This time it's different. MAI-Thinking-1 — Microsoft's first reasoning model — just went into public preview in Microsoft Foundry. It's not a chat model with a "think harder" flag bolted on. It's built from the ground up for multi-step reasoning: the kind of work where the model has to plan, reconsider, call tools, and stitch together a long chain of context before it gives you an answer worth trusting. If you've read anything else I've written, you know where this is going: no Python required, no notebook gymnastics, just Microsoft.Extensions.AI and a dotnet run . A few things worth knowing before you touch any code: None of that matters if you can't get it working in fifteen minutes, so let's do that. Most "reasoning model" content is written for people gluing together Python scripts and LangChain. That's not how most of us ship software. If you're building: MAI-Thinking-1 is aimed squarely at you, and it slots into the same IChatClient interface you're already using for GPT-4o or any other Foundry model. Swapping models is a config change, not a rewrite. dotnet new console -n MaiThinkingDemo cd MaiThinkingDemo dotnet add package Azure.AI.OpenAI dotnet add package Microsoft.Extensions.AI dotnet add package Azure.Identity dotnet user-secrets init dotnet user-secrets set "AZURE AI ENDPOINT" "https://your-resource.services.ai.azure.com" Deploy MAI-Thinking-1 from the Foundry Model Catalog to your Foundry project, same as you would any other model. Grab your endpoint and deployment name. Here's the thing about reasoning models: the interesting part isn't a single prompt/response, it's giving the model something that actually requires reasoning across steps. Let's build a small "contract risk triage" service — the kind of long-document, multi-step reasoning task MAI-Thinking-1 is designed for. using Azure.AI.OpenAI; using Azure.Identity; using Microsoft.Extensions.AI; using Microsoft.Extensions.Configuration; var config = new ConfigurationBuilder .AddUserSecrets