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 September 7th, 2004, 12:11 AM
Authorized User
 
Join Date: Mar 2004
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!

 
Old September 7th, 2004, 03:36 PM
Friend of Wrox
 
Join Date: Jun 2003
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
 
Old September 7th, 2004, 05:17 PM
Authorized User
 
Join Date: Mar 2004
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

 
Old September 7th, 2004, 09:47 PM
Friend of Wrox
 
Join Date: Jun 2003
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





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





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