Hi
We have just started working on WPF.
We have designed below architecture for our application; please let me know if anyone has any input in this:
1.View – All XAML Window and User Controls
2.ViewModel – ViewModel class for each view
3.Service – Multiple service classes for view model (Generally one service class for one view model)
4.Business - Business logic methods which will be called from Services or View Models
5.Model – Entity Framework object and partial classes of entity
6.Common - View Administrator and Enum class
7.Converters – Value Converters which will be used in ViewModel
We are using MVVM light to develop this application and running through below basic questions:
1.If we are using Entity Framework then can we skip Service Classes (we are not using WCF)?
2.In ViewModel can we write basic data access methods in Service classes and RelayCommand methods (which will be called from ViewModel) in Business classes (BLL)? (I mean to say is this correct method?)
Appreciate all your help and suggestions.
Thanks in advance.
Somnath