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
Post a Comment