-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Open
Labels
area-blazorIncludes: Blazor, Razor ComponentsIncludes: Blazor, Razor Components
Description
Is there an existing issue for this?
- I have searched the existing issues
Describe the bug
When trying to contribute to Wiremock.net I've noticed when the web-project that's part of their Aspire examples is run within the context of Aspire, blazor fails due to requests for blazor.web.js failing with 404 (from kestrel). When the project is run standalone it all works fine.
Expected Behavior
Blazor should work.
Steps To Reproduce
- Clone https://github.com/petrroll/WireMock.Net/tree/petrhouska/update-aspire
- Run (using aspire cli)
aspire run ./examples-Aspire/AspireApp1.AppHost/AspireApp1.AppHost.csproj - Open the webfrontend portal
- Observe 404 error for
blazor.web.js(and generally broken blazor experience on /weather
Weirdly enough, if you run the webfrontend project separately, it all works fine.
Exceptions (if any)
GET https://localhost:7263/_framework/blazor.web.js net::ERR_ABORTED 404 (Not Found)
Responder is Kestrel, so there's no caching shenanigans
.NET Version
10.0.101
Anything else?
aspire --version
13.1.0+8a4db1775c3fbae1c602022b636299cb04971fde
Metadata
Metadata
Assignees
Labels
area-blazorIncludes: Blazor, Razor ComponentsIncludes: Blazor, Razor Components