Using XCOPY for Deployment

Microsoft uses a shorthand term for the ease-of-deployment features in ASP.NET—it's called XCOPY deployment. This refers to a command that was brought into Windows from the DOS world. An evolved version of the DOS COPY command, XCOPY adds more powerful features, including the capability to create entire folders and subfolder structures where necessary. In situations in which you use the command to copy a folder and child subfolders, XCOPY can create identical folder structures on the destination disk.

Additionally, XCOPY has the capability to copy only those files that are newer than files on the destination drive. This is a big benefit for large sites that don't want to copy all 10,000 files each time they make a few ...

Get C#® Developer's Guide to ASP.NET, XML, and ADO.NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.