james

james

  • NA
  • 1
  • 0

Class Library VB.Net

Aug 28 2006 2:55 AM
 Hi,

I am a Java Developer but have been working with VB.Net for about 6 months.

I was wondering if I could ask a couple of questions.  I am developing a application that is divided into 3 modules.

Module 1:  Contact Management

Module 2:   TroubleTicketing

Module 3:   Billing Module

Question(s):

1.  What is the best way to structure my Solutions & Projects Folders to ensure that each application module above is independent of the other module?

2.   What is the best way to structure my Solutions & Projects Folders to ensure re-usability?

3.   Can I create a folder then add visual forms, controller classes and business logic classes then convert the folder to a class library project so that all of the files compile into a single dll so that if I need to roll out updates to, i.e. Troubleshooting Form I just send out a new TroubleShootingMod.dll file?

I was planning on doing the follow:

C:Projects\HelpdeskAppSolution
--HelpdeskUI <-Project
..... App.config
......Configefiles<--Folder
..... Languagefiles<--Folder
--ContactsMod<--ClassLibraryProject
.....ViewsFolder<--Forms & User Controls
.....ControllerFolder<--Dispatcher Pattern Class
..... ContactsFunctionsFolder<--- Facade Pattern class with interfaces to Class Entities (i.e. similar to beans)
--TroubleTicketMod<--ClassLibraryProject
[Same as ContactsMod]
--BillingMod<--ClassLibraryProject
[Same as ContactsMod]

The goal is to be able to re-use the BillingMod, ContactsMod and TroubleTicketMod in other applications.  It seems like class libraries is the way to go, but it appears that there is a one to one relationship between a class file and compilation into a class.dll file.  However, I want to compile multiple classes and vb files (forms, users controls) into a *.dll file.

Am I on the right track here?

Any assistance would greatly be appreciated.

Thanks