Greetings. I am searching for a way to provide a couple "global" parameters to my WCF DataService.
What I would like to be able to do is set a couple properties on the server which will be held onto by the server for future queries by the client.
For example, it would be great when I create my client if in the constructor I can just say:
I can then use param1 and param2 when a client calls my service and use QueryInterceptors to provide filters to the queries. I want to avoid having to write custom WebGet methods.
If there is a way to accomplish this; great!
If there is a way to accomplish this with just 1 call; even better!
Member
210 Points
128 Posts
WCF DataService - Global Parameters
Aug 23, 2010 10:47 AM|votek|LINK
Greetings. I am searching for a way to provide a couple "global" parameters to my WCF DataService.
What I would like to be able to do is set a couple properties on the server which will be held onto by the server for future queries by the client.
For example, it would be great when I create my client if in the constructor I can just say: