473,396 Members | 2,109 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Deploying Web Application

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
Nov 19 '05 #1
7 1695
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

"Egghead" <ro**************@shaw.ca> wrote in message
news:ur**************@TK2MSFTNGP15.phx.gbl...
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

Nov 19 '05 #2
Afterall a design goal with .Net was XCopy distribution...
Nov 19 '05 #3
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

"Josh" <s@a.com> wrote in message
news:eu**************@TK2MSFTNGP14.phx.gbl...
Afterall a design goal with .Net was XCopy distribution...

Nov 19 '05 #4
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.

"Egghead" <ro**************@shaw.ca> wrote in message
news:ur**************@TK2MSFTNGP15.phx.gbl...
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

Nov 19 '05 #5
Thanks to all;
Just remember the class library
Egghead
"Egghead" <ro**************@shaw.ca> wrote in message
news:ur**************@TK2MSFTNGP15.phx.gbl...
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

Nov 19 '05 #6
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.
Nov 19 '05 #7
The .cs files are not needed for operation of the site, these are compiled
into your .dll for the webapp
"Egghead" <ro**************@shaw.ca> wrote in message
news:e9**************@tk2msftngp13.phx.gbl...
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

"Josh" <s@a.com> wrote in message
news:eu**************@TK2MSFTNGP14.phx.gbl...
Afterall a design goal with .Net was XCopy distribution...


Nov 19 '05 #8

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

Similar topics

1
by: Prem | last post by:
Hi All I have a portal application that we have built that contains links to different modules. There is no static binding to these dlls from the application so that we can deploy some modules...
10
by: Gerben van Loon | last post by:
Hi there, hope someone can help me on this: I'm planning to deploy several ASP.NET projects to a production server. Normally I used the "Project / Copy project" option in VS.NET, but to this...
3
by: Rachel | last post by:
Hi, I am using the data access application block successfully in our development environment, however when I deploy to our testing server as Private Assemblies I keep getting the following ...
0
by: Dave | last post by:
Hello The application I'm building an installer for uses dlls which were developed originally in C. Since the application itself is developed in C#, these dlls were wrapped using SWIG....
1
by: dfererer | last post by:
Dear all, I want to install and run ClickOnce Deploying application under a Windows Service,I have make the service starting the application successfully(user API...
6
by: Ryan | last post by:
Is there any way to save a VB 2005 created application as an .MSI install file? The only method I see is to publish as a .EXE. Curious because I want to push out an application with Group Policy....
3
by: pooba53 | last post by:
I have a VB .NET 2003 application that communicates with an Access db. I am deploying the application using the Wizard that creates an install package and it IS properly grabbing the Access db and...
0
by: Amit | last post by:
Hi,I am new to .net 2.0 and have just built one web application and deployed the application on web server. The problem which i am facing is that if i make any changes in the .cs files or aspx...
0
by: sanjaypasumarty | last post by:
Hello, I am facing issues when i am deploying application on WebSphere Process server. The appplication is not deploying successfully and showing some DB2 errors in the logs. We are unable to find...
8
by: =?Utf-8?B?V2hpc2tleVJvbWVv?= | last post by:
I am trying to copy files and folders onto a production machine (Windows 2003 web edition -- we had to install the .NetFramework 2.0 on it). I wasn't even sure which files to copy for a ASP.NET...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...
0
tracyyun
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...

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.