appfabric

EventProvider ActivityId in a call context using AppFabric

十年热恋 提交于 2019-12-11 11:12:44
问题 I am using the EventProvider to write events that eventually get written to Appfabric. It generally follows the EventProvider implementation as specified here. I am using this from with in a WCF service. The service calls other methods asynchronously, so the logic of service operates on multiple threads. As I understand the E2EActivityId of events use Trace.CorrelationManager.ActivityId which is stored in Thread's TLS. I tried setting the EventProvider.SetActivityId(ref ..) method before

WF4 Workflow under AppFabric not resuming properly after IISreset

北战南征 提交于 2019-12-11 05:58:18
问题 Folks, I've been having some trouble with a WF4 problem. I'm modeling a batch engine/work scheduler after Ron Jacobs' demo in his endpoint.tv webcast (http://archive.msdn.microsoft.com/wf4BatchJob). In his example, the "work branch" just counts inside a while loop. For my sample, I send a message to another workflow called SampleEngine.xamlx which does the counting. Every count, this workflow calls back to the parent (JobScheduler.xamlx) and reports progress completed. This works perfectly

Estimating simultaneous Azure Appfabric Cache Connections

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-11 05:28:39
问题 I'm doing some planning for crisis situations (last time we went from 4k visitors a day to 1.3M) and I notice that the lower end of the Azure AppFabric cache has some pretty low simultaneous connection limits 128Mb & 256Mb cache =10 concurrent connections for instance. I'm using cache for webrole session state - but only putting things in it in a very limited set of circumstances (live site has peaked at 0.03MB last month!) How do I figure out the maximum number of connections - is that going

AppFabric Installation Error Code 1603

不打扰是莪最后的温柔 提交于 2019-12-11 01:45:08
问题 I realize this question has been asked but all solutions posted haven't led to great success as of yet. Here's 2 of the 3 logs. I am more than likely missing something here but your assistance is greatly appreciated. AppServerSetup 2013-05-20 18:14:31, Information Setup ===== Logging started: 2013-05-20 18:14:31+00:00 ===== 2013-05-20 18:14:31, Information Setup File: c:\8c8907b82db6eed5f944bf8137\setup.exe 2013-05-20 18:14:31, Information Setup InternalName: Setup.exe 2013-05-20 18:14:31,

APPFabric Caching or SQL server - Specific scenario

萝らか妹 提交于 2019-12-10 23:49:34
问题 I am having difficulties figuring out if APPFabric caching or SQL Server should be used in the context of our needs (considering the fact that we are currently using SQL server for most things). We only need (for now) to cache small chunks of data (~16KB) each of them corresponding to the information associated to a particular request that was sent from one of the applicative server (outgoing request). Any of the applicative server can receive incoming request associated to the initial

AppFabric Cache 'Design' - Caching Individual Items or Collections?

戏子无情 提交于 2019-12-10 13:58:31
问题 We are in the process of scaling one of our web applications from a single server to a web farm. The application currently uses the Http runtime cache to cache the reference data for the application. The data is 'similar' to product catalog: categories (ie List) products (ie List) As the data is updated very infrequently, we also pre-compute some lookups ProductsByCategory (ie. Dictionary) The collections are currently cached as whole objects... ie the entire list / dictionary is get and put.

Appfabric caching for database dependency

爱⌒轻易说出口 提交于 2019-12-10 11:52:23
问题 We believe the AppFabric caching is a good fit for the caching requirement. However, we also want to implement some sort of database dependency, i.e. the cache should sync with the backend database asynchronously. The read-through and write behind feature seems interesting, could anyone please help point us a direction how can we leverage these features in achieving the auto sync behavior between the appfabric and database? Thanks a lot! 回答1: SqlDependency can be used to notify to your

Best Practices: Using Session in Windows Azure with multiple instances

末鹿安然 提交于 2019-12-10 10:14:59
问题 Can anyone tell me that if I use Session(inside an ASP.NET MVC 3 application) in Windows Azure environment with multiple instances(means multiple virtual machines), then it work without any configuration or I need to use ASP.NET Universal Providers or I need to handle this manually by using AppFabric? 回答1: You can't use in-process session state, but must use a shared session state provider. The only supported session state model is to use Azure Cache, but you can use a provider that works

Is it possible to adjust AppFabric Cache server to store larger objects?

*爱你&永不变心* 提交于 2019-12-09 16:55:22
问题 I'm getting an error with the AppFabric Cache Server when I presume a larger object graph gets added to the cache. ErrorCode :SubStatus:The connection was terminated, possibly due to server or network problems or serialized Object size is greater than MaxBufferSize on server. Result of the request is unknown. I know for sure its not a network problem. I was able to add a bunch of objects to cache before this particular one. And looking into it, the object is a bit bigger than the others that

Distributed Lock Service with Windows Server AppFabric Caching

点点圈 提交于 2019-12-09 13:07:24
问题 I have an extension method for the Microsoft.ApplicationServer.Caching.DataCache object found in the Windows Server AppFabric SDK that looks like this: using System; using System.Collections.Generic; using Microsoft.ApplicationServer.Caching; namespace Caching { public static class CacheExtensions { private static Dictionary<string, object> locks = new Dictionary<string, object>(); public static T Fetch<T>(this DataCache @this, string key, Func<T> func) { return @this.Fetch(key, func,