Setting static port number on Visual Studio Dev Server with a WebSite project?

To specify a port for the ASP. NET Development Server WebSite / WebServices projects In Solution Explorer, click the name of the application In the Properties pane, click the down-arrow beside Use dynamic ports and select False from the dropdown list. This will enable editing of the Port number property In the Properties pane, click the text box beside Port number and type in a port number.

Click outside of the Properties pane. This saves the property settings Each time you run a file-system Web site within Visual Web Developer, the ASP. NET Development Server will listen on the specified port.

To specify a port for the ASP. NET Development Server - WebSite / WebServices projects In Solution Explorer, click the name of the application. In the Properties pane, click the down-arrow beside Use dynamic ports and select False from the dropdown list.

This will enable editing of the Port number property. In the Properties pane, click the text box beside Port number and type in a port number. Click outside of the Properties pane.

This saves the property settings. Each time you run a file-system Web site within Visual Web Developer, the ASP. NET Development Server will listen on the specified port.

Cleverly hidden in plain sight... – Alex Czarto Jul 15 '09 at 19:01 +1 superb, been bugging me for months this. I would recommend hitting F4 to get to the properties! – Rippo Dec 30 '10 at 12:37.

Press F4 to get the Properties Pane. And then one can get the option mentioned by Backslash17.

It can't be done with a Website project, the port number is randomly assigned. It's only possible with a Web App Project.

1 I stand corrected. The solution from backslash17 works – dxbmatt Jul 14 '09 at 16:33.

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: taslimi.ir/post/Assign-a-static-port-to-....

Actually, Backslash17's answer worked perfectly for my website project. – Alex Czarto Dec 16 '09 at 14:13.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions