I have files in my wwwroot folder like so
But still im getting 404 error since the css files are not being served, Even if I try to access it thru localhost:
The file is still 404 and not found. I already called app.UseStaticFiles(); in Program.cs and I can see
The files are in the build directory.
This is weird as I assume all files in wwwroot folder should be served to public. What else should I check and what am I doing wrong?
EDIT: I think i know the cause, it does not serve static files without extension, any idea on how to serve files without extension?
EDIT: found the answer, i need to set ServeUnknownFileTypes to true in app.UseStaticFiles()