when i publish my project to host the css and boostrap codes not working in local host is working but in host not
css and js links
when i publish my project to host the css and boostrap codes not working in local host is working but in host not
css and js links
Usually when we encounter a 404
error, it is because the resource is not found.
1. Follow the steps like my picture to get the error path.
2. Try to find the file in your root path of webapp. If you can find it, try to access it by broswer.
3. If not, try to cpoy the file from project, and paste it under wwwroot path. After deployed, the structure of folder should like below.
4. If your file exist, you can access it. So you just need to modify your path in your code.
For more details, you can refer this post.