StockTraderRI - NewsArticle

Topics: Prism v4 - WPF 4
Feb 10, 2011 at 2:35 PM
Edited Feb 10, 2011 at 2:37 PM


can anybody tell me why in StockTraderRI demo application the NewsArticle model class is placed to the Infrastructure project instead of the News module?? Is it best practice to place specific concrete model types to the infrastructure project? I thought that there should only be interfaces placed.. 


Best regards


Feb 10, 2011 at 7:16 PM

Hi Andreas,

There is no special reason on why NewsArticle class is located on Infrastructure project.

On the other hand, in my opinion I think you are right about only have interfaces on Infrastructure and also is not the best place to allocate the concrete classes of your application. As you mentioned, these interfaces needs to be implemented on their Modules, in order to build a loosely coupled application.


Miguel Bronzovic