开发者

Silverlight port

开发者 https://www.devze.com 2023-01-21 07:15 出处:网络
When i run silverlight 4 application with the developer server, it seems to use a default port as localhost port 1091.How do i开发者_如何转开发 change to a different port?You can set this in the web p

When i run silverlight 4 application with the developer server, it seems to use a default port as localhost port 1091. How do i开发者_如何转开发 change to a different port?


You can set this in the web project settings.

Right click over the project to bring up the settings. Go to the Web tab and there under "Servers" is an option to either Auto-assign the port or set a specific port. Select "Specific port" and enter the value you want.

In VS2008:

Silverlight port

In VS2010 the tabs have been reordered:

Silverlight port

but all the actual settings are the same


In the properties window on the website, there is an option to assign it as dynamic or choose a fixed port called "Use dynamic port", set this to false and then choose your port number.

Or take a look here:

How to: Specify a Port for the ASP.NET Development Server

0

精彩评论

暂无评论...
验证码 换一张
取 消