Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old September 7th, 2004, 12:11 AM
Authorized User
 
Join Date: Mar 2004
Location: , , .
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
Default C# folder and project structure

I just downloaded the C# version of the book and have had the VB version already installed for a while. The differences between them are confusing me, I'm wondering if the C# download is wrong.

The VB download was pretty clear, under Webmodules folder are 8 module folders, and under each of them is:
[module].Business
[module].Data
[module].Configuration

This structure matches the structure in the VS.NET project.(and the VB book)
Great.

But the C# folders don't match the 8 VB WebModules. in C# the parent folder is Modules, not WebModules, and the folders underneath it are:
Accounts
AdManager
DataAdmin
FileManager
Forums
Forums2
Lists
MailingLists
MailingLists3
Polls2
Users

Does anyone know what the heck these strange Module subfolders are?
And there not all present in the Visual Studio solution, which is strange, too. Only:
AdsManager
FileManager
Forums
Lists
NewsManager
Polls2
Users

Where are the others?

And one last thing:
Some projects are named with 'dot' convention("Forums.Business") and then others aren't(AccountsBusiness)
What...the heck...is going on?

By the way, I don't have a copy of the C# book, just the VB book
Thanks for the help!

  #2 (permalink)  
Old September 7th, 2004, 03:36 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: Atlanta, Georgia, USA.
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

The folder names were changed in the VB.NET version of the code. The C# version uses the original names published in the C# book.

If you ask me, I prefer the names in the VB.NET version. The reason they made the changes was to lines up the namespaces and foldernames. The C# version didn't use a common set of names for namespaces and foldernames, and this needlessly confused a lot of people.

Study the .doc file that came with the VB.NET download to see the other changes. There were a number of changes, and in almost every case I prefer the VB.NET version.

But I'm using the C# version for my site. I've incorporated a number of these changes into my C# code.

Eric
  #3 (permalink)  
Old September 7th, 2004, 05:17 PM
Authorized User
 
Join Date: Mar 2004
Location: , , .
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks Englere, Lord of the Manor:

I find the VB version much clearer, too.
It's not even that the C# is 'less' clear, it's inconsistent like I pointed out with the 'dot' notation.

What about the duplicate folders, did these actually make sense for the original C# version?:
Forums
Forums2
Lists
MailingLists
MailingLists3

  #4 (permalink)  
Old September 7th, 2004, 09:47 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: Atlanta, Georgia, USA.
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

This started out as a simple version control issue. They had seval versions of the early modules and they each had a version number in the foldername.

They wanted to remove all the numeric versions from the final foldernames, but they made a few mistakes.

Forums is the newest version, and Forums2 is an old version. I renamed Forums2 as Forums2-OLD. They wanted to delete Forums2.

The same is true for MailingLists - MailingLists3 is the old one and can be renamed to MailingLists3-OLD. They wanted to delete MailingLists3.

The only foldername that needs to keep a number is Polls2. That is the only Polls module. They wanted to rename this to Polls, but they forgot.

Eric
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Organise Work Sheet Respect to folder structure sridevi Excel VBA 2 October 26th, 2004 08:54 AM
Still confused Folder structure eureka BOOK: ASP.NET Website Programming Problem-Design-Solution 5 September 14th, 2004 11:37 PM
Namespace vs. Folder Structure (Help Englere) groupmatch BOOK: ASP.NET Website Programming Problem-Design-Solution 14 September 8th, 2004 08:05 AM
thePhile (VB) file folder structure... jaspe BOOK: ASP.NET Website Programming Problem-Design-Solution 1 September 1st, 2004 08:24 PM



All times are GMT -4. The time now is 08:05 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.