Wrox Programmer Forums
|
BOOK: ASP.NET Website Programming Problem-Design-Solution
This is the forum to discuss the Wrox book ASP.NET Website Programming: Problem - Design - Solution, Visual Basic .NET Edition by Marco Bellinaso, Kevin Hoffman; ISBN: 9780764543869
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET Website Programming Problem-Design-Solution section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 19th, 2005, 11:28 PM
Registered User
 
Join Date: Feb 2005
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to MoeShall
Default Deploying the site

Hi all
I'm developing a website that follows the same structure of ThePhile.COM (and i'm using VS.NET 2003)... now i created a WebProject...and called it MySite...this created
1-Folder under Visual Studio Projects called MySite that contains MySite.sln
2-Folder under C:\Inetpub\wwwroot called MySite and contains all other project files...(aspx..ascx..etc)

Then i added 5 Class Library Projetcs...this created 5 folders under the folder (that contains the solution file)....Visual Studio Projects\MySite\ ....

Now...How can i deploy this site...how can i make an executable file (using VS.NET) to deploy it?

Please...It is for a client and i have to deploy it correctly (to a public server)...Thanks in advance

 
Old April 20th, 2005, 04:09 AM
Authorized User
 
Join Date: Mar 2005
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default

can't u simply copy the bin folder and all the aspx / ascx files onto the server

 
Old April 20th, 2005, 05:10 AM
Authorized User
 
Join Date: Mar 2004
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Open the project in VS.

Go To Project (Toolbar)
Then Copy Project

Select File Share, and type in a desistantion folder.

From the copy menu, choose "Only Files Needed To Run This Application"

and click ok.

This will copy on the files needed to run the project in its compiled state. Make sure the project is in release mode before you do this. Then you should be able to xcopy up to the server and then set it up as you wish from there.

Rob

 
Old April 20th, 2005, 07:06 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

The other poster who mentioned "Copy Project" was correct - this is the way most of us deploy projects will only live on one server.

If you need to deploy to multiple servers, or servers that are outside of your direct control, a Web Setup .msi file (for the Microsoft Installer) may be the best option. These can also create the virtual diretory for you.

How to add a new setup project to the solution.

1. Right-click on solution, Add, New Project
2. left side, Setup and Deployment Projects
3. Right side, Web Setup Project

Please so research on the web for "Web Setup Project".





Similar Threads
Thread Thread Starter Forum Replies Last Post
Deploying the Site SoloEng BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 8 September 9th, 2007 09:39 PM
Publish Web Site & Copy Web Site angshujit ASP.NET 2.0 Basics 1 June 15th, 2007 09:21 AM
how do i change the site icon on a geocitiies site uprocker2 HTML Code Clinic 2 March 4th, 2005 07:20 AM
Error in deploying a site (BC30002) j_arya Classic ASP Basics 1 October 2nd, 2004 07:04 AM
Deploying C# nbnelson C# 2 July 31st, 2003 01:30 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.