Solved

How to properly publish a website using Visual Studio 2010

Posted on 2010-09-14
3
500 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
[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 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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying 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

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
I have developed many web applications with asp & asp.net and to add and use a dropdownlist was always a very simple task, but with the new asp.net, setting the value is a bit tricky and its not similar to the old traditional method. So in this a…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Suggested Courses

751 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