✅ CSS and JS Files Not Recognized in ASP.NET Core Project
Hi, I'm new to ASP.NET Core development. I'm trying to link my HTML layout to my ASP.NET project, but the CSS and js files don't seem to be recognized, even though I've placed them in global files. Does anyone have any advice on how to fix this?
16 Replies
Could you share your file path and the code that you import them.
Unknown User•3mo ago
Message Not Public
Sign In & Join Server To View
Unknown User•3mo ago
Message Not Public
Sign In & Join Server To View
agree with him
you should have learnt about it
@TeBeCo hey also want to mention that i am considering your suggestion and downloading duckduckgo
Unknown User•3mo ago
Message Not Public
Sign In & Join Server To View
i didn't even notice this folder
Unknown User•3mo ago
Message Not Public
Sign In & Join Server To View
ooh right thank youu
yes
Unknown User•3mo ago
Message Not Public
Sign In & Join Server To View
maybe this might help
https://learn.microsoft.com/en-us/aspnet/core/fundamentals/static-files?view=aspnetcore-8.0
Static files in ASP.NET Core
Learn how to serve and secure static files and configure static file hosting middleware behaviors in an ASP.NET Core web app.
Unknown User•3mo ago
Message Not Public
Sign In & Join Server To View
If you have no further questions, please use /close to mark the forum thread as answered
thank you!
that’s exactly what I needed