I've been assigned to migrate an application from MVC into ASP.net Core, I'm new to ASP.net Core. In MVC we have BundleConfig.cs
and in there we add references to our css and js files, how does it work in ASP.net Core? Let's say that I created a test.js
and a MyStyle.css
class, which is the best way to add references to it in every view? Should I place the .js
and .css
files inside wwwroot/js
and wwwroot/css
?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…