Replies: 2 comments 2 replies
-
That's a challenging issue given the age of the technologies involved. I think you'd need to get to CSLA 3.8 (?) to use WCF or asmx instead of Remoting. The problem is that WCF and asmx are also effectively obsolete, so it may or may not be worth the effort. The ideal solution would be to switch to modern CSLA and .NET 8, but you note budget constraints, and such a move wouldn't be trivial. You might consider a low-tech solution, which would be to add code on the client, where you call the data portal. Add a |
Beta Was this translation helpful? Give feedback.
-
There's a couple of things to check/keep in mind:
You should be able to use Polly for retries but might not be that straight forward - or create your own retry code as Rocky said. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
We have a very dated legacy application written using CSLA 2.1.4.2 which has worked flawless for the last 15+ years. Winforms client and DataPortal hosted with on-prem IIS. A client has now moved the DataPortal and hosted as a WebApp on Azure. The application is functioning for the most part but an intermittent exception is raised from the DataPortal_Fetch which is causing frustration for the users:
The user will simply retry the fetch and it will work and everything is good again until the next time. I realize that CSLA 2.1.4.2 is ancient and .NET Remoting should no longer be used but as common with these legacy applications there are no resources or budgets for an upgrade.
A few of questions:
Is anyone aware of the cause of this issue?
Are there any fixes that can be applied?
What would be the minimal amount of effort to upgrade the CSLA version to get away from .NET Remoting? It's a fairly large application - 8 main screens, 120+ forms, 50 reports all backed with CSLA objects.
Any help would be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions