Re: Publishing my Web Site



How many files do you want to exclude? Just the DB and web.config?

I also have a folder that I keep my notes and some working graphics files.

Gotcha. Just delete the folder after the "local publish".

Am I the only one who needs a different web.config file on my site from the one on my development machine? I seriously doubt it but MS seems to assume I am.

What, specifically, is different? For me, it's only connection strings, which I modify manually after the "publish" to a local folder.

There's a few things (some error settings, for example). Does this mean you have to recreate the settings after every time you publish your site?

Well, yes and no. I tend to not change my web.config very often so many times I simply exclude it from the zip file that I upload to the web host. Since I don't delete existing files first, the new files simply overwrite the existing ones and the existing web.config remains in-tact. On bigger changes (where you *do* want to delete existing files) or if you have added settings to your web.config then yes, you have to modify web.config after the "local publish".

If all of this "modify after you publish locally" stuff is too cumbersome, you might consider the add-in recommended by Mark. It appears to have been developed specifically to address the short-comings of the built-in "publish" command.

.



Relevant Pages

  • Re: Changing default file location in Word 2003
    ... I do have permissions to modify the registry, ... settings are stored there. ... my default folder is still what I had before. ...
    (microsoft.public.word.pagelayout)
  • Re: Adjusting Explorer default folder display - how?
    ... what's forcing an expansion of the Documents and Settings folder?). ... Assuming there's no way to modify the behavior of Start->Explore, ...
    (microsoft.public.windowsxp.general)
  • V2: Settings.aspx and Web Part
    ... I am using Frontpage2003 to modify the settings.aspx (site ... settings) which is in the 1033 folder. ... web part command is disabled. ...
    (microsoft.public.sharepoint.portalserver)
  • Re: Why were changed dates of Windows, System32?
    ... you modify any of the files contained within that folder, ... doesn't prevent the folder date from being modified (i.e. being updated to ... Documents and Settings was not changed, ... dates of folder creation. ...
    (microsoft.public.windowsxp.general)
  • RE: Browser lost its memory
    ... and on the Folder Options Click on View Tab. ... Remember each folder's view settings. ... History settings for keeping the history is set say for 30 days (you can make ... Temorary Internet Files ...
    (microsoft.public.windows.inetexplorer.ie6.browser)