Solved

What files to deploy on the production web site?

Posted on 2008-06-09
6
361 Views
Last Modified: 2013-12-17
Hello,

What file types should I deploy to my production Internet web site? Should I deploy these

.aspx.designer.cs
.aspx.resx

Seems like I don't need them.

Files that I do need are .dlls, ASPX, web config. global.asax, htm, css, and js files.
0
Comment
Question by:gtrapp
  • 3
  • 2
6 Comments
 
LVL 9

Expert Comment

by:Rob Siklos
ID: 21745614
You should "Publish" the web site, and deploy all the files in the output directory.
0
 

Author Comment

by:gtrapp
ID: 21745676
Where is the output directory? Do I really publish the .cs files?
0
 
LVL 25

Expert Comment

by:apeter
ID: 21751644
The Publish action will take care of what files to be copied.  Right click on the project and select "Publish". The output directory is the Location where you want the files to be copied which is nothing but your virtual directory path.

In .net 2.0 we need the .cs file if we any files uner App_Code, Folder. Just leave the job to Publish to copy your files.
0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 

Author Comment

by:gtrapp
ID: 21755004
I have VS 2003. Is this publish option available with this version?
0
 
LVL 25

Accepted Solution

by:
apeter earned 50 total points
ID: 21755904
Hope you have below option.

For Web projects, the Copy Project command is available on the Project menu. Copying a project, rather than deploying it, is the simpler way to move your project's content to a target Web server. Copying does not automatically configure Internet Information Services (IIS) directory settings. Therefore, we recommend deploying your project in most cases, because it allows you to take advantage of extensive deployment project management features, such as registration and IIS configuration.

By default, the Copy Project command creates a new Web application on the target server and copies only the files required to run to the application. Note that FrontPage Server Extensions must be installed on the target server to use the Copy Project command. These are the typical steps for copying a project to a server:

On the Project menu, choose Copy Project.

Select the destination project folder.

Select the Web access method.

Select the files to be copied.

The default option deploys only the files needed to run the application. Alternatively, you can deploy all project files or all files in the project folder.
0
 

Author Closing Comment

by:gtrapp
ID: 31465494
Thanks!
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Update (December 2011): Since this article was published, the things have changed for good for Android native developers. The Sequoyah Project (http://www.eclipse.org/sequoyah/) automates most of the tasks discussed in this article. You can even fin…
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question