No frameworks or assets in ASP.NET MVC application's wwwroot folder loading when deployed

Viewed 13

I don't post on here often but today I'm running into a bit of an issue with an ASP.NET 6.0 MVC application I am attempting to deploy to an AWS EC2 instance. I finally got it all deployed but now all the bootstrap styling, jquery, assets, etc. are not working. It gives a pretty blank page with no styling and when I inspect the pay it says I'm receiving a 404 error when it tries to load all of the frameworks and other resources in my wwwroot folder of my project.

When I test my web application on my local machine it works flawlessly. It's only once I deployed that this error showed up. Here is a photo of the errors I'm talking about, and I can also provide a link to the instance if you wish to check that out too.

I have never run into this issue in the past when I've deployed my web applications so any help would be greatly appreciated. I've been searching google and trying to find an answer since yesterday to no avail. Thank you!

screenshot of index page and errors

0 Answers
Related