Basic Application Organization + Publishing (.NET 4.0)

Posted by keynesiancross on Stack Overflow See other posts from Stack Overflow or by keynesiancross
Published on 2011-01-05T21:14:44Z Indexed on 2011/01/05 21:54 UTC
Read the original article Hit count: 168

Filed under:
|
|

Hi all,

I'm trying to figure out the best way to keep my program organized. Currently I have many class files in one project file, but some of these classes do things that are very different, and some I would like to expose to other applications in the future. One thought I had to organizing my application was to create multiple project files, with one "Main" project, which would interact with all the other projects and their relevant classes as needed. Does this make sense?

I was wondering if anyone had any suggestions in regards to using multiple project files in one solution (and how do you create something like this?), and if it makes sense to have multiple namespaces in one solution...

Cheers ----Edit Below----

Sorry, my fault. Currently my program is all in one console project. Within this project I have several classes, some of which basically launch a BackgroundWorker and run an endless loop pulling data. The BackgroundWorker then passes this data back to the main business logic as needed. I'm hoping to seperate this data pull material (including the background worker material) into one project file, and the rest of the business logic into another project file. The projects will have to pass objects between eachother though (the data to the main business logic, and the business logic will pass startup parameteres to the dataPull project)... Hopefully this adds a bit more detail.

© Stack Overflow or respective owner

Related posts about c#

Related posts about .net-4.0