.NET: Replace Azure Foundry/Azure AI Foundry with Microsoft Foundry in .NET samples#5032
Merged
SergeyMenshykh merged 8 commits intomicrosoft:mainfrom Apr 1, 2026
Conversation
Update all .cs, .md, and .yaml files in dotnet/samples/ to use 'Microsoft Foundry' instead of 'Azure Foundry' and 'Azure AI Foundry'. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the .NET sample documentation/comments to consistently refer to Microsoft Foundry (replacing Azure Foundry / Azure AI Foundry) across dotnet/samples/, aligning sample wording with updated product naming while leaving runtime behavior unchanged.
Changes:
- Replaced “Azure Foundry” / “Azure AI Foundry” wording with “Microsoft Foundry” across sample READMEs, comments, and YAML metadata.
- Updated section headings and environment-variable descriptions to reflect “Microsoft Foundry project” terminology.
- Kept existing Learn URLs unchanged (per PR description), only adjusting display text.
Reviewed changes
Copilot reviewed 39 out of 39 changed files in this pull request and generated 8 comments.
Show a summary per file
| File | Description |
|---|---|
| dotnet/samples/AGENTS.md | Renames the AgentsWithFoundry directory description to “Microsoft Foundry samples”. |
| dotnet/samples/05-end-to-end/HostedAgents/README.md | Updates hosted-agent setup docs to refer to Microsoft Foundry projects and permissions. |
| dotnet/samples/05-end-to-end/HostedAgents/FoundrySingleAgent/README.md | Updates prerequisites and env-var descriptions to “Microsoft Foundry Project”. |
| dotnet/samples/05-end-to-end/HostedAgents/FoundrySingleAgent/Program.cs | Updates sample header comment to “Microsoft Foundry”. |
| dotnet/samples/05-end-to-end/HostedAgents/FoundryMultiAgent/README.md | Updates prerequisites/deployment text to “Microsoft Foundry Project”. |
| dotnet/samples/05-end-to-end/HostedAgents/FoundryMultiAgent/Program.cs | Updates sample header comment to “Microsoft Foundry”. |
| dotnet/samples/05-end-to-end/HostedAgents/FoundryMultiAgent/agent.yaml | Updates YAML description text to “Microsoft Foundry …Client”. |
| dotnet/samples/05-end-to-end/HostedAgents/AgentWithLocalTools/README.md | Updates README wording to “Microsoft Foundry project”. |
| dotnet/samples/05-end-to-end/HostedAgents/AgentWithLocalTools/Program.cs | Updates sample header comment to “Microsoft Foundry”. |
| dotnet/samples/05-end-to-end/A2AClientServer/README.md | Updates A2A configuration text to “Microsoft Foundry project”. |
| dotnet/samples/03-workflows/README.md | Updates workflows index to reference “Microsoft Foundry agents”. |
| dotnet/samples/03-workflows/Declarative/README.md | Updates declarative workflow configuration docs to “Microsoft Foundry Project”. |
| dotnet/samples/03-workflows/Declarative/InvokeMcpTool/Program.cs | Updates XML docs to “Microsoft Foundry MCP server”. |
| dotnet/samples/03-workflows/Agents/FoundryAgent/Program.cs | Updates XML docs/prereqs to “Microsoft Foundry Agents” terminology. |
| dotnet/samples/02-agents/ModelContextProtocol/README.md | Updates note text to “deploy … with Microsoft Foundry”. |
| dotnet/samples/02-agents/ModelContextProtocol/FoundryAgent_Hosted_MCP/README.md | Updates prerequisites/env-var comments to “Microsoft Foundry”. |
| dotnet/samples/02-agents/ModelContextProtocol/FoundryAgent_Hosted_MCP/Program.cs | Updates sample header comments to “Microsoft Foundry Agents”. |
| dotnet/samples/02-agents/AgentWithRAG/AgentWithRAG_Step02_CustomVectorStoreRAG/README.md | Updates note text to “deploy … with Microsoft Foundry”. |
| dotnet/samples/02-agents/AgentWithMemory/README.md | Updates table entries and “See also” text to Microsoft Foundry naming. |
| dotnet/samples/02-agents/AgentWithMemory/AgentWithMemory_Step04_MemoryUsingFoundry/README.md | Updates title/description/table to “Microsoft Foundry Memory”. |
| dotnet/samples/02-agents/AgentWithMemory/AgentWithMemory_Step04_MemoryUsingFoundry/Program.cs | Updates comments to “Microsoft Foundry memory store”. |
| dotnet/samples/02-agents/AgentWithAnthropic/README.md | Updates section title/text to “Anthropic with Microsoft Foundry”. |
| dotnet/samples/02-agents/AgentsWithFoundry/README.md | Updates getting-started text to “Microsoft Foundry”. |
| dotnet/samples/02-agents/AgentsWithFoundry/Agent_Step00_FoundryAgentLifecycle/Program.cs | Updates lifecycle comment to “Microsoft Foundry”. |
| dotnet/samples/02-agents/Agents/README.md | Updates note text to “deploy … with Microsoft Foundry”. |
| dotnet/samples/02-agents/Agents/Agent_Step15_DeepResearch/README.md | Updates prerequisites/env-var comments to “Microsoft Foundry project”. |
| dotnet/samples/02-agents/Agents/Agent_Step15_DeepResearch/Program.cs | Updates sample header comment to “Microsoft Foundry Agent”. |
| dotnet/samples/02-agents/Agents/Agent_Step13_ChatReduction/Program.cs | Updates explanation comment to reference “Microsoft Foundry Agents”. |
| dotnet/samples/02-agents/Agents/Agent_Step11_Middleware/Program.cs | Updates comment to “Microsoft Foundry configuration”. |
| dotnet/samples/02-agents/Agents/Agent_Step07_AsMcpTool/README.md | Updates MCP Inspector instructions to “Microsoft Foundry Project”. |
| dotnet/samples/02-agents/Agents/Agent_Step02_StructuredOutput/README.md | Updates note text to “deploy … with Microsoft Foundry”. |
| dotnet/samples/02-agents/AgentProviders/README.md | Updates provider list entry text/description to “Microsoft Foundry”. |
| dotnet/samples/02-agents/AgentProviders/Agent_With_AzureFoundryModel/README.md | Updates overview/prereqs/env-var comments to “Microsoft Foundry”. |
| dotnet/samples/02-agents/AgentProviders/Agent_With_AzureFoundryModel/Program.cs | Updates header comments and endpoint note to “Microsoft Foundry”. |
| dotnet/samples/02-agents/AgentProviders/Agent_With_AzureAIProject/README.md | Updates prerequisites/env-var comments to “Microsoft Foundry resource”. |
| dotnet/samples/02-agents/AgentProviders/Agent_With_AzureAIProject/Program.cs | Updates header comments to “Microsoft Foundry Agents”. |
| dotnet/samples/02-agents/AgentProviders/Agent_With_AzureAIAgentsPersistent/README.md | Updates prerequisites/env-var comments to “Microsoft Foundry resource”. |
| dotnet/samples/02-agents/AgentProviders/Agent_With_AzureAIAgentsPersistent/Program.cs | Updates header comment to “Microsoft Foundry Agents”. |
| dotnet/samples/02-agents/AgentProviders/Agent_With_Anthropic/README.md | Updates deployment scenario docs to “Microsoft Foundry”. |
dotnet/samples/02-agents/AgentWithMemory/AgentWithMemory_Step04_MemoryUsingFoundry/Program.cs
Outdated
Show resolved
Hide resolved
dotnet/samples/02-agents/Agents/Agent_Step15_DeepResearch/Program.cs
Outdated
Show resolved
Hide resolved
dotnet/samples/02-agents/Agents/Agent_Step15_DeepResearch/README.md
Outdated
Show resolved
Hide resolved
dotnet/samples/05-end-to-end/HostedAgents/AgentWithLocalTools/README.md
Outdated
Show resolved
Hide resolved
dotnet/samples/02-agents/AgentProviders/Agent_With_AzureAIProject/Program.cs
Outdated
Show resolved
Hide resolved
…4_MemoryUsingFoundry/Program.cs Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…ram.cs Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…ME.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…ect/Program.cs Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…IDs' Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
alliscode
approved these changes
Apr 1, 2026
westey-m
approved these changes
Apr 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Update all .cs, .md, and .yaml files in dotnet/samples/ to use Microsoft Foundry instead of Azure Foundry and Azure AI Foundry.
Changes