Create Csla.Mvvm, move ViewModelBase<T> & other non-UI specific classes to it #1765
Unanswered
ajohnstone-ks
asked this question in
Ideas
Replies: 1 comment 5 replies
-
I agree, and built Bxf years ago to support some of what you are talking about. Then I decided I didn't want to be sole maintainer of yet another mvvm framework, especially given the great work being done in MvvmLight and others. So I really haven't touched Bxf for a long time. That said, I am open to the idea of a |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We're using Csla.XamarinForms & Csla.Wpf, both of which define ViewModelBase. We're trying to keep our VMs UI agnostic, as we'd like to move our WinForms app to WPF (or possibly UWP), and unify some use cases between our Mobile app, which is XF & desktop app.
It seems like ViewModelBase & possibly some other code in Csla.Xaml.Shared could really just be in a non-UI specific Csla.Mvvm library. The advantage is that our NS VM library code wouldn't implicitly pull in a dependency on XF. We're getting around this for now by having a separate .Net framework VM library with the VM code actually in a shared project, but it would be great to reduce things to a single .Net standard base.
Csla.XF could then continue to have things that actually depend on the UI like the PropertyInfo control.
This is similar to how MvvmLight has been splitting things up, with the Mvvm parts separated from the things that are really view related.
Beta Was this translation helpful? Give feedback.
All reactions