Having never touched WCF before, I am having a play now.
The first thing I wanted to do, was restrict people from using certain methods until after they had successfully authenticated.
For testing purposes, I added a class level boolean property which I set to true inside an Authenticate method. My theory was that I could then simple check that variable in each method they called to see if I needed to throw them out, or allow them to continue on.
What I found though, was that, even though one method would set the property to True, the next method would read it's value as False again.
This led me to wonder if you can even use properties in WCF services, or do they go out of scope after each method call?
I found a couple of articles, which thankfully assured me that I wasn't the first person to wonder this, but even following their code tweaks, I couldn't get a class level variable to 'stick'.
Am I going about this wrong way?