开发者

Is it safe to use ThreadStatic variable in WCF?

I need to put request specific data in WCF? Is it safe to use ThreadStatic 开发者_开发技巧variable in WCF?


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜