-
Notifications
You must be signed in to change notification settings - Fork 25.1k
Closed
Description
This will likely be for 24Q1.
multiple client projects? How does each client project get correctly associated with the corresponding server part?
Via the call to AddAdditionalAssemblies in each different call to MapRazorComponents for each app (each one hosted within their own virtual directory prefix).
When you publish, will the multiple client projects potentially have overlapping paths?
No, provided that you've set up their static web assets base paths correctly.
UPDATE
Looks like this is in design for .NET 9 ....
- Support for multiple Blazor Web apps per server project aspnetcore#52216
- Compile time discovery of SSR pages/endpoints for Blazor aspnetcore#46980
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
- ID: 96763362-f8ba-0f11-0070-da8f9f533e21
- Version Independent ID: 96763362-f8ba-0f11-0070-da8f9f533e21
- Content: Multiple hosted ASP.NET Core Blazor WebAssembly apps
- Content Source: aspnetcore/blazor/host-and-deploy/multiple-hosted-webassembly.md
- Product: aspnet-core
- Technology: aspnetcore-blazor
- GitHub Login: @guardrex
- Microsoft Alias: riande