Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 4 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4: in C# and VB by Imar Spaanjaars; ISBN: 9780470502211
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4 : in C# and VB 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 November 4th, 2011, 02:35 PM
Friend of Wrox
 
Join Date: Oct 2009
Posts: 341
Thanks: 14
Thanked 3 Times in 3 Posts
Smile Visual Studio sln

Hello Imar,
My question is regarding solution file. Earlier I had VS2008, in which when I used to create a new web site project then it showed a folder for that project in its start page's recent project item, and no confirmation about to save sln file. But now I have VS 2010, and I create similarly web site project but it shows now a blue Visual Studio Icon (an infinity symbol) in recent project item, and on closing the project it asks for saving the sln file.

What is wrong going on?
Thanks
 
Old November 5th, 2011, 05:00 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

A .sln (solution) file is a container for one or more projects in Visual Studio so you can group them and treat them as a unit. VWD creates SLN files as well. You can force VWD to always show the solution (in Tools | Options | Projects and Solutions) and then you could save it elsewhere if you wanted to.

As long as you're working with a single project at a time, you don't have to worry much about the solution file.

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
 
Old November 6th, 2011, 03:44 AM
Friend of Wrox
 
Join Date: Oct 2009
Posts: 341
Thanks: 14
Thanked 3 Times in 3 Posts
Smile

Hello,

How would you manage multiple projects at a time, and what is meant by that?
How solution file will contain those multiple projects?

Regards,
Sophia
 
Old November 7th, 2011, 04:35 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

You can have a solution with many different projects and project types. A common use case for this is to have a web site or web application and one or more separate class libraries for (reusable) code. For an example, take a look here: http://imar.spaanjaars.com/476/n-lay...l-introduction

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
 
Old November 7th, 2011, 02:00 PM
Friend of Wrox
 
Join Date: Oct 2009
Posts: 341
Thanks: 14
Thanked 3 Times in 3 Posts
Smile

Thanks for amazing link. Really article seems very informative. I will read the whole series.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Visual studio 2005(32 bit) code not work in visual studio 2008 on windows server 2008 gr8.jain Visual Basic 2008 Essentials 1 August 31st, 2009 10:07 AM
Visual Studio 2003 vs. Visual Studio 2005 eitanbarazani C# 2005 4 May 9th, 2006 01:34 AM
Visual Studio .net2003 and Visual Studio 2005 Gert Visual C++ 1 January 24th, 2006 05:10 AM
.vip Error Opening Interdev .sln in Visual Studio elangley VS.NET 2002/2003 1 September 7th, 2005 11:08 AM
.vip Error Opening Interdev .sln in Visual Studio elangley VB How-To 3 April 7th, 2005 09:09 AM





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