CSLA project with WinForms and WEB MVC5 client

CSLA project with WinForms and WEB MVC5 client

Old forum URL: forums.lhotka.net/forums/t/12757.aspx

Luigi posted on Sunday, September 21, 2014

I have complex project with win forms UI and I would like to extend the new features using web MVC 5 UI.

Have I to duplicate the business objects and their code in business layer because of the different data binding technologies?

For example, for WinForms UI I use readonly root list stereotype business object (inherits from ReadOnlyBindingListBase<T,C>) and I would like to use the same business object in Web MVC interface but in this case I have to inherit from ReadOnlyListBase<T,C>.

JonnyBee replied on Monday, September 22, 2014


ASP.NET and MVC works fine with both BindingLists and ObservableCollections. So in MVC x you do not have to use the ObservableCollection classes!. 

The BindingList based classes still exists in CSLA in order to support Windows Forms Databinding.
If we could stop support for Windows Forms then we could retire these base classes. 

Copyright (c) Marimer LLC