Solved

How to properly publish a website using Visual Studio 2010

Posted on 2010-09-14
3
491 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

830 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