web developer tips (63): 在web应用项目指定vs开发服务器端口

原文地址:How to specify a fixed port for Visual Studio Development Server while using WAPs?

web developer tips (21)讲述在网站项目中为 Visual Studio 开发服务器 (Development Server) 设置固定的端口。本tips将讲述如何为web应用项目配置固定的发布端口(port )。

http://www.watch-life.net/visual-studio/specify-a-fixed-port-for-visual-studio-development-server.html

1、打开web应用项目的属性页。右键单击web应用项目,在上下文菜单选择“属性”,打开属性页
PropertiesWAP
2、在属性页选择“web”标签
3、在服务器选项里,选中“使用Visual Studio 开发服务器 ”项,选中“特定端口”并输入你想运行的端口
WAP_PropertiesPage

4、用浏览器查看页面,你将看到Visual studio 已经为开发服务器分配了你指定的端口
SpecificPort



微信扫描下方的二维码阅读本文

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注