Hi James,
Thank you for using Microsoft Newsgroup Service. Based on your description,
you want to get some detailed information on deploying an ASP.NET web
application, especially the "xcopy" deployment. Please feel free to correct
me if my understanding of your problem is not quite exact.
Generally, in dotnet, since all the components( dotnet assemblies ) are
self described, so when we want to redistribute a application, we can just
use xcopy to move the application and its denpendent assemblies(if needed
also include the application config file). As for the ASP.NET web
application, if you are using the code-behind page class, all the page
class will be build into the application's assembly. So when you've
finished developing your web app, you can just use xcopy to move all the
page files(aspx) and asax or ... and some other config file such as
web.config to the deployment place. In addition, since the ASP.NET is web
application, you need to create a Virutal Directoy in IIS for the
application, not just copy to a directory under the IIS's root directoy. To
make it clearly, you may try creating a simple ASP.NET application in
VS.NET. After add some code and build it. Then, copy the things I mentioned
above to another new virtual Directoy to see whether it works, that'll help
you get it more clear.
As for the "Copy Project" function in VS.NET you mentioned, yes, it can
help to copy one project to another new web based url position. The VS.NET
will help you create Virtual Directory, project files and copy source files
to the destinate position. However, I think this is mostly used when you're
still develping a ASP.NET web project, and you want to genreate a copy of
the project. For deployment time, the project files are not necessary to
copy, also the page class's file are not necessary if you are using the
code-behind mode and build them into assemblies as I mentioned above. For
more information on deployment for ASP.NET application or the Copy project,
you may reference the tech articles in MSDN, here is some of their weblinks:
#Deployment Scenarios
http://msdn.microsoft.com/library/en...oymentscenario
s.asp?frame=true
#Walkthrough: Deploying an ASP.NET Web Application
http://msdn.microsoft.com/library/en...throughdeployi
ngaspnetwebapplication.asp?frame=true
#Determining When to Use Windows Installer Versus XCOPY
http://msdn.microsoft.com/library/en...inst.asp?frame
=true
#Copy Project Method
http://msdn.microsoft.com/library/en...projvsprojectc
opyproject.asp?frame=true
Please check out the above suggestions to see whether they are helpful.
Steven Cheng
Microsoft Online Support
Get Secure!
www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)