Solved

How to properly publish a website using Visual Studio 2010

Posted on 2010-09-14
3
460 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:
tedbilly 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

One of the pain points with developing AJAX, JavaScript, JQuery, and other client-side behaviors is that JavaScript doesn’t allow for cross domain request for pulling content. For example, JavaScript code on www.johnchapman.name could not pull conte…
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

747 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

14 Experts available now in Live!

Get 1:1 Help Now