开发者

Is it safe to use ThreadStatic variable in WCF?

开发者 https://www.devze.com 2022-12-25 05:28 出处:网络
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

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

精彩评论

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

关注公众号