service-fabric-stateless

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

Sending request to ASP.Net Core Web API running on a specific node in a Service Fabric Cluster

为君一笑 提交于 2019-12-01 09:37:44
I am working on a Service Fabric Application, in which I am running my Application that contains a bunch of ASP.NET Core Web APIs. Now when I run my application on my local service fabric cluster that is configured with 5 nodes, the application runs successfully and I am able to send post requests the exposed Web APIs. Actually I want to hit the code running on a same cluster node with different post requests to the exposed APIs on that particular node. For further explanation, for example there is an API exposed on Node '0' that accept a post request and execute a Job, and also there is an

Subscribing to Service Fabric cluster level events

核能气质少年 提交于 2019-12-01 05:18:35
I am trying to create a service that will update an external list of Service Endpoints for applications running in my service fabric cluster. (Basically I need to replicate the Azure Load Balancer in my on premises F5 Load Balancer.) During last month's Service Fabric Q&A, the team pointed me at RegisterServiceNotificationFilterAsync . I made a stateless service using this method, and deployed it to my development cluster. I then made a new service by running the ASP.NET Core Stateless service template. I expected that when I deployed the second service, the break point would hit in my first

Subscribing to Service Fabric cluster level events

China☆狼群 提交于 2019-12-01 02:41:12
问题 I am trying to create a service that will update an external list of Service Endpoints for applications running in my service fabric cluster. (Basically I need to replicate the Azure Load Balancer in my on premises F5 Load Balancer.) During last month's Service Fabric Q&A, the team pointed me at RegisterServiceNotificationFilterAsync. I made a stateless service using this method, and deployed it to my development cluster. I then made a new service by running the ASP.NET Core Stateless service

Strange issue with System.Net.Http 4.2.0.0 not found

Deadly 提交于 2019-11-27 03:06:12
I have a strange issue, which drives me crazy… I have a simple Class Library Project (Full .NET Framework, 4.6.1) with a wrapper class for functionality around Cosmos DB. Therefore I have added the “Microsoft.Azure.DocumentDB” NuGet Package 1.19.1 to this project. Other than that, I have a reference to the “Newtonsoft.Json” NuGet Package 10.0.3, as well as to a couple of "Microsoft.Diagnostics.EventFlow.*" NuGet Packages. So far, everything compiles without any error. But as soon as I hit my wrapper class – consumed from a simple Service Fabric Stateless Service (Full .NET Framework 4.6.1) –

Strange issue with System.Net.Http 4.2.0.0 not found

跟風遠走 提交于 2019-11-26 12:17:14
问题 I have a strange issue, which drives me crazy… I have a simple Class Library Project (Full .NET Framework, 4.6.1) with a wrapper class for functionality around Cosmos DB. Therefore I have added the “Microsoft.Azure.DocumentDB” NuGet Package 1.19.1 to this project. Other than that, I have a reference to the “Newtonsoft.Json” NuGet Package 10.0.3, as well as to a couple of \"Microsoft.Diagnostics.EventFlow.*\" NuGet Packages. So far, everything compiles without any error. But as soon as I hit