如何更改本地 Service Fabric 默认启动 URL? [英] How to change local Service Fabric default launch url?

查看:19
本文介绍了如何更改本地 Service Fabric 默认启动 URL?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用 Visual Studio 2017 在服务结构本地集群中创建了一个无状态服务.它带有一个预定义的随机端口 8462.

我将 ServiceManifest.xml 中的端口更改为另一个,但每次启动项目时它都会转到旧端口,我可以在输出中看到Launching the browser with 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

解决方案

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

这篇关于如何更改本地 Service Fabric 默认启动 URL?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆