1

I need to put request specific data in WCF? Is it safe to use ThreadStatic variable in WCF?

Yatin
  • 76
  • 6

1 Answers1

2

I would recommend you to use OperationContext. Here's an example of how you could use it to persist some state.

Darin Dimitrov
  • 1,023,142
  • 271
  • 3,287
  • 2,928