Solved

What files to deploy on the production web site?

Posted on 2008-06-09
6
364 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Why You Need a DevOps Toolchain

IT needs to deliver services with more agility and velocity. IT must roll out application features and innovations faster to keep up with customer demands, which is where a DevOps toolchain steps in. View the infographic to see why you need a DevOps toolchain.

 

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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
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.

726 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