Solved

What files to deploy on the production web site?

Posted on 2008-06-09
6
356 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
Comment Utility
You should "Publish" the web site, and deploy all the files in the output directory.
0
 

Author Comment

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

Expert Comment

by:apeter
Comment Utility
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
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 

Author Comment

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

Accepted Solution

by:
apeter earned 50 total points
Comment Utility
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
Comment Utility
Thanks!
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.

772 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now