Update to reflect ASP.NET Core and wwwroot
See original GitHub issueThe current Quick-Start structure is geared toward ASP.NET 4.x projects.
With the release of ASP.NET Core all static files are hosted in wwwroot
, however packages obtained via NPM are in a sibling node_modules
, which cannot be accessed from files in wwwroot
.
Ideally, the necessary files could be obtained via Bower, which creates a copy of files in wwwroot/lib
. At the minimum, there should be additional capabilities to copy the files obtained from NPM to wwwroot/lib
, or it should be clearly stated in the documentation.
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Identity project updated to Asp.Net Core 3 gives wwwroot ...
I just upgraded it to asp.net core 3.1 and when I publish using release build I see a wwwroot folder containing css,js and...
Read more >dotnet run not updating changed files in wwwroot to bin\ ...
Steps to reproduce ASP.Net Core RC2 App with below project.json. use dotnet restore and then dotnet run. Check wwwroot under bin folder, ...
Read more >Static files in ASP.NET Core
Learn how to serve and secure static files and configure static file hosting middleware behaviors in an ASP.NET Core web app.
Read more >ASP.NET Core - wwwroot Folder
Learn about wwwroot folder in ASP.NET Core application. By default, the wwwroot folder in the ASP.NET Core project is treated as a web...
Read more >Part 14- wwwRoot folder and static Files in asp.net core
Transcript · Part 15- Developer exception page in asp. net core | asp. net core tutorial for beginners · (#20) Static files (Img,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You should not reference to
node_modules
folders directly. Use webpack to deploy the app.Done. See here: https://github.com/angular/angular.io/issues/1752
Thanks for the guidance.