WCF Service and Properties
Posted
by Karnalta
on Stack Overflow
See other posts from Stack Overflow
or by Karnalta
Published on 2010-04-28T12:56:47Z
Indexed on
2010/04/28
13:03 UTC
Read the original article
Hit count: 348
Hi all,
Here is my question, I have a solution with 4 projects in it for a WCF Service :
- DLL Library : Service Interface.
- DLL Library : Service Code.
- Form Application : Service hosting application.
- Form Application : Service client application.
I'd like to have certain properties of the service accessible for the hosting application but not for the client one. If I declare a property in the client interface they will both have access to it.
In fact, my service manage user identity login and keep a list of all user currently logged in. I'd like to be able to show this list in the Hosting application, like a debugging tool. But I don't want the service client to be able to access to this list.
How can I do ?
Thank in advance.
© Stack Overflow or respective owner