I followed the Angular2 VS setup from this page-
https://angular.io/docs/ts/latest/cookbook/visual-studio-2015.html
The issue is that http://localhost:56428/
gives a 403 (forbidden) error, and the only way to access my index is to navigate to http://localhost:56428/src/index.html
.
This is not ideal, and doesn't even work because requests to system.js
and other files on this page go straight to the web root.
I'm not sure if I missed a step here but I don't think this is what they intended. How do I make src/
servable at /
?
ANSWER FOUND AT
.net web application change root directory
I don't know why the angular site does not mention that.