Monday, June 20, 2011

Change default Port of the ASP.NET Development Server

To specify a port for the ASP.NET Development Server - WebSite / WebServices project

1. In Solution Explorer, right click the name of the application.
2. In the Properties pane, click the down-arrow beside Use dynamic ports and select False from the dropdown list. It will enable editing of the Port number property.
3. In the Properties pane, click the text box beside Port number and type in a port number that you want.
4. Click outside of the Properties pane. This saves the property settings.





To specify a port for the ASP.NET Development Server - Web Application project

1. Right click the Project in the Solution Explorer -> select Properties
2. Click Web tab.
3. Check Specific port rather than Auto-assign Port.




2) Restart your system

Yeah in computer science restarting the system normally fix many issues :) . It is better to delete the temporary files by typing %temp% command in run before restarting the system.

3) Change the location of the folder

Change the location of the Folder contains all the files of your website, to some thing else. Load in project in visual studio or visual web developer whatever you have installed in your system and run the project again. and u have done it.

No comments:

Post a Comment