Wrox Programmer Forums
|
BOOK: ASP.NET Website Programming Problem-Design-Solution
This is the forum to discuss the Wrox book ASP.NET Website Programming: Problem - Design - Solution, Visual Basic .NET Edition by Marco Bellinaso, Kevin Hoffman; ISBN: 9780764543869
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET Website Programming Problem-Design-Solution 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 January 16th, 2005, 07:18 AM
Registered User
 
Join Date: Jan 2005
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default VS.NET MODULAR APPROACH

Hello

I am trying to follow the modular approach in building my own VS.NET web application.

I create a new solution and add a web project. This creates a project in a web folder within http://localhost.

I then add the class libraries which reside within the actualy physical project folder ...Username/My Documents/Visual Studio Projects/ProjectName

This means that the web project needs to integrate the file structure of Class projects with the main web project that reside in two different folders (e.g. hence issues with namespaces).

Can anyone recommend what I should be doing? If obvious, some outline details of how to get these folders to integrate would be much appreciated.

3Moose.

 
Old January 16th, 2005, 11:26 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Why do you want to put everything under the "My documents" paths - that's real hard to manage. Do you have the book about ThePhile? have you checked out it's folder organization?

1. Start with a main folder on drive C, Make this into a virtual directory, or change IIS root to point here (if you don't understand what this means, then don't do it)
2. Put other project folders under this main dir

Namespaces are NOT inherantly tied to foldernames, although a lot of us like to line them up to minimize confusion. The C# code for ThePhile doesn't have them lined up, but the guy who did the VB.NET port did reorganize them so they line up.

Eric
 
Old January 16th, 2005, 12:20 PM
Registered User
 
Join Date: Jan 2005
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for your post - after about 18 hours (really... *18*) I got to the same conclusion and this approach makes the most sense.

I just took a copy of each folder and file, put it into the web root folder of my project and opened them into my VS.NET Solution.

Thanks for your help... really grateful!






Similar Threads
Thread Thread Starter Forum Replies Last Post
A significant step closer to making TBH modular jimibt BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 0 October 12th, 2007 04:31 AM
Lotus approach and .NET joeri VS.NET 2002/2003 3 August 10th, 2007 08:47 AM
Need help with approach rickyc1 Classic ASP Databases 4 July 14th, 2005 10:26 AM
Datasets - what is the best approach? Dave Stumbles VB Databases Basics 0 January 12th, 2005 05:21 PM
what is the benefits for each approach alyeng2000 SQL Server 2000 6 December 31st, 2003 05:48 AM





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