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?
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?
You just need to enter a URL into the Application URL field.
To do so:
Click Debug.Start Debugging; after a while the ASF Explorer will appear.
It's a message from VS that in the project properties of the SF application, there's no 'Application URL' value specified. Nothing to worry about.
Setting this will launch a browser on that Url, when starting the debugger with F5.
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.
This is not an error. It's just telling you that it won't open a browser window automatically.
You can see your application running in the browser by
1) Navigating to http://localhost:19080/ (if you haven't changed the port) or
2) Add the URL to the Project Properties
- In Solution Explorer, right-click on the Project (Voting in this case) with the cluster icon to bring up the Property Pages.
- In Property Pages, add http://localhost:19080/ to the Application URL.
Then restart your project.
Now the browser window will open automatically and you won't see
The application URL is not set...
in the Output window. You'll seeLaunching the browser with URL http://localhost:19080/ to open the application.
in the Output window instead.