How to publish asp.net project by Visual Web developer 2008 by...

Expand / Collapse
 
     

How to publish asp.net project by Visual Web developer 2008 by ftp/http


You can publish your asp.net project by either ftp or http. This article will show you how to publish your asp.net project to web server using visual web developer express edition. If your web application is a Web Site rather than Project in visual web developer, you may refer to this article for publishing.


For http,
1. You will have to log in hosting control panel > site admin > install Frontpage extension to the domain/subdomain IIS entry.
2. Open Visual Web developer > Open your project > Click on "Build" on the top panel > Click on "Publish Webapplication"
3. Input the url, for example, http://webapp1.domain.com
4. Select "Only files need to run the application". If you select "all project files", it will include everything inside your project folder, which will take much longer time to publish.
5. You will see a log in prompt. Please input username and password to be the same as your control panel log in credential. It will start publishing if you have installed Frontpage Extension properly in steps 1. If it is failed, you are suggested to recalculate or reinstall Frontpage extension under hosting control panel > site admin > Frontpage
6. After publish complete, the output panel on the bottom of your visual web developer will show you successful result.

For ftp,

1. Open Visual Web developer > Open your project > Click on "Build" on the top panel > Click on "Publish Webapplication"
2. Input the ftp host, for example, ftp://webapp1.domain.com or if your site doesn't resolve to your web server IP, you will have to input ftp host with your server IP, for example, ftp://10.10.10.1.
3. Select "Only files need to run the application". If you select "all project files", it will include everything inside your project folder, which will take much longer time to publish.
4. You will see a log in prompt. Please input your ftp account as the log in credential. Please make sure you are publishing to the right path because this will overwrite the existing files in the publish folder. Let's say if you would like to publish to site webapp1.domain.com which mapped to physical path D:\hosting\member\memberA\site1, if you are using a ftp account which root path mapped to physical path D:\hosting\memebr\memberA, in step 2, you will have to input the ftp host as ftp://webapp1.domain.com/site1. Otherwise, it will publish to wrong path and overwrite the existing files.
5. After publish complete, the output panel on the bottom of your visual web developer will show you successful result.






Add Your Comments


Name: *
Email Address:
Web Address:
Verification Code:
*
 

Details
Last Modified:8/12/2009 12:59 AM
Last Modified By: Mark
Type: How to do this?
Article not rated yet.
Article has been viewed 935 times.
Options