Skip to content

Best approach for shared entities #3974

Answered by W6HBR
mdmontesinos asked this question in Q&A
Discussion options

You must be logged in to vote

I find it beneficial to bundle multiple modules into a single solution when data and elements of those modules are shared across all those modules. The solution & distributed DLL names are the packaging for multiple module names that reside within it (see screenshot). When you use the templates to create a new module, you end up with a solution & dll name that matches your module name, but that doesn't have to be the case. For my usage, I create a generic solution name and then create the specific module names within it (again, see screenshot). Using this methodology, you have a single namespace for all the modules. In my example case, all "models" are part of "WB6OZD.Module.Code.Models",…

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
5 replies
@mdmontesinos
Comment options

@leigh-pointer
Comment options

@mdmontesinos
Comment options

@Sharafudeen
Comment options

@W6HBR
Comment options

Answer selected by mdmontesinos
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants