I am trying to create an ASP.net Core 2.0 web application; I have placed the static files in a folder called Content.
I am giving the following path:
<link href="@Url.Content("../Content/css/style.css")" rel="stylesheet">
I am getting a 404 - not found error when loading the view. However the GET request path is correct and the file exists in the same path. This is the path to which the GET request is being done:
http://localhost:49933/Content/css/style.css
I found solutions that requires me to change settings in web.config file, But .Net Core 2.0 does not have one. I have used MVC. Isn't web.config file very important for IIS?