appfabric

Creating a High Availability AppFabric Cache Cluster

狂风中的少年 提交于 2019-12-09 06:28:36
问题 Is there anything aside from setting Secondaries=1 in the cluster configuration to enable HighAvailability, specifically on the cache client configuration? Our configuration: Cache Cluster (3 windows enterprise hosts using a SQL configuration provider): Cache Clients With the about configuration, we see primary and secondary regions created on the three hosts, however when one of the hosts is stopped, the following exceptions occur: ErrorCode<ERRCA0018>:SubStatus<ES0001>:The request timed out

AppFabric development on Windows XP?

爱⌒轻易说出口 提交于 2019-12-08 02:49:34
问题 Installed app fabric x64 on Windows Server 2008. Copied Microsoft.ApplicationServer.Caching.Client.dll and Microsoft.ApplicationServer.Caching.Core.dll from %windir%\System32\AppFabric ref to Win XP Pro 32-bit dev machine. Added reference to both these files in project Added using Microsoft.ApplicationServer.Caching; Cleaned solution Receive error: The type or namespace name 'ApplicationServer' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?) Any ideas?

Azure ServiceBus returns null on Client.Receive()

僤鯓⒐⒋嵵緔 提交于 2019-12-07 18:45:17
问题 I have a problem with receiving messages from a queue i have set up in azure. I have done this successfully using the same code before but now i just get null when i try to fetch messages. When i view the queue in azure management console i clearly see that the queue contains 5 messages. Here is the code: ServiceBus SB = new ServiceBus(); Microsoft.ServiceBus.Messaging.BrokeredMessage message; while (true) { message = SB.ReceiveMessage("orders"); if (message == null) { break; } Procurement

Unable to reference WSDL of WCF web service hosted on AppFabric

荒凉一梦 提交于 2019-12-07 06:12:16
问题 I have developed a WCF service and, while in Visual Studio 2010, I can import the WSDL without a problem. After I've deployed it to AppFabric, I get the WSDL, but several schema files referenced internally in the WSDL cannot be found, for some reason. I don't know if it's a configuration issue, or what. The error I get when I try to process the WSDL in Visual Studio 2010 follows below: Metadata contains a reference that cannot be resolved: 'http://myserver.mydomain.com:9871/app_deploy

AppFabric DataCacheFactory() initialization hangs in VS2013, works fine in VS2010 and VS2012

跟風遠走 提交于 2019-12-07 03:39:59
问题 I have an application that has been working for a while. I tried running it with VS2013 and it hangs on a line where it tries to initialize a DataCacheFactory object. The same code works fine with VS2010 and VS2012. private static DataCacheFactory GetDataCacheFactory() { if (factory == null) { lock (lockObject) { if (factory == null) { factory = new DataCacheFactory(); //VS2013 hangs on this line } } } return factory; } No errors are generated. The code just hangs on the line factory = new

Azure AppFabric vs. Server AppFabric - today

只谈情不闲聊 提交于 2019-12-07 03:38:48
问题 Via Google, I found another question on stackoverflow regarding the differences and similarities between Azure AppFabric and Windows Server AppFabric. It was mentioned that both versions of AppFabric come closer together or even melt together. This post is almost 2 years old and today in 2012, I still struggle with trying to unterstand the plan behind both AppFabric versions. From my point of view, I worked with the Azure AppFabric (Caching, Service Bus, ACS) and I am familiar with it. But

C# memory leak?

放肆的年华 提交于 2019-12-07 03:30:40
问题 I am testing appfabric cache performance. To do this, from my local machine , I am hitting the cache host on the LAN. This cache host is running on Windows Server 2008 and except from the bare essentials has nothing installed on it. It has 8 gigs of RAM. It is also a VMware virtual server, As soon as I hit the cache host, i can see the memory being used increases. But something very fishy is going on somewhere. the total primary data bytes that is being used is 1.5 Gigs. The Object size is 1

Is Windows Azure AppFabric Service Discontinued?

寵の児 提交于 2019-12-07 03:22:45
问题 I am using Azure, and Microsoft offers a service to work with AppFabric in the cloud, there are many articles around the Web about this service in the cloud, but I do not find it in Azure, you'd tell me if this service was renamed and that's why I can not find or was it discontinued? 回答1: The services were renamed. Initially, Microsoft used the tag AppFabric for two different things: Windows Server AppFabric (local computer) Windows Azure AppFabric (cloud services) In 2012, Microsoft dropped

App Fabric Visual Studio 2013 Issue

回眸只為那壹抹淺笑 提交于 2019-12-06 13:49:14
问题 I've upgraded my solution to work with VS2013. All builds fine. However it seems to an issue with initialising AppFabric and it appears to be hanging on the line: new DataCacheFactory(); The exact same code is working fine in VS2010 so it's completely thrown me! 回答1: Can you take a hang dump of your client application when it is in a HUNG state using the Debug Diagnostic 2.0 tool (http://www.microsoft.com/en-us/download/details.aspx?id=40336) and then analyze the dump file by just double

AppFabric development on Windows XP?

狂风中的少年 提交于 2019-12-06 05:57:10
Installed app fabric x64 on Windows Server 2008. Copied Microsoft.ApplicationServer.Caching.Client.dll and Microsoft.ApplicationServer.Caching.Core.dll from %windir%\System32\AppFabric ref to Win XP Pro 32-bit dev machine. Added reference to both these files in project Added using Microsoft.ApplicationServer.Caching; Cleaned solution Receive error: The type or namespace name 'ApplicationServer' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?) Any ideas? Thanks! Did you verify that you were using .NET framework >= 2.0? Do not use the client profile for the