I'm thinking about writing a distributed application usng .net remoting. but i'm not sure about one thing.

The app i want to make will consist of a server and a client (surpruise surprise)
i want the server to always hold an object in memory (a dataset for example).
the client will query the server, the server will then search the dataset and the return the result.

How can the remotable object access the server apps dataset (that already exists) without creating the object.

What i mean is that for performance reasons i want the server to always hold the dataset in memory, and for the remotable object to be able to access it. but i'm not sure how it can.

I think maybe i'm thinking about this in the wrong way. but essentially what i want is:

a server that holds an object in memory and that searches that object when requested by a remote client.