Solved

How to properly publish a website using Visual Studio 2010

Posted on 2010-09-14
3
484 Views
Last Modified: 2012-06-22
I am trying to publish a website for the first itme using Visual Studio 2010. Before when I published a website, the only files actually published to the target folder where config files, page files, an app_folder, and the bin. Now everything (all files) in the application are published to the target directory...almost as if the publish option does a XCOPY of the application. How do I avoid this behavior...am I missing something trivial? Thanks for any help.
0
Comment
Question by:brianwells05
3 Comments
 
LVL 19

Expert Comment

by:Amandeep Singh Bhullar
ID: 33679294
You can use the publish option of the VS 2010
http://msdn.microsoft.com/en-us/library/20yh9f1b.aspx
0
 
LVL 51

Accepted Solution

by:
Ted Bouskill earned 500 total points
ID: 33679298
Well if you want better performance and don't want to publish your source code you have to convert the "Web site" to a "Web Application" then you can use the publish feature like the previous versions.

http://msdn.microsoft.com/en-us/library/aa983476.aspx
0
 

Author Closing Comment

by:brianwells05
ID: 33770320
Thanks for the info!
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox.  At first this…
A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

786 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