Deploying Web Application

E

Egghead

Hi all,

Is there a way to deploy a web application to a live server without using
the windows installer (not following the "Walkthrough: Deploying a Web
Solution" in the VS.net's help). The application contains C# classes,
asp.net pages, and some third party's dll. Just that we are not that
comfortable with VS.net's Setup and Deployment Projects. It messes up some
COM object ver in our's desktop application. TIA

Egghead
 
M

MattC

XCopy works pretty well.

Something along the lines of:

XCOPY C:\inetpub\wwwroot\stagingenv\www\*.aspx
w:\inetpub\wwwroot\liveenv\www\ /E /Y
XCOPY C:\inetpub\wwwroot\stagingenv\www\*.dll
w:\inetpub\wwwroot\liveenv\www\ /E /Y
XCOPY C:\inetpub\wwwroot\stagingenv\www\*.ascx
w:\inetpub\wwwroot\liveenv\www\ /E /Y
XCOPY C:\inetpub\wwwroot\stagingenv\www\*.asax
w:\inetpub\wwwroot\liveenv\www\ /E /Y
XCOPY C:\inetpub\wwwroot\stagingenv\www\*.css
w:\inetpub\wwwroot\liveenv\www\ /E /Y
XCOPY C:\inetpub\wwwroot\stagingenv\www\*.gif
w:\inetpub\wwwroot\liveenv\www\ /E /Y
XCOPY C:\inetpub\wwwroot\stagingenv\www\*.bmp
w:\inetpub\wwwroot\liveenv\www\ /E /Y
XCOPY C:\inetpub\wwwroot\stagingenv\www\*.jpg
w:\inetpub\wwwroot\liveenv\www\ /E /Y
XCOPY C:\inetpub\wwwroot\stagingenv\www\*.js w:\inetpub\wwwroot\liveenv\www\
/E /Y

Where (w:) is a mapped drive to the live server

MattC
 
E

Egghead

Hi,

Thanks, XCopy is good idea.
But there are C# class sources file here, is there a way to deploy the
classes without deploy the source file?

Egghead
 
B

Brad

If you are using visual studio and you can connect to the web server from
your workstation, you could just use VS copy web project (Project - Copy
Project). This will work with server using just file share permissions or
with fp extensions (we use file share as we don't use fp ext on our
servers). Make sure the option "Only files needed to run this applicaiton"
is selected. This is what we've always used and seems the easiest and
quickest to use.
 
J

Josh

Over here we knocked up a mini app that copies files and folder structure.
It has the facility to exclude certain folders and file extentions.

Should take long to knock your self one up.
 
M

MattC

The .cs files are not needed for operation of the site, these are compiled
into your .dll for the webapp
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top