Re: Updating a Web-Site

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



So, basically, for a Web Site project, it is all or nothing?

Despite what it is 'supposed' to do, it does NOT copy all files.
I am using FCK HTML editor (http://www.fckeditor.net/) in my project. It
has many support files and folders of various types.
VS DOES NOT copy all the files/folders, just some.

What if I switch to a Web Application?
If I just change some code in the app, can I then 'build' the project to
generate the dll and then just copy that to the web server like with VS 2003
..NET 1.1?

--

AG
Email: discuss at adhdata dot com



"Steven Cheng[MSFT]" <stcheng@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:tlfrZVikHHA.1144@xxxxxxxxxxxxxxxxxxxxxxxxx
Thanks for your reply AG,

For http based publish, I have also tested it on my side, it seems both
file system or http web based(target directory) can work well, all the
files in the application folder( static files and asp.net specific files )
can be be copied to the target location. I mentioned the "File system"
publish means suggest you try using file system to publish the website to
see whether all the content can be copied correctly, you can also try
publishing to a local (intranet) IIS server, this can help verify whether
the problem is specific to your publish web hoster.

In addition, for updating precompiled assemblies, so far there is no
direct
means that can only updated the assemblies(when publishing site). Publish
site will always copy all the contents(necessary), there is no smaller
granularity to control which items to copy(which not). The ASP.NET 2.0/VS
2005 precompilation currently only provide some options to let us control
how to precompile the ASP.NET application(such as precompile the
application into a single assembly or multiple assemblies or naming the
assemblies ....), you can refer to the "Web Deployment Projejct" for more
information.

I think the following approach you used now is the reasonable one. You can
first publish the web site to a local location file system) and upload it
to target host site through FTP approach.

=======================
As a temporary solution, I am publishing to another local machine and then
copying the 'new' site files to the web server via ftp.
That way the files that VS wants to delete are not deleted from the web
server.
============

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


This posting is provided "AS IS" with no warranties, and confers no
rights.



.



Relevant Pages

  • Re: Updating a Web-Site
    ... file system or http web basedcan work well, ... In addition, for updating precompiled assemblies, so far there is no direct ... how to precompile the ASP.NET application(such as precompile the ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Auto-updating GAC; loading from GAC vs. server
    ... Web server ... The assemblies I'm talking about are form DLLs for the most part. ... When you're saying "Auto-updating GAC", ... Microsoft Online Community Support ...
    (microsoft.public.dotnet.general)
  • RE: Why is page display so slow from precompiled site?
    ... when you first run a .net app, ... appdomain to run the .net code in. ... "Use fixed naming and single page assemblies" IS ... In the web.config of the development machine where I precompile the site I ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Why is page display so slow from precompiled site?
    ... when you first run a .net app, ... "Use fixed naming and single page assemblies" IS ... In the web.config of the development machine where I precompile the site ... The page runs 2 simple SQL queries to display all the managed properties ...
    (microsoft.public.dotnet.framework.aspnet)
  • file/print/web server
    ... I decided that I will use part of that drive as a backup for my laptop and portable USB hard drives. ... Since Xubuntu is working so well on the machine, I thought it would be interesting to set up a web site, perhaps with something similar to a MoinMoin wiki in it. ... I am thinking of running the web server in a VM. ... I am wondering if someone 'owns' a VM, can they get access to files that are in the file system on the server that is hosting the VM? ...
    (Ubuntu)