c# - MVVM Structure of UI specific logic -


what try solve dynamic menu , toolbar, have problems in defining project structure.

i use prism 5, toolkit use regions, modularity, mvvm things. ioc use autofac. later purposes (plugins) , modules have option inserting menuitems in code.

currently structre like:

  • core.infrastructure
  • core.model
  • core.viewmodel
  • ui.wpf
  • ui.wpf.app (knows every other dll)

i don´t want ui specific things in core.infrastructure, because maybe want change ui toolkit later und reuse project.

but don´t want ui things in model, think best place viewmodel project.

but later, don´t want 3rd party people have "access" viewmodel project, how solve particular problem?

where define contracts ui logic? how structure whole project?

regards, kevin


Comments

Popular posts from this blog

facebook - android ACTION_SEND to share with specific application only -

python - Creating a new virtualenv gives a permissions error -

javascript - cocos2d-js draw circle not instantly -