Francesco Cristallo
Francesco Cristallo

Reputation: 3064

How to change local Service Fabric default launch url?

I created a stateless service in service fabric local cluster with Visual studio 2017. It came with a predefined random port 8462.

I changed the port in the ServiceManifest.xml to another, but every time I launch the project it goes to the old port, I can see in the Output "Launching the browser with URL http://localhost:8462/ to open the application." and I have to change it manually.

Ho I change the default launch url? in the project properties there is no option.

Thanks

Upvotes: 9

Views: 3495

Answers (1)

Peter Bons
Peter Bons

Reputation: 29780

Right click the Service Fabric Application project (so, not the project of a service) and select "properties". You can modify it there:

Setting launch url

Upvotes: 20

Related Questions