Getting error in service fabric "The application URL is not set or is not an HTTP/HTTPS URL so the browser will not be opened to the application"

Talha Abdul Muqsit picture Talha Abdul Muqsit · Dec 6, 2016 · Viewed 8.2k times · Source

When trying to run my service in service fabric cluster, the Output window says

"The application URL is not set or is not an HTTP/HTTPS URL so the browser will not be opened to the application".

Am I missing a configuration step?

Answer

MickyD picture MickyD · Dec 8, 2016

You just need to enter a URL into the Application URL field.

To do so:

  1. Click your Service Fabric Application project
  2. In the Properties window, click Application URL
  3. Specify a value, for Debug builds this will be http://localhost:19080/Explorer (the default for ASF Explorer)

enter image description here

Click Debug.Start Debugging; after a while the ASF Explorer will appear.

enter image description here