Post

Setting Static Port for a web project in Visual Studio

In .NET on September 11, 2007 by editor

Problem:

When adding a reference to a web project using Cassini server, its a problem if each time it launches the browser in a new port.

Solution:

Hit the f4 key when mousing over the web project. Change the setting set dynamic ports to false and pick a port number

You are done. Every time you say start with debugging the server will launch the URL on the same port

Powered by ScribeFire.


Leave a Reply

You must be logged in to post a comment.