<cite>alper: </cite> When you check the Logs of host what you see? write the exception thrown by server
Got the Solution.. If you keep keys with comment in appconfig.js as well as appsettings.json you get this error
Something like this :
appsettings.json:
// "ServerRootAddress": "http://localhost:22742",
// "ClientRootAddress": "http://localhost:4200",
appconfig.js
// "remoteServiceBaseUrl": "http://localhost:22742",
// "appBaseUrl": "http://localhost:4200",
Weird but worked for me
<cite>alper: </cite> your assets/appconfig.js looks like wrong! you cannot set the appBaseUrl port with the same port as host port.
correct one (assets/appconfig.js)
{ "remoteServiceBaseUrl": "http://localhost:22742", "appBaseUrl": "http://localhost:4200", "localeMappings": [ { "from": "pt-BR", "to": "pt" }, { "from": "zh-CN", "to": "zh" } ] }
Yes, Right. But I am using Single Project for Both angular and asp.net zero.
to achieve with different URL's I would have to start npm explicitly. Reply