Limit what to replicate


Looking into using Echo with a Echo server. I have a have a rest server (xData w/Aurelius) and I'd like to exclude some entities as they contain way too much data for my clients.

I've been reading the documentation and looking at the examples, but could not find an answer to my question.

So, what would be the best strategy to exclude/limit what data is replicated?

Thank you.

To select which entities should be replicated, you can use the Route method passing an anonymous methods that will filter out entities accordingly to your needs:

Thank you, I playing around with it as we speak. Also I'm looking into maybe having several models, where on might be named "Replication" to limit unneeded datastructure created clientside.

Leif Eirik

1 Like

This topic was automatically closed 60 minutes after the last reply. New replies are no longer allowed.