Set specific port for ASP.NET Development Server …

Just a quick tip … if you get tired of the ASP.NET Development Server (the HTTP Server formerly known as Cassini) deciding to start-up on whatever port it feels like using at the time, you can constrain that in the Properties of your Web Application.  This is particularly useful when your particular “Web Application” happens to be a service endpoint :)  In the Solution Explorer (CTRL+ALT+L), right click on the Web Application and go to Properties.  From there click on the Web tab.  Under Servers, change the radio button from “Auto-assign Port” to “Specific Port”.

image