One of my ASP.NET core project .cshtml files that is under the Views folder but in another folder besides the Home folder when running the application is white or blank. I then rerun the page and the I get a 404 error. This issue started after I figured out how to get the localhost to be added to a serviceWorker js file and a appsetting JSON file so that the application can be ran offline. I have been searching for a fix online but I have not come across a fix. Please help.
I can show my code if requested.