© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
2 replies
JShobbyist

❔ How to fix the issue with the referencing static files in ASP.NET core

I am new to here. Is there anyone can help me with this?
I am having a problem with referencing static css files in Index.cshtml file.
got an 404 error. Here's the link to my post on stackoverflow.
https://stackoverflow.com/q/74834232/14912225
Pls help me.
Stack Overflow
How to fix the issue with the referencing static files in ASP.NET core
I am having an issue with ASP.NET core. In the Index.cshtml, there are some codes, which include CSS static files:
...
<link href="~/css/features.css" rel="stylesheet">
&l...
How to fix the issue with the referencing static files in ASP.NET core
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Static files asp.net
C#CC# / help
3y ago
Issue with AddUserStore in asp.net core
C#CC# / help
3y ago
Routing issue with ASP.Net Core
C#CC# / help
4y ago
❔ ASP.NET to .net Core
C#CC# / help
3y ago