Wrox Programmer Forums
|
BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0
This is the forum to discuss the Wrox book ASP.NET 2.0 Website Programming: Problem - Design - Solution by Marco Bellinaso; ISBN: 9780764584640
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 5th, 2009, 07:13 PM
Authorized User
 
Join Date: Mar 2009
Posts: 11
Thanks: 5
Thanked 0 Times in 0 Posts
Default Why Beer House has a solution (sln) file

I am new to ASP.Net. I noticed that my folder based website does not have a solution (sln) file, but the beer house folder based website has a solution (sln) file.

Why does the beer house website have a solution (sln) file and my website does not? How do I get my website contained in a solution?

Regards,

Ryan
 
Old March 5th, 2009, 07:51 PM
Lee Dumond's Avatar
Wrox Author
 
Join Date: Jan 2008
Posts: 923
Thanks: 12
Thanked 166 Times in 162 Posts
Default

Your website does have a solution file. It is probably located in the Projects folder for Visual Studio.

By default, VS will not show your solution file unless you have more than one project in your solution. The BeerHouse solution has more than one project, so that's why you can see it. If you added another project to your site, you would see your solution file also.
__________________
Visit my blog at http://leedumond.com
Follow me on Twitter: http://twitter.com/LeeDumond

Code:
if (this.PostHelpedYou)
{
   ClickThanksButton(); 
}
The Following User Says Thank You to Lee Dumond For This Useful Post:
rpcasey001 (March 6th, 2009)
 
Old March 6th, 2009, 05:54 PM
Lee Dumond's Avatar
Wrox Author
 
Join Date: Jan 2008
Posts: 923
Thanks: 12
Thanked 166 Times in 162 Posts
Default

By the way, you can alter this default behavior and always show your solution, even if there is only one project, by going to Tools|Options|Projects and Solutions and checking "Always show solution".
__________________
Visit my blog at http://leedumond.com
Follow me on Twitter: http://twitter.com/LeeDumond

Code:
if (this.PostHelpedYou)
{
   ClickThanksButton(); 
}
The Following User Says Thank You to Lee Dumond For This Useful Post:
rpcasey001 (March 6th, 2009)
 
Old March 6th, 2009, 06:02 PM
Lee Dumond's Avatar
Wrox Author
 
Join Date: Jan 2008
Posts: 923
Thanks: 12
Thanked 166 Times in 162 Posts
Default

I almost forgot --

I also would mention that what a lot of developers do is, instead of just creating a web site and letting VS put the solution file in the projects folder, is to always create a blank solution first.

Give the solution a name, and make sure the "Always create folder for solution" option is checked. This will create a solution with no projects or web sites in it, inside of its own folder.

Then "Add" a web site to the solution, placing it in the folder created by the solution.

This will let you control where the solution is placed, and lets you carry the solution and all associated files to another folder, drive, or even another computer by just copying the folder. You can even zip it and email it to someone. In fact, that is exactly how the BeerHouse was created in the first place.

Hope that helps.
__________________
Visit my blog at http://leedumond.com
Follow me on Twitter: http://twitter.com/LeeDumond

Code:
if (this.PostHelpedYou)
{
   ClickThanksButton(); 
}
The Following User Says Thank You to Lee Dumond For This Useful Post:
rpcasey001 (March 6th, 2009)





Similar Threads
Thread Thread Starter Forum Replies Last Post
About User Profiles in the beer house ssomchai BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 3 February 25th, 2008 11:28 PM
Beer House developer plb BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 47 February 18th, 2008 02:11 PM
The Beer House Arabic Localization nesrine ASP.NET 2.0 Professional 1 February 21st, 2007 12:04 PM
Problem with forum of the beer house kherrerab BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 2 August 31st, 2006 03:33 PM
The Beer House kooltech BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 1 May 8th, 2006 10:31 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.