Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
|
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics 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 20th, 2008, 12:31 AM
Registered User
 
Join Date: Mar 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default asp.net application location options

Hi,

I am a newbie in asp.net 2.0 and need clarifications on how the web sites are organized.

I create a new web site with following options.
Location : File System and Path D:\Wrox\Chapter 01, as I want to use the files already available. Now, I get a message that there is already a Web site containing files at the Location 'D:\Wrox\Chapter 01'. How do you wish to proceed'. (Not sure why I get this as I am creating the web site only now.)

Here I choose the Open the existing Web Site. Now I see a solution created pointing to the location I choose. However, I also see that a new solution is created in the 'My Documents\Visual Studio 2005\Projects\Chapter 01' and this folder has only the Chapter 01.sln and .suo files. When I close and reopen, in the Recent projects I see only the 'C:\..\My Documents\Visual Studio 2005\Projects\Chapter 01'. When opening it again all the files of Chapter 01 that are actually in folder D:\Wrox\Chapter 01 are shown in the solution explorer.

Please clarify what is the link between the C:\..\My Documents\Visual Studio 2005\Projects\Chapter x folder and the actual folder D:\Wrox\Chapter x containing the files.
 
Old March 20th, 2008, 07:27 AM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

Everytime you create a project Visual Studio creates a folder at that location that stores the solution file for that project. That is pretty much the only link.

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
.: Wrox Technical Editor / Author :.
Wrox Books 24 x 7
================================================== =========
 
Old March 20th, 2008, 09:37 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

silar -

A solution file is a file that contains links to many projects. Each project typically lives in its own directory. Technically the solution file can live anywhere. The projects can be web site projects (just a reference to a directory) or other project types which include a visual studio project file. Larger development efforts usually have complex solutions with lots of projects that reference each other. The solution file brings it all together. This way, if one developer introduces a new project into the chain of dependencies, it gets added to the solution so other developers get the update automatically instead of having to figure it out for themselves.

-Peter
peterlanoie.blog
 
Old March 24th, 2008, 04:11 AM
Registered User
 
Join Date: Mar 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thats pretty clear. Thankyou.






Similar Threads
Thread Thread Starter Forum Replies Last Post
asp and asp dot net in single application rejoin2me ASP.NET 2.0 Basics 5 February 21st, 2007 12:26 PM
ASP and ASP.NET mixture for protecting application BananaJim ASP.NET 2.0 Professional 0 December 6th, 2006 02:19 PM
Convert ASP web application to ASP.NET Steve777 ASP.NET 1.0 and 1.1 Basics 3 June 2nd, 2005 07:26 AM
Creating an ASP.Net Application in VS.Net Maxood BOOK: Beginning ASP.NET 1.0 11 July 6th, 2004 03:09 PM
Creating ASP.NET Application in Visual Studio.NET Maxood ASP.NET 1.0 and 1.1 Basics 1 March 8th, 2004 01:56 PM





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