Microsoft.ApplicationServer.Caching namespace will

2019-09-04 19:23发布

问题:

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.



标签: appfabric