Solved

DataSet over remoting

Posted on 2006-07-07
5
542 Views
Last Modified: 2012-06-27
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
0
Comment
Question by:sgarg
5 Comments
 
LVL 96

Expert Comment

by:Bob Learned
ID: 17065206
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
0
 
LVL 37

Accepted Solution

by:
gregoryyoung earned 500 total points
ID: 17067181
I think you are looking for something like this http://www.eggheadcafe.com/articles/20031219.asp

Cheers,

Greg Young
0
 
LVL 13

Expert Comment

by:devsolns
ID: 17072485
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?
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A basic question.. “What is the Garbage Collector?” The usual answer given back: “Garbage collector is a background thread run by the CLR for freeing up the memory space used by the objects which are no longer used by the program.” I wondered …
This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question