Base solution for your next web application

Activities of "indriya"

<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

I am trying to add a new menu in AppNavigationService.ts but it is not reflecting when I run solution.

Something Like this in Admin Menu

new AppMenuItem('NewMenu', null, 'flaticon-settings', '/app/admin/NewMenu') new AppMenuItem('NewMenu', '', 'flaticon-settings', '/app/admin/NewMenu')

I Even tried Creating new Menu Group

new AppMenuItem('CustomMenu', '', 'flaticon-interface-8', '', [ new AppMenuItem('NewMenu', '', 'flaticon-map', '/app/admin/NewMenu') ]);

I tried both, but failed, am I missing something?

<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

I am working on Angular and Asp.net Zero Single Solution. I am getting an error when I run project: An Error Has Occurred (Error detail not sent by server). Not able to find the root cause of an error.

Both Url's are

appsettings.json "ServerRootAddress": "http://localhost:22742", "ClientRootAddress": "http://localhost:22742",

assets/appconfig.js "remoteServiceBaseUrl": "http://localhost:22742", "appBaseUrl": "http://localhost:22742",

I am trying to deploy single solution(Angular + ASP.Net Zero) on Azure

I am not sure about URL's to specify in appsettings.json and appconfig.js(assets)

Please can anyone help me out with URL's for ServerRootAddress, ClientRootAddress, remoteServiceBaseUrl, appBaseURL respectively

Showing 1 to 5 of 5 entries