473,890 Members | 1,971 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Web Deployment Project

I added a Web Deployment Project so I can create a debug, staging, and
release version. Each set is compiled and saved in a separate folder under
the csproj_deploy folder. All works fine. Here's the problem - I'm looking
for an *easy* way to upload (ftp) changed files.

I don't want to upload them all (huge upload), and don't want to have to it
manually by remembering what files have changed. I thought I had the
solution when I found a nice ftp sync program until I realized that when you
recompile ALL files get updated so that doesn't work.

There's got to be a better way!! Any suggestions?

Thanks in Advance!

Oct 9 '06 #1
4 2370
"Zany" <za**@community .nospamwrote in message
news:ut******** ********@TK2MSF TNGP05.phx.gbl. ..
There's got to be a better way!! Any suggestions?
Not with Web Deployment Projects...
Oct 9 '06 #2
Hmmm, ok. What is considered the best approach then to compiling and upload
without using WDP then?

Thanks again

"Mark Rae" <ma**@markNOSPA Mrae.comwrote in message
news:Ob******** ********@TK2MSF TNGP04.phx.gbl. ..
"Zany" <za**@community .nospamwrote in message
news:ut******** ********@TK2MSF TNGP05.phx.gbl. ..
>There's got to be a better way!! Any suggestions?

Not with Web Deployment Projects...

Oct 9 '06 #3
Hello Zany,

As for the ASP.NET 2.0 web project's precompilation and publishing, we will
need to take care of the following things:

1. If you're precompiling web site as updatable, the aspx,ascx template
file's content will be preserved and other codebehind and component classes
will be precompiled into assemblies(outp ut in bin directory). Also, you'll
find that the @Page or @Control directive in aspx/ascx template will
reference new class (in precompiled assemblies). Therefore, after such
precompilation, we'd better update all the files to the target deployment
location so that all the changes are updated.

2. If you're precompiling the website as non-updatable, the content of
aspx,ascx template is also removed and those files become a placeholder(no
application data in it). In such cases, since the aspx and ascx files are
just placeholders, you can avoid redeploy them to target location(as long
as they're ready there), however, you still have to update all the newly
generated assemblies and any other deployment necessary files(like the
xxxx.compiled file) to the target deployment site's "bin" directory also.

For detailed information about ASP.NET 2.0 website's precompilation model
and how the files are processed during precompilation, you can refer to the
following MSDN document:

#ASP.NET Web Site Precompilation

Also, for Web Deployment project specific featuers you can refer to the
following article. IMO, web deployment project mainly focus on some
additional customization options when performing precompilation( such as
assembly naming...):

#Using Web Deployment Projects with Visual Studio 2005
Please feel free to let me know if you have anything unclear or any other

Steven Cheng

Microsoft MSDN Online Support Lead

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

Get notification to my posts through email? Please refer to

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

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

This posting is provided "AS IS" with no warranties, and confers no rights.
Oct 10 '06 #4
Hello Zany,

How are you doing on this issue or have you got any further ideas on this?
Please feel free to post here if there is anything else we can help.


Steven Cheng

Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.

Oct 12 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

by: Richard Lewis Haggard | last post by:
I'm new to C# deployment project way of doing things and have run into a problem with a deployment project that has me stumped. I've put together a deployment of a project which works just fine for new installations but fails if the project has already been deployed. What I'd like for it to do is to ask if it should upgrade/repair/uninstall. Instead, it says that the user must remove the project before the installation can execute. What...
by: Steve Brecher | last post by:
VS.NET help on deployment indicates that, while using a deployment project requires administrative access to IIS, " we recommend deploying your project in most cases, because it allows you to take advantage of extensive deployment project management features, such as registration and IIS configuration." I guess that users of shared web hosts are using copying rather than a deployment project. What problems might this run into? I.e.,...
by: BobAchgill | last post by:
I have looked and looked for on the property pages for my Window form project and do not see where they are saying I should find the place to set deployment properties like: Manufacturer ManufacturerUrl ARPURLINFOABOUT URL for an application's home page. ARPURLUPDATEINFO URL for application-update info. Where are they hiding?
by: Wendy Elizabeth | last post by:
I need to deploy a service that will run on a production server. I am not certain what category of deployment directions that I should follow from the MSDN site. The service is written is Visual Basic.NET version 1.1. The service is scheduled to run once an hour. The service is suppose to take data from a sql server database (where the information was obtained from users via a web page) and send the data to a HP mainframe by using xml and...
by: dhussong | last post by:
I have created a Setup and Deployment project in Visual Studio.NET 2003. After my installation has completed running I'd like to launch the EXE that I just installed. I've found how to launch the EXE in the Custom Actions area of the Setup and Deployment project. Unfortunately when the EXE is launched it causes the setup program to stay open until the EXE has been exited. Anyone have any ideas how to launch the EXE and get the setup...
by: Thom Little | last post by:
Create two ASP.NET applications. Run them on the development machine to make sure they are error free. Publish the fist application to the root of a remote webspace. Call a page and see that it operates correctly. Publish the second application to the root of the same remote webspace. Permit it to overwrite existing files. Call a page and notice that it waits forever.
by: MarkusJNZ | last post by:
Hi, we have an existing solution which contains a bunch of C# projects and one weployment project. Initially I did not have the web deployment project installed on my computer so I downloaded and installed it. I now have the option to create a new deployment project when I go File- New Project so I assume that it has installed correctly.
by: andrewbb | last post by:
I want to deploy a service with a windows app and the setup program must conform to the Vista certification requirements. Can that be done with the standard .net setup project? Assuming cost is an issue, what else is available?
by: Miro | last post by:
Reading the help file it says in step 2 to click on "other project types" and then click on "Setup and Deployment projects".( see below ) I am using vb2005 express. Im assuming this is not an express option? I do not have that option available. All I have is: -Windows Application -Class Library -Consol Applicaotin -My Movie Colleciton -Screen Saver Starter Kit
by: Cirene | last post by:
I used to use the Web Deployment Project with my VS2005 projects. Now I've fully upgraded to VS2008. Do I have to download a new version of the Web Deployment Project? If so where can I find it? If not, how do I have to change my deployment strategy? Thanks!
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.