Monday, April 30, 2018

app.UseStaticFiles();

"ASP.NET Core 2 and Angular 5" by Valerio De Sanctis points out in Chapter 1 that if you comment out this line of Startup.cs in an ASP.NET Core web app that the application will be unable to serve up CSS or JS files and also static HTML files too.

No comments:

Post a Comment