views:

152

answers:

1

I'm not sure if this has been asked before, I tried searching.

Anyhow, is it possible to update a publised site without the need to do a full publish.

Say for example you fixed a bug in one single file, is this possible?

any work arounds, advice etc?

+1  A: 

Assuming V2+ of the .Net framework :

If you're publishing a website you can just upload the files that you changed, via FTP say as long as the site was published with 'Allow this precompiled site to be updatable' when you did the publish (or in the property pages of the website in VS2008).

This isn't quite the case with web applications, which will need you to deploy any changed assemblies again. Your aspx and ascx files, however can be reuploaded, obviously its best not to do this incase you break something without realising.

Lewis
Its a web application, sadly...
Darknight
This shouldnt be too much of a problem though. Are the changes to the aspx files or within the code(behind) itself?
Lewis
changes to the code
Darknight
Its likely that your web app is built as a single assembly. You may well be able to just deploy this single assembly, bit of a risk though. If you have the access you could try copying the site files, point a news IIS site at it and then deploy the web app assembly to to the bin folder of the app and see if it works!
Lewis