Re: Updating a Web-Site



Thanks for the reply Steven.

Yes, by deploy, I mean publish.
I understand what you are saying about updataing the aspx files, but what
about the code?
How do I update the published site if I make code changes? Where do I find
the 'precompiled' code files?

And what about the files that VS did not 'publish'? I had to manually copy
them. Then I found out that if I published the site again, VS deleted all
the files that I had manually copied.

Copy website is of little use because one can't sort on anything. For
instance, if I want to copy only the latest files, I can't sort on date to
pick them. Synchronize is not usefull because it would include code and
other files that are not needed on the published site.

--

AG
Email: discuss at adhdata dot com



"Steven Cheng[MSFT]" <stcheng@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:fs4bo2kjHHA.872@xxxxxxxxxxxxxxxxxxxxxxxxx
Hi AG,

For the "deploy" you mentioned, do you mean you use the "Publish Web Site"
to precompile the ASP.NET 2.0 web application?

The "updatable" means after you precompile and deploy the ASP.NET
application, you can still modify the aspx or ascx template and the
ASP.NET
runtime will still perform dynamic compilation against these file(not
completely precompiled). If you choose "nonupdatable", then aspx and ascx
file will contains no html or aspx template(just an empty placeholder).

In addition, if you want to update partial items(or manually specify the
items to update) in the web application before or after deployment, you
can
use the "Copy Web Site" feature in VS 2005 IDE, it just act as a FTP
client
that can help you synchronize items between your web application and the
target server:

#How to: Copy Web Site Files with the Copy Web Site Tool
http://msdn2.microsoft.com/en-us/library/c95809c0(VS.80).aspx

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead



==================================================

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.



Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.

==================================================



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






.



Relevant Pages

  • Re: Howto refresh IIS 6 Application pool identity credential info
    ... As soon as a new request to the corresponding web site which the AppPool ... IIS W3SVC service will then start up a new worker ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.inetserver.iis.security)
  • Re: WMP 11 Download Songs from URGE
    ... | it's a music online download site that need to login to use its service. ... normally accessing such web site programmatically ... | Microsoft Online Community Support ... | where an initial response from the community or a Microsoft Support ...
    (microsoft.public.vb.general.discussion)
  • RE: Updating a Web-Site
    ... The "updatable" means after you precompile and deploy the ASP.NET ... you can still modify the aspx or ascx template and the ASP.NET ... Microsoft MSDN Online Support Lead ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: Default Website - Best Practise?
    ... deleting the default web site is not recommended. ... to the Default Web Site's physical path, the installer should look for the ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.inetserver.iis.security)
  • Re: Default Website - Best Practise?
    ... deleting the default web site is not recommended. ... to the Default Web Site's physical path, the installer should look for the ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.inetserver.iis.security)