I have been working on a project in .NET 8, using the Blazor Web App template with Server rendering. Up until now, my project has been working flawlessly. However, after launching my project today, I cannot access anything in my wwwroot folder. Nothing changed between when it worked perfectly last night and this morning.
How can I further troubleshoot this issue and restore access to items in my wwwroot folder? I have other .NET 8 Blazor projects with the exact same setup that are still functioning correctly. I am not sure where this issue came from. Thank you for any insight.
This issue was I had a page url with only variables. For example, I had @page "/{Var1}/{Var2}"
as one of the page url options. Although this worked at first, upon restarting my laptop, I began having this issue until the line was removed.