We are in the process of developing an enterprise project management system using MS.NET (C#).
The internal structure of the system is based on object remoting, which provides a whole lot of great features, but also seems to carry with it a few intricate problems.
The problem is basically that when we access properties and methods of remoted objects, the bad performance forces us to use "ugly" solutions. Let me illustrate this with an example:
Let's assume that "PersonArray" holds 1000 remoted objects of the class "Person". Executing the following code then takes ages!
foreach(Person CurrentPerson in PersonArrray)
If the corresponding code is executed on the server side, the code takes virually no time at all to execute. We have only found one solution that manages to speed the operation up, at least a bit, and that is to send the array to the server side and execute the loop there.
So, the problem is basically that looping over large collections of remoted objects takes ages.
Does anyone know how we can solve the problem? Any tips where we can find in-depth reading about object remoting?
Bite Solutions AB