I have a VS 2008 solution that includes a web site and a web service. I\'m developing both at once, and it\'s helpful to be able to debug from one into the other.
It occ
from here
By default, Cassini assigns a random port number to each website it hosts. This port number gets assigned the first time you start the site using the Visual Studio debugger, and then gets persisted for the life of the solution.
You can disable this behavior by selecting the project node for your Web Project in Solution Explorer and choosing View->Properties Window (Ctrl-W, P). Change “Use Dynamic Ports” to False and then specify a TCP port of your liking (best to keep this between 1000–5000, but it can technically be any unused TCP port).
This will give your Cassini-hosted site a deterministic port number, and make it easier to write Indigo clients that use services hosted on that site.