Skip to content

[docs] Add docs for Aspire.Hosting.Dotnet integration - #1437

Merged
David Pine (IEvangelist) merged 2 commits into
release/13.5from
docs/aspire-hosting-dotnet-18442-5ac1c9fe76c4077b
Aug 7, 2026
Merged

[docs] Add docs for Aspire.Hosting.Dotnet integration#1437
David Pine (IEvangelist) merged 2 commits into
release/13.5from
docs/aspire-hosting-dotnet-18442-5ac1c9fe76c4077b

Conversation

@aspire-repo-bot

Copy link
Copy Markdown
Contributor

Documents changes from microsoft/aspire#18442

@karolz-ms

Targeting release/13.5 based on the source PR milestone 13.5 (exact match found on microsoft/aspire.dev).

Why

PR microsoft/aspire#18442 adds the new Aspire.Hosting.Dotnet hosting integration package — the C# peer of Aspire.Hosting.Go, Aspire.Hosting.Python, and Aspire.Hosting.JavaScript. It introduces:

  • A new public API AddDotnetProject / addDotnetProject ([Experimental("ASPIREDOTNETPROJECT001")]) to add a C# project or file-based .cs app by path, without referencing it from the AppHost's own solution.
  • A new public type DotnetProjectResource.
  • A new NuGet package Aspire.Hosting.Dotnet with its own README.

This is new user-facing surface with no prior documentation, so a docs PR is required.

What changed

  • New page: integrations/frameworks/dotnet/dotnet-get-started.mdx — overview/get-started guide, following the pattern of the Go integration's get-started page.
  • New page: integrations/frameworks/dotnet/dotnet-host.mdx — full AppHost API reference for AddDotnetProject / addDotnetProject, covering installation, adding a project or file-based app by path, and configuration options, using the exact API names, diagnostic ID (ASPIREDOTNETPROJECT001), and behavior described in the PR's README and source.
  • Sidebar: added a ".NET / C#" section to integrations.topics.ts alongside the existing Go/Java/JavaScript framework entries.
  • Integration lookup data: added an Aspire.Hosting.Dotnet entry to integration-docs.json so the package resolves to the new get-started page.
  • Cross-reference: updated languages-and-runtimes/index.mdx's "C# and .NET apps" card to link to the new integration.

All pages were created as new files; no existing docs described AddDotnetProject, so this isn't a case of "already documented by name."

Generated by PR Documentation Check · auto · 78.7 AIC · ⌖ 16.3 AIC · ⊞ 17.7K ·

Adds new integration docs for the Aspire.Hosting.Dotnet hosting
integration (AddDotnetProject / addDotnetProject), which lets AppHosts
add C# projects and file-based C# apps by path, as the C# peer of the
Go/Python/JavaScript hosting integrations.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@aspire-repo-bot aspire-repo-bot Bot added the docs-from-code Copilot initiated issue from dotnet/aspire repo label Aug 7, 2026
@IEvangelist
David Pine (IEvangelist) marked this pull request as ready for review August 7, 2026 05:06
Copilot AI lite review requested due to automatic review settings August 7, 2026 05:06

@IEvangelist David Pine (IEvangelist) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Validated against microsoft/aspire#18442 and the current Aspire.Hosting.Dotnet API/README. The package, C# and TypeScript APIs, launch behavior, experimental diagnostic, navigation, and integration lookup are documented accurately.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds new Aspire docs content for the Aspire.Hosting.Dotnet hosting integration, including navigation + integration lookup wiring, so users can discover and use AddDotnetProject / addDotnetProject to add C# projects or file-based .cs apps by path.

Changes:

  • Adds new get-started and AppHost API reference pages for the .NET / C# hosting integration.
  • Wires the new docs into the integrations sidebar and package-to-docs lookup (integration-docs.json).
  • Updates the “C# and .NET apps” languages card to cross-link to the new integration docs.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/frontend/src/data/integration-docs.json Adds package→doc-route mapping for Aspire.Hosting.Dotnet.
src/frontend/src/content/docs/languages-and-runtimes/index.mdx Updates the .NET card to link to the new integration.
src/frontend/src/content/docs/integrations/frameworks/dotnet/dotnet-host.mdx New AppHost reference page for AddDotnetProject / addDotnetProject.
src/frontend/src/content/docs/integrations/frameworks/dotnet/dotnet-get-started.mdx New get-started overview page for the integration.
src/frontend/config/sidebar/integrations.topics.ts Adds a “.NET / C#” section and links to the new pages.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/frontend/src/content/docs/integrations/frameworks/dotnet/dotnet-host.mdx Outdated
@aspire-repo-bot

Copy link
Copy Markdown
Contributor Author

Frontend HTML artifact ready

The latest frontend build uploaded the frontend-dist artifact for PR #1437. Use the VS Code button below to open this PR with GitHub Artifacts Explorer and browse the built HTML locally.

VS Code: Open PR #1437 artifacts

This comment updates automatically when a new frontend build artifact is uploaded.

@IEvangelist
David Pine (IEvangelist) merged commit 5476ba6 into release/13.5 Aug 7, 2026
10 checks passed
@IEvangelist
David Pine (IEvangelist) deleted the docs/aspire-hosting-dotnet-18442-5ac1c9fe76c4077b branch August 7, 2026 05:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs-from-code Copilot initiated issue from dotnet/aspire repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants