TonyLoco23
08-08-2011, 02:45 PM
I am pretty new to using Visual Studio to build websites. I am more accustomed to using Dreamweaver.
In Dreamweaver it is fairly easy to upload webpages to an external host using FTP, you can update the code on a page and in a matter of seconds save it and send it to the external host.
I am now using Visual Studio 2005 and making use of the code behind functionality (i.e. having the server side code in a seperate file), the ultimate goal is to compile the site so that none of the server side code will be visible. In the last website I used "Publish Website" from the build menu of VS2005, which compiles the site into a directory or FTP location of your choice. However that website consisted of just one page, the site I am working on now is much more complex with many pages and directories that will need to be updated quite frequently on an ongoing basis as more and more functioanlity is added to the site.
If I make a small change to a single page, I do not want to have to re-publish the entire website and upload all the files again. I really only want to re-compile and upload that single page. So how would I do that? I note that there is an option on the build menu called "build page" but this does not allow one to specify a directory/ftp location where the page will be compiled, when I click on it, it simply says "Build succeded" but I am not really sure what it did, where did it put the built webpage?
In Dreamweaver it is fairly easy to upload webpages to an external host using FTP, you can update the code on a page and in a matter of seconds save it and send it to the external host.
I am now using Visual Studio 2005 and making use of the code behind functionality (i.e. having the server side code in a seperate file), the ultimate goal is to compile the site so that none of the server side code will be visible. In the last website I used "Publish Website" from the build menu of VS2005, which compiles the site into a directory or FTP location of your choice. However that website consisted of just one page, the site I am working on now is much more complex with many pages and directories that will need to be updated quite frequently on an ongoing basis as more and more functioanlity is added to the site.
If I make a small change to a single page, I do not want to have to re-publish the entire website and upload all the files again. I really only want to re-compile and upload that single page. So how would I do that? I note that there is an option on the build menu called "build page" but this does not allow one to specify a directory/ftp location where the page will be compiled, when I click on it, it simply says "Build succeded" but I am not really sure what it did, where did it put the built webpage?