Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Which delimiter should be used configuring multiple urls for ASPNETCORE_URLS in VS?

I mean there:

enter image description here

I have tried space , comma, semicolon - each time getting this exception

System.InvalidOperationException: 'A path base can only 
be configured using IApplicationBuilder.UsePathBase().'

or

System.InvalidOperationException: 'Unrecognized scheme in 
server address ' http://localhost:60775/'. Only 'http://' is supported.'
like image 893
Roman Pokrovskij Avatar asked Nov 07 '18 01:11

Roman Pokrovskij


People also ask

What is application URL in launchSettings JSON?

If you look at the launchSettings. json file, then you will see that the FirstCoreWebApplication profile uses the “commandName”: “Project” value, and as well as please focus on the application URL as shown below. In my application the URL is http://localhost:5000 and the port number might be varying in your example.


1 Answers

It's a semicolon, but remove all spaces between items, e.g. after semicolon.

like image 109
Roman Pokrovskij Avatar answered Sep 30 '22 18:09

Roman Pokrovskij