I have got some concerns about Prism and architecture, specially about the Infrastructure and what should be written in it. This is not not crystal clear to me.
What exactly should be written in the Infrastructure?
- shared model (business model)
- shared events
Should the business code of the application be in the Infrastructure? or should it be in another assembly referenced by the Infrastructure?
What if I want (or need) to share the Infrastructure across applications in a solution? (Only one infrastructure shared by all the applications)
Should the business model be in the Infrastructure (this could dramatically increase the size of the infrastructure) or should each application have its own and be referenced by the infrastructure? (in order to keep this the tiniest possible).
Is it a good idea that the infrastructure depends on other assemblies that contain business model?
Any help would be appreciated!