ASP.Net to Blazor Migration #3610
-
I'm working on a project to transition an ASP.Net 4.8 WebForms application with over 1600 CSLA classes (mostly CSLA 4, some from VB 2008 Business Objects) to a Blazor application using Yarp and CSLA 7.X. This migration presents two main challenges: 1. DataPortal Adaptation
Are there potential issues with this direct approach? 2. Long-Term Migration Strategy Is it feasible to have multiple CSLA Business Libraries, each on different CSLA versions (7.* or newer), coexist in the same Blazor Web Application? Thank you for your assistance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
This is a valid way of implementing a data access layer, discussed in the Using CSLA: Data Access book. It has the advantage of being the simplest model, and perhaps the fastest as it has the least abstraction. It has the disadvantage of having little abstraction and so if your data access tooling/framework changes over time you'll have to fix the code in every domain class. It is possible, with some work, to use multiple versions of CSLA at the same time. You need to build your own version of the CSLA assemblies, and change the namespace from There may be other challenges with older versions of CSLA around settings and |
Beta Was this translation helpful? Give feedback.
This is a valid way of implementing a data access layer, discussed in the Using CSLA: Data Access book.
It has the advantage of being the simplest model, and perhaps the fastest as it has the least abstraction. It has the disadvantage of having little abstraction and so if your data access tooling/framework changes over time you'll have to fix the code in every domain class.
It is possible, with some work, to use multiple versions of CSLA at the same time. You need to build your own version of the CSLA assemblies, and change the namespace from
Csla
to a version-specific thing likeCsla70
or something - then make sure you are using the right namespace for the version you want to use …