开发者

How to Sync a C# Application in-memory object

I have a WCF service to be load balanced with NLB (Windows Network Load Balancer). So I need a Dictionary object to be synced across all the instances of the WCF s开发者_JAVA百科ervice.

What is the best possible way to do this?


WCF Services are by nature, stateless. You can turn on classic mode and use session, but session will have to be stored in the database. You can share in-memory objects across servers.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜