One day I have been working on a project using ASP.NET Core. I have experienced a problem serving static files such as index.html in ASP.NET Core. Basically, I thought that ASP.NET core package included handling and configuring static files.
Finally, I ended up installing a separate package Microsoft.AspNetCore.StaticFiles to get it worked.
Hope you enjoy this post.
Happy coding :)