-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Closed
Labels
Needs: Author FeedbackThe author of this issue needs to respond in order for us to continue investigating this issue.The author of this issue needs to respond in order for us to continue investigating this issue.Needs: ReproIndicates that the team needs a repro project to continue the investigation on this issueIndicates that the team needs a repro project to continue the investigation on this issueStatus: No Recent Activityarea-ui-renderingIncludes: MVC Views/Pages, Razor Views/PagesIncludes: MVC Views/Pages, Razor Views/Pagesfeature-static-files
Description
Is there an existing issue for this?
- I have searched the existing issues
Describe the bug
WithStaticAssets Is not working with MVC But does with Razor Pages, What I meant by that in Razer Page Views, static files are not using fingerprinted url but now with MVC Views.
app.MapRazorPages()
.WithStaticAssets();
app.MapControllerRoute(
name: "default",
pattern: "{controller=Article}/{action=Index}/{id?}")
.WithStaticAssets();
Am I doing something wrong, and for razor pages it didn't event importmap script tag
<script type="importmap"></script>
Thanks in advance.
Expected Behavior
No response
Steps To Reproduce
No response
Exceptions (if any)
No response
.NET Version
No response
Anything else?
No response
Metadata
Metadata
Assignees
Labels
Needs: Author FeedbackThe author of this issue needs to respond in order for us to continue investigating this issue.The author of this issue needs to respond in order for us to continue investigating this issue.Needs: ReproIndicates that the team needs a repro project to continue the investigation on this issueIndicates that the team needs a repro project to continue the investigation on this issueStatus: No Recent Activityarea-ui-renderingIncludes: MVC Views/Pages, Razor Views/PagesIncludes: MVC Views/Pages, Razor Views/Pagesfeature-static-files