Microsoft.ApplicationServer.Caching namespace will it support with out appfabric server caching?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
The question I think you're asking is: if I'm using the Microsoft.ApplicationServer.Caching namespace in my code, will it still work if I don't have AppFabric installed on the server?
AppFabric doesn't have to be installed on your web server, all the binaries necessary at runtime will be in your application's bin
folder, but if it isn't installed, you'll need at least one other server that does have it installed. If you don't (or can't) have any servers with AppFabric installed then your application won't be able to use AppFabric caching and you'd be better to look at using System.Runtime.Caching
instead.