I have a WebSite project in Visual Studio 2008 (not a Web Application project!)
How do I set the ASP.NET Development startup port to a static port in a WebSite project?
I have a WebSite project in Visual Studio 2008 (not a Web Application project!)
How do I set the ASP.NET Development startup port to a static port in a WebSite project?
It can't be done with a Website project, the port number is randomly assigned.
It's only possible with a Web App Project
To specify a port for the ASP.NET Development Server - WebSite / WebServices projects
this post should answer your question. what Backslash17 has mentioned is for asp.net web application. if you need a solution for asp.net web site check the link: http://www.taslimi.ir/post/Assign-a-static-port-to-Aspnet-Website.aspx
Press F4 to get the Properties Pane. And then one can get the option mentioned by Backslash17