azure-service-fabric

Azure Service Fabric client call to an Actor service from a remote machine returns unkown address error

你。 提交于 2019-12-11 03:42:45
问题 When trying to connect to a remote dev cluster using the following sample code: var proxy = ActorProxy.Create<IActor1_NoS>(ActorId.NewId(), "fabric:/applicationname"); I get the following error: System.Fabric.FabricException : The supplied address was invalid Note that this code works fine when ran locally from the dev cluster machine. The Dev cluster manifest file has been modified to listen on the machine IP address. The remote machine is a Windows 7. All Service Fabric assemblies were

VSTS Service Fabric Release to Azure: Exception calling “.ctor” with “1” argument(s): “Value cannot be null. Parameter name: authority”

孤人 提交于 2019-12-11 03:37:44
问题 Following this: https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-set-up-continuous-integration But when I run the actual deploy, I get the following constructor error which is not very helpful. ============================================================================== Task : Service Fabric Application Deployment Description : Deploy a Service Fabric application to a cluster. Version : 1.1.2 Author : Microsoft Corporation Help : [More Information](https://go.microsoft

Should actors/services be split into multiple projects?

落爺英雄遲暮 提交于 2019-12-11 03:09:02
问题 I'm testing out Azure Service Fabric and started adding a lot of actors and services to the same project - is this okay to do or will I lose any of service fabric features as fail overs, scaleability etc? 回答1: My preference here is clearly 1 actor/1 service = 1 project. The big win with a platform like this is that it allows you to write proper microservice-oriented applications at close to no cost, at least compared to the implementation overhead you have when doing similar implementations

MS Service Fabric Installation Error

谁说我不能喝 提交于 2019-12-11 03:08:57
问题 I'm attempting to install MS Service Fabric SDK and Tools v2.4.145 (VS2015) and unfortunately the installation has failed. Looking at the 8.5k log file provided, the appropriate section out of the log file I believe to be causing the problem is as follows: InstallDrivers: OpenService LeasLayr successfully. InstallDrivers: Ignore ControlService LeasLayr error code: 1052. InstallDrivers: Error 0x80070430: DeleteService LeasLayr failed with error code: 1072. InstallDrivers: Driver Path = C:

Where to put my IoC Container configuration in Service Fabric Service?

拥有回忆 提交于 2019-12-11 02:45:39
问题 I was thinking in placing the IoC Container dependencies configuration under RunAsync method in the Service class but I have a bad feeling that's not the right place to go.. Is there any convention in Azure Service Fabric Services to place this type of configurations without causing any sort of conflicts? Also, where would you place the dispose call? Note: I'm using Simple Injector for this but other examples from other IoC containers should do too. 回答1: You can create your IoC container in

Could not load file or assembly System.Fabric with Azure Functions

試著忘記壹切 提交于 2019-12-11 02:26:35
问题 Are there any restrictions with packages you can use with Azure Functions. I have researched as much as I can and it doesn't seem so, however when I try creating an Azure Function that references the package "Microsoft.ServiceFabric" I get the following error: System.Private.CoreLib: Exception while executing function: ScaleDownServiceFabrics. FunctionApp2: Could not load file or assembly 'System.Fabric, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. Could not find or

Service Fabric: The EntryPoint Blah.exe is not found

落花浮王杯 提交于 2019-12-11 02:06:39
问题 I did some project renaming and changed the folder structure and now I can't deploy my service fabric app to my local service fabric cluster. Register-ServiceFabricApplicationType : The EntryPoint IdentityService.exe is not found. The app was called IdentityApp and is now TheProject.Identity.App The service was called IdentityWeb and is now TheProject.Identity.Service More Log Details Started executing script 'Deploy-FabricApplication.ps1'. . 'C:\Users\mdepouw\source\repos\TheProject

Can a Service Fabric Container project pull from Docker Hub?

大城市里の小女人 提交于 2019-12-11 01:49:19
问题 I have created a new Service Fabric Container project in Visual Studio that I am trying to test by publishing to the local cluster. I have created a Windows Container image that I have run locally in Docker. I pushed the image to a private registry in Docker Hub. When I publish the project to the local cluster, it deploys, but then I get an error: Error event: SourceId='System.Hosting', Property='Download:1.0:1.0'. There was an error during download.Failed to download container image docker

Dynamically creating services in an service fabric application

断了今生、忘了曾经 提交于 2019-12-11 01:01:46
问题 This is a bit descriptive so please bear with me. :) In the application that I'm trying to build, there are distinct functionalities of product. Users can choose to opt-in for functionality A, B, D but not C. The way I'm building this, is that each of the distinct functionality is a Service (stateless, I'm thinking of storing the data in Azure SQL DBs and exposing REST APIs from each service). Bundled all services together is an ApplicationType. For each customer tenant (consider this as an

Visual studio 2017 is not recognizing project of type .sfproj

允我心安 提交于 2019-12-11 01:01:03
问题 I'm trying to open a solution that I downloaded from a source code for the first time using Visual Studio 2017 . I got an error: This version of visual studio is unable to open the following projects. The project types may not be installed or the … blah blah . I figured out that the type of project VS is complaining about is of type .sfproj , which I found out is means **Azure Service Fabric **. I've installed the latest version of Azure Service Fabric SDK , as the documentation says, but I'm