Alternative to statics (OperationContext.Current et al)
Mainly for testability - it should be able to inject the context into your service instance.
38
votes
1 comment
-
Hasan Turksoy
commented
+1 for testability... for instance injecting different identity information into SecurityContext would be a good way to test windows authenticated services.