Re: Copy Web site vs Publish Website vs Web Deployment Project



Thanks!
"gerry" <germ@xxxxxxxxxxxxxxxx> wrote in message
news:u8y$ZPTsIHA.524@xxxxxxxxxxxxxxxxxxxxxxx
the only people who would have access to the 'code' of your website would
be people who have access to login to the server and permissions to access
those files - unless your IIS configuration is messed up.

The way we do it is, use a WDP to compile a web site - usually
pre-compiled , non-updateable - to a local deployment folder , customizing
the result as necessary.
Then we have a second solution that includes the local deployment folder
as a web site.
From there we use CopyWebSite to actually deploy to the final
destination - CopyWebSite allows you to pick and choose what gets copied
and what doesn't.
We never use Publish WebSite site - which imo is only useful for a 1st
time publish and useless for updates due to its destructive all-or-nothing
nature.

We use this same type of scenario for non-web app updates as well - use
build actions to copy appropriate files to a deployment folder after
build.
Open the deployment folder as a website and use CopyWebSite to update
existing installations.

Gerry





"Cirene" <cirene@xxxxxxxxxxx> wrote in message
news:u$M$WySsIHA.4376@xxxxxxxxxxxxxxxxxxxxxxx
If i just do a simple Copy Website will this pose a security risk, such
as people being able to see my code in the vb files?

"Cirene" <cirene@xxxxxxxxxxx> wrote in message
news:er232COsIHA.4876@xxxxxxxxxxxxxxxxxxxxxxx
When would I use "Copy Web site" over "Publish Website" or visa versa?
Why would I use the Web Deployment Project vs these options?

I want to make sure no one can pull up/read/download my vb source code
(in .vb files).

I would prefer easy update of the site (code or aspx.)

Thanks.







.



Relevant Pages

  • Re: Copy Web site vs Publish Website vs Web Deployment Project
    ... The way we do it is, use a WDP to compile a web site - usually pre-compiled ... Then we have a second solution that includes the local deployment folder as ... We never use Publish WebSite site - which imo is only useful for a 1st time ... We use this same type of scenario for non-web app updates as well - use ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Name / password problem
    ... The issue only occurs on the certain Web site. ... If you still suspect that updates cause this issue, ... >> 1) Open Internet Explorer ... >> General tab ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: STOP 0x0000007E Error on installing Service Pack 2
    ... I've had a look at that web site ... >> SP 1 with all critical updates applied. ... >> ATI All In Wonder 9800 Graphics Card ... >> 2) Boot into Safe mode works ...
    (microsoft.public.windowsxp.general)
  • Re: Lost Word files?
    ... Word MVP web site http://word.mvps.org ... it tells me when updates are available. ... Once I've been notified that they're ready to install, ...
    (microsoft.public.word.newusers)
  • Re: Lost Word files?
    ... Word MVP web site http://word.mvps.org ... it tells me when updates are available. ... Once I've been notified that they're ready to install, ...
    (microsoft.public.word.newusers)