question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Update to reflect ASP.NET Core and wwwroot

See original GitHub issue

The 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:closed
  • Created 7 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
VahidNcommented, Jun 22, 2016

You should not reference to node_modules folders directly. Use webpack to deploy the app.

0reactions
technoloGcommented, Jun 26, 2016

Done. See here: https://github.com/angular/angular.io/issues/1752

Thanks for the guidance.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found