Closed
Description
The new "static content from libraries and projects" feature works great if you have a app.UseStaticFiles()
call in your Startup.cs
. However:
- The Blazor DevServer (for the standalone template) doesn't contain such a call, and developers have no way to add one. So static content just doesn't work with this project type.
- The Blazor hosted-on-ASP.NET-Core template also doesn't contain such a call, although developers can easily add one to their
Startup.cs
.
Both fixes could be trivial one-liners.
Better fix: Also delete the now-obsolete embedded content feature from Blazor, and update the E2E tests to use the new feature.