Getting an error in the service structure "The application URL is not set or is not an HTTP / HTTPS URL, so the browser will not be open for the application"

When I try to start my service in a cluster of service structures in the "Output" window

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

Am I skipping the setup step?

+11
source share
3 answers

You just need to enter the URL in the URL field of the application .

For this:

  • Select Application Fabric Application Project
  • In the Properties window, click the application URL
  • Specify a value for Debugging , this will be http: // localhost: 19080 / Explorer (default for ASF Explorer)

enter image description here

Click Debug Debug.Start ; After a while, ASF Explorer will appear.

enter image description here

+14
source

This is a message from VS that the properties of the SF application project do not have the value "Application URL". Nothing to worry about.

Configuring this launch will launch a browser on this Url when starting the debugger with F5.

+2
source

When 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. 

It's not a mistake. It just tells you that it will not automatically open a browser window.


You can see how your application works in the browser:

1) Go to the address http: // localhost: 19080 / (if you have not changed the port) or

2) Add the URL to the project properties

  • In Solution Explorer, right-click the project (in this case, the vote) with a cluster icon to open the property pages.

Solution explorer

Property Pages

  • Then restart your project.

  • Now the browser window will open automatically and you will not see The application URL is not set... in the output window. You will see Launching the browser with URL http://localhost:19080/to open the application. instead in the output window.

0
source

Source: https://habr.com/ru/post/1260878/


All Articles