Re: Updating a Web-Site
- From: "AG" <NOSPAMa-giam@xxxxxxxxxxxxxxxxx>
- Date: Fri, 4 May 2007 11:56:07 -0400
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.
.
- Follow-Ups:
- Re: Updating a Web-Site
- From: Steven Cheng[MSFT]
- Re: Updating a Web-Site
- References:
- Updating a Web-Site
- From: AG
- RE: Updating a Web-Site
- From: Steven Cheng[MSFT]
- Updating a Web-Site
- Prev by Date: Re: column.width and data update
- Next by Date: Re: AJAX and .Net
- Previous by thread: RE: Updating a Web-Site
- Next by thread: Re: Updating a Web-Site
- Index(es):
Relevant Pages
|