-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Closed
Labels
✔️ Resolution: AnsweredResolved because the question asked by the original author has been answered.Resolved because the question asked by the original author has been answered.Status: Resolvedarea-minimalIncludes minimal APIs, endpoint filters, parameter binding, request delegate generator etcIncludes minimal APIs, endpoint filters, parameter binding, request delegate generator etcfeature-static-web-assetsquestion
Description
Is there an existing issue for this?
- I have searched the existing issues
Describe the bug
I am having issues using .MapStaticAssets()
with minimal apis that return RazorComponentResult<T>
. The static assets are being returned as they did with .UseStaticFiles()
, but all of the great features that are supposed to come with MapStaticAssets don't appear to be working as I expect.
Expected Behavior
I expect the cache busting and compression features to work. It appears that the ETag feature is working.
Steps To Reproduce
Here is a link to the GitHub repository where it has been reproduced.
Please just pull the app and run it and observe the networking tab.
Exceptions (if any)
No response
.NET Version
9.0.100
Anything else?
vxkc, mphelt, houstonhaynes, ChrisMissal, Lyddon7522 and 7 more
Metadata
Metadata
Assignees
Labels
✔️ Resolution: AnsweredResolved because the question asked by the original author has been answered.Resolved because the question asked by the original author has been answered.Status: Resolvedarea-minimalIncludes minimal APIs, endpoint filters, parameter binding, request delegate generator etcIncludes minimal APIs, endpoint filters, parameter binding, request delegate generator etcfeature-static-web-assetsquestion