I am looking for possible solutions for the following scenario:
- I have a service that stores a large amount of data in memory, and also updates data at a very high frequency.
- I want to make this data request available to clients over the Internet.
Ideally, I would like the client to write the LINQ query on the client side against the proxy object model, serialize the expression tree, send the serialized query over the wire, make sure that the client performs only read operations, and then return a dynamic result set.
Unfortunately, it is not so simple to serialize / deserialize the expression tree, as well as provide read-only operations (prohibiting malicious requests).
One idea was to use the LINQ to SQL provider to serialize the query, and then use the server-side Entity SQL to deserialize the query and re-run it in my object model.
In any case, I was wondering what other elegant options I have when creating this service.
Thanks,
Tom
source share