This repository was archived by the owner on Apr 8, 2020. It is now read-only.
This repository was archived by the owner on Apr 8, 2020. It is now read-only.
Can't get data from server when publish to IIS #425
Closed
Description
Hi,
I've faced with the folllowing problem. I created application in accordance with the following guide http://blog.stevensanderson.com/2016/10/04/angular2-template-for-visual-studio/
I don't do any modifications, just work with template. When application is run from Visual Studio all pages are opened successfully. But when application is published on IIS, then "Fetch data" page is loaded with error in console that the route localhost/api/fetchdata/WeatherForecast can't be found.
I have published application from Visual Studio with File System publish method.
Does anyone know how to solve this problem?
Metadata
Metadata
Assignees
Labels
No labels