Link to home
Start Free TrialLog in
Avatar of sgarg
sgarg

asked on

DataSet over remoting

I need to return large amount of data over remoting. I understand that remoting is not good for large datasets. I tool the wrapper class code from microsoft site and when I use that method, it takes even longer. My question is what is the best way to transfer large set of data from the remoting to the client as efficiently as possible.

I specifically need some samples how I can serialize/deserialize data (dataset) using binary formatting.

Any help is greatly appreciated. I have spent enough time figuring out myself but not making much progress as far as performance is concerened.

Thanks
Avatar of Bob Learned
Bob Learned
Flag of United States of America image

Can you describe you environment?

1) .NET version?  2002, 2003, 2005

2) Network?

3) Are you going to cross domain boundaries?

4) Reason for wanting .NET Remoting?

Bob
ASKER CERTIFIED SOLUTION
Avatar of gregoryyoung
gregoryyoung
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of devsolns
devsolns

Yes .NET remoting is the most efficient way to communicate across app domains.  How large are these datasets in MB?  The serialization/deserialization is done for you.  You can implement your own custom formatters if you'd like.  Compression may be an option.

A good question was brought up above, why are you considering .NET remoting?  Its primarily usefull in a distributed systems environment.  
Is your dev environment .NET only?  
What does your architecture look like?  
Are you using Singleton or SingleCall?