Wednesday, November 20, 2013

How to Publish ASP.Net Website on FTP Server

Leave a Comment
In the website created using 3 tier architecture can be uploaded on FTP server without uploading the code behind file. In that case only .dll and design page need to be uploaded. For this the code need to be published . You can publish the website using these steps and then upload the published website on FTP.
The following steps are valid with visual studio 2008,2010 and 2012

Steps to Publish Code In Using Visual Studio:

Step 1: Right click on the Presentation Layer of website and then click on Publish option as shown in the diagram below:

Step 2: In the Publish Web window select File System as Publish Method as shown in the picture below:

Step 3: Select the Target Location on you computer where you  want to Publish the website and then click on Publish Button as shown in the picture below:

Step 4: The publish process will start wait until Pulish Succeeded message is not displayed in the output window of Visual studio .

Finally  open the folder where the code is published . Upload all the files from that folder on FTP server.


Post a Comment