Tuesday, April 9, 2013

How to Publish Website in ASP.Net 4.0

Leave a Comment

This article discus the steps of publishing website in Visual Studio 2010(asp.net 4.0). We are assuming that you already created your web application project and ready to upload it on the Window server. In this example we have taken sample web project shown in the diagram:
If you want to publish website in visual studio 2012 go to this article:Publish website in Visual studio 2012.

publish website in asp.net 4.0
Step 1: Open the solution explorer (Hot keys Ctrl + Alt + L) , Solution explorer will open as above figure.

Step 2: Right click on the  presentation layer .

Step 3: Then property window will open of the solutions explorer as given below in the figure.

Publish website in asp.net 4.0

Step 4: Click on the publish property of property window.

Step 5: Publish web window will open as shown in the picture below:

publish web window

Step 6:  In Publish Web window there are publish methods listed in drop down.

Step 7:  Then you can choose your nearest selection and then click on publish button. If you want to publish website on local system then select File System method and then choose the location where to publish the website. Then click on Publish button.

Step 8:  Now you have successfully published your website.


Post a Comment