azure-service-fabric

Azure ServiceFabric samples not logging to ETW

五迷三道 提交于 2019-11-30 03:25:20
问题 I'm running the very first sample of ServiceFabric (Preview version 1.4.87): https://azure.microsoft.com/en-us/documentation/articles/service-fabric-create-your-first-application-in-visual-studio/ , to create a stateful service, and although the sample is running correctly, I'm not seeing the ETW output log information in the diagnostics window. The calls to log are made to ServiceEventSource.Current.ServiceMessage(...) , but when this method (implemented in ServiceEventSource.cs) runs, the

Does Azure Service Fabric do the same thing as Docker?

狂风中的少年 提交于 2019-11-30 00:01:00
My thinking is that people use Docker to be sure that local environment is the same as production and that I they can stop thinking about where are their apps running physically and balancing mechanisms should just allocate apps in best places for that moment. I'm 100% web based and I'm going to move to cloud together with our databases, and what cannot be moved will be seamlessly bridged so the corporate stuff and the cloud will become one subnetwork. And so I'm wondering, maybe Service Fabric already does the same thing that Docker does plus it gives as address translation service (fabric://

Service Fabric Reliable Services Pipeline design

社会主义新天地 提交于 2019-11-29 23:57:40
I need to implement pipeline if Service Fabric's Reliable Services, and I need some guidelines about what of these approaches is preferable from the viewpoint of reliability simplicity and simple good design: I have been investigating this topic a lot as well (to be applied to my work for NServiceBus and MessageHandler ) and would like to provide my thoughts on the matter. However I haven't determined what the best model is yet. If you disregard the practical implementation with ServiceFabric I would categorize the proposed approach in the following order when it comes to reliability: C) The

Service Fabric Multiple Communication Listeners

£可爱£侵袭症+ 提交于 2019-11-29 23:04:34
问题 Basic Idea - I have a stateless service that implements an Owin communication Listener over http to service WebApi based public clients. I want to add a second listener that will receive requests within the cluster over Rpc using the built in ServiceRemotingListener(). The reason is that I don't want this listener to be public as it implements a non-public management interface for the stateless service. Here is the setup...: protected override IEnumerable<ServiceInstanceListener>

Using SignalR with Azure Service Fabric

…衆ロ難τιáo~ 提交于 2019-11-29 14:51:41
Is it possible to use signalR with Service Fabric provided by Microsoft? I'm trying to connect an UWP app and an angularJS app to my stateless reliable service hosted in an Azure Cluster through signalR/websocket connection. But both are not able to open such a connection. On my local machine everything works fine. Is there anything special to consider of using signalR/websockets with Service Fabric? Is there any example? Kevin Daniel Setiono You need to configure the load balancer to the client ip. Then the user will always get to the same node and other users to other nodes. The user to node

Azure Service Fabric missing DLL on production server: FabricCommon.dll

大憨熊 提交于 2019-11-29 14:33:59
问题 I have created an actor service, which runs on a development cluster. An ASP.NET application (hosted separately via IIS), connects to the cluster and uses the actors. This works fine. But when I deploy everything to the production environment, the ASP.NET application fails to connect to the cluster with the below exception. The cluster is hosted on-premise (Windows 2012 R2). The type initializer for 'Microsoft.ServiceFabric.Services.ServiceTrace' threw an exception. Stacktrace: at Microsoft

How to create actor proxy to remote Service Fabric cluster

两盒软妹~` 提交于 2019-11-29 14:11:49
According to the Service Fabric docs ( https://azure.microsoft.com/en-us/documentation/articles/service-fabric-reliable-actors-introduction/ ), an actor proxy is created this way: ActorId actorId = ActorId.NewId(); IMyActor myActor = ActorProxy.Create<IMyActor>(actorId, new Uri("fabric:/MyApp/MyActorService")); await myActor.DoWorkAsync(); Ok, this works and connects to my local cluster. But I cannot figure out how to create a proxy to a remote cluster? (I have a three-node cluster with the IPs 10.0.10.10, 10.0.11.10, 10.0.12.10.) I also tried to use the ServicePartitionResolver , which is

Service Fabric include additional files

…衆ロ難τιáo~ 提交于 2019-11-29 13:16:27
I have a Visual Studios solution containing the following: Service Fabric project Stateless Service Project The stateless service project uses configuration-based dependency injection, meaning the dependencies are loosly coupled with the project itself and not actual VS "project/compilation dependencies". I would like to continue to use Visual Studios, but when I deploy this project it doesn't know about the assembly dependencies (as these are only defined in DI configuration) and therefore it doesn't package up the necessary files and throws exceptions trying to perform dependency injection.

Simulate 10,000 Azure IoT Hub Device connections from Azure Service Fabric cluster

◇◆丶佛笑我妖孽 提交于 2019-11-29 13:03:13
We are developing a .Net Core service that shall be hosted in Azure Service Fabric. This SF Service needs to interact with 10,000 devices registered in Azure IoT Hub via it's AMQP 1.0 SSL TLS endpoints. Each IoT Hub devices has it's own security tokens and connection string provided by the IoT Hub service. For our scenario we need to listen to all cloud-to-devices messages coming from the 10,000 IoT Hub device instances and "route" these to a central Service Bus topic to which the actual "gateways" in the field listen to. So basically we want to forward messages from 10,000 Service Bus Queues

Microsoft Service Fabric Host Service (FabricHostSvc) Hangs on Start

假如想象 提交于 2019-11-29 09:23:28
问题 I've been working with Microsoft Service Fabric since November 2015 and have encountered many issues but now Service Fabric has become completely non-functional on my development machine. Uninstall/reinstall doesn't help. I was using 1.5-preview and have since tried 2.0 to no avail. The problem started when I attempted to run a Service Fabric Application from Visual Studio 2015 Update 1 (as I have done hundreds of times over the past few months). My machine blue-screened (first time I've seen