Shared Business Entities

May 15, 2008 at 9:48 AM
I have some Business Entities (eg. Region and State) that are shared between modules.
I dont't think InfrastructureLibraries is a good place for these types.
Which can be the best place for these classes ?
Any suggestion ?

Many thanks
May 23, 2008 at 5:06 PM
The Infrastructure library is intended as the point of sharing for all application specific types that need to be shared across modules. If your shared types are based on interfaces and the modules only have dependence on the interface, you can factor out the interfaces into a separate assembly and share that instead. But inevitably there is a set of entities, enums, exceptions, etc. that need to get shared across modules, and the infrastructure library is the place we typically put those.