[docs] Add Blazor hosting integration docs and Dockerfile factory API#1061
Draft
aspire-repo-bot[bot] wants to merge 1 commit into
Draft
[docs] Add Blazor hosting integration docs and Dockerfile factory API#1061aspire-repo-bot[bot] wants to merge 1 commit into
aspire-repo-bot[bot] wants to merge 1 commit into
Conversation
Document the newly polyglot-exported APIs from microsoft/aspire#17420: - Add Blazor hosting integration page (integrations/dotnet/blazor-hosting.mdx) covering AddBlazorGateway, WithBlazorClientApp, and AddBlazorWasmProject with C# and TypeScript code examples - Update app-host/withdockerfile.mdx to add a 'Generate a Dockerfile with a factory function' section covering AddDockerfileFactory / WithDockerfileFactory with C# and TypeScript examples - Add Blazor hosting entry to the integrations sidebar Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
14 tasks
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
This draft PR documents the new polyglot (TypeScript, Go, Java, Python) AppHost APIs introduced in microsoft/aspire#17420:
New page:
integrations/dotnet/blazor-hosting— Documents the Blazor WebAssembly hosting integration for .NET Aspire, coveringAddBlazorWasmProject,AddBlazorGateway, andWithBlazorClientAppAPIs with C# and TypeScript examples.Updated page:
app-host/withdockerfile— Adds a new "Generate a Dockerfile with a factory function" section documentingAddDockerfileFactoryandWithDockerfileFactoryAPIs with C# and TypeScript examples.Sidebar update: Adds a "Blazor hosting" entry to the .NET integrations section of the sidebar.
Source PR
This is a documentation draft for microsoft/aspire#17420 ("Expose Blazor gateway and Dockerfile factory APIs to ATS").
The source PR exposes the following APIs to polyglot (TypeScript/Go/Java/Python) AppHosts for the first time:
AddBlazorWasmProject/AddBlazorGateway/WithBlazorClientApp— Blazor WebAssembly hosting integrationAddDockerfileFactory/WithDockerfileFactory— Dockerfile generation via factory functionThese were previously only available to C# AppHosts.
Triggered signals
pr_body_has_cli_flag_mention: The PR body mentions flags liketsc --noEmitin build validation steps. This is a false positive — the actual user-facing change is the new polyglot API surface documented here.Target branch
Targeting
release/13.4(resolved from milestone "13.4" on the source PR, exact match on aspire.dev).cc
@mitchdenny