appfabric

Using a mix of AppFabric local cache and server cache

前提是你 提交于 2020-01-03 16:48:50
问题 I'm just starting out using AppFabric... My application is in healthcare - we have about 15000 users of the system and they access patient information in bursts (e.g. think of a team of nurses/doctors accessing a patient when they are hospitalized). What I'd like to do is cache certain items (e.g. patient demographics info) in memory and other items (e.g. labs, medications, diagnostic imaging, reports) on the cache host server. The underlying data comes from various 3rd party systems, some of

Why 2 kinds of AppFabric?

怎甘沉沦 提交于 2020-01-03 08:07:13
问题 I see that we now have both Windows Server AppFabric and Azure AppFabric. Is this just a namespace collision in the Microsoft marketing department or do these technologies share common interfaces? Someone told me that is was possible to run an application using Azure AppFabric on a local production server, then change the deployment target to Azure on demand. Is this possible and consistent with Azure licensing? If so, can we use Windows Server AppFabric on the local server in this scenario?

Power shell: Import-Module

狂风中的少年 提交于 2020-01-02 02:03:14
问题 I have been trying to us the app fabric caching on a win2008 standard server. When I execute the follwowing command I get: Import-Module DistributedCacheAdministration Import-Module : The specified module 'DistributedCacheAdministration' was not loaded because no valid module file was found in any module directory. Where is this directory located and how can I use that module Also, it appears that I have powershell 1. I cant seem to install powershell 2 回答1: Modules and their commands is a

Microsoft.ApplicationServer.Caching namespace will it support with out appfabric server caching?

人走茶凉 提交于 2019-12-25 01:54:17
问题 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

Is it possible to be notified when AppFabric is evicting least recently used objects under memory pressure?

末鹿安然 提交于 2019-12-25 01:44:56
问题 I'm using AppFabric for Windows Server 1.1 with Entity Framework and the Entity Framework Cache Adapter. Recently, for one of our customer, we encountered memory pressure on one of the cache node. AppFabric Cache started evicting least recently used objects. The problem is that the Entity Framework Cache Adapter stores objects in dependent regions. So if a region is cleared or removed by AppFabric, the cache adapter must remove objects in the dependent regions as well. I've successfully

Windows Server AppFabricCache, Exception, Check the client version

橙三吉。 提交于 2019-12-24 21:45:03
问题 I'm trying to build and run WindowsServerAppFabricSamples CacheAPISample application. I had to install Microsoft.WindowsAzure.Caching version 2.3.1.0 from nuget to build. My config is: <?xml version="1.0" encoding="utf-8"?> <configuration> <configSections> <section name="dataCacheClients" type="Microsoft.ApplicationServer.Caching.DataCacheClientsSection, Microsoft.ApplicationServer.Caching.Core" allowLocation="true" allowDefinition="Everywhere"/> <section name="cacheDiagnostics" type=

Can I access Azure AppFabric Cache from development emulator?

对着背影说爱祢 提交于 2019-12-24 15:24:45
问题 I am getting below exception when I access Azure cache from my dev azure application. ErrorCode:SubStatus:There is a temporary failure. Please retry later. (One or more specified cache servers are unavailable, which could be caused by busy network or servers. For on-premises cache clusters, also verify the following conditions. Ensure that security permission has been granted for this client account, and check that the AppFabric Caching Service is allowed through the firewall on all cache

AppFabric 1.0 error Server collection cannot be empty

自作多情 提交于 2019-12-24 04:46:08
问题 I am getting the following error when I run the simple Windows Server App Fabric 1.0 demo console application: ErrorCode<ERRCA0021>:SubStatus<ES0001>:Server collection cannot be empty. Please help me.. What am I missing..?? I have looked every where on the internet and nothing seems to be fixing this issue. thanks.. My application is as follows: static void Main(string[] args) { var factory = new Microsoft.ApplicationServer.Caching.DataCacheFactory(); <--- *** Error here var cache = factory

When using Azure AppFabric Cache as a Session State Provider what causes a transaction

烈酒焚心 提交于 2019-12-23 06:32:06
问题 I have AppFabric Cache configured as the Session State Provider for an ASP.NET MVC application. Not all pages access session state (in fact only a few ajax requests do, the main pages commonly accessed by the site users don't, in order to make them cacheable) Give the hourly transaction limit on AppFabric cache, what causes the Session Provider to execute a transaction with the Cache ? (See @knightpfhor answer on Estimating simultaneous Azure Appfabric Cache Connections for the source of this

AppFabric/NCache - will these solve HttpRuntime.Cache objects being updated by reference?

孤街醉人 提交于 2019-12-23 04:56:12
问题 When using the HttpRuntime.Cache in an ASP.NET application, any item retrieved from the cache that is then updated will result in the cached object being updated too (by reference). Subsequent reads from the cache will get the updated value, which may not be desirable. There are multiple posts on this subject, for example: Read HttpRuntime.Cache item as read-only And the suggested solution is to create a deep-copy clone using binary serialization. The problem with binary serialization is that