Questions tagged [service-fabric-stateless]

Use this tag for questions related to Stateless Azure Service Fabric . No state is maintained in the service.

Stateless Azure Service Fabric. No state is maintained in the service. Longer-term state is stored in an external database. This is your typical application/data layer approach to building services, and it is currently the norm in cloud applications.

References:

  1. Azure Service Fabric Documentation
  2. Service Fabric application scenarios discusses the difference between stateful and stateless Azure Service Fabric configurations and uses.
181 questions
162
votes
25 answers

Strange issue with System.Net.Http 4.2.0.0 not found

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…
7
votes
4 answers

Error System.BadImageFormatException service fabric

Problem I am building service fabric application. When I create a Project and run it its working fine. but when I inject a service in the Api controller it gives me this error I tried to resolved it but not succeeded…
6
votes
1 answer

Code missing after packaging SF stateless ASP.NET Core web application

I created a Service Fabric application with a normal stateless service and a stateless ASP.NET Core web application. Without changing any of the default code I tried to deploy the application. During deployment an error occured:…
6
votes
1 answer

Subscribing to Service Fabric cluster level events

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…
Vaccano
  • 78,325
  • 149
  • 468
  • 850
6
votes
2 answers

How we can perform integration test on service fabric (stateless service)?

I'ld like to perform integration on stateless service in service fabric.Please help me on this. I have created the stateless service like c# web api.
5
votes
1 answer

Remove Server header from self-hosted owin webapi on service fabric

I have been trying to get rid of the "Server" header returning "Microsoft-HTTPAPI/2.0" on my self hosted webapi2 application hosted as a stateless service on azure service fabric. Things that I have tried but did not work: I tried to implement an…
4
votes
1 answer

Service Fabric wcf communication between microservices

I'm trying to make a simple communication between two microservices. So far as a receiver protected override IEnumerable CreateServiceInstanceListeners() { return new[] { new…
4
votes
1 answer

How to restart a Service Fabric Application

I have a gMSA service account running a stateless Service Fabric application. The account has recently been added as a member to a new security group. We don't see that the application is working and I think its because the user claims were loaded…
4
votes
3 answers

More than one instance of stateless service per node

My stateless service receives tasks from Service Bus queue and processes it. I'm trying now to find an optimal way to use resources of Service Fabric node as much as possible. So I see 2 approaches: 1) create several threads inside the service 2)…
Yuriy Gavrishov
  • 4,341
  • 2
  • 17
  • 29
4
votes
0 answers

Hosting .Net Core Web API as Guest Service in Service Fabric

Hi Please can anyone help, I'm trying to get Service Fabric to Host a .Net Core Web API Restful service as a Guest Executable. I'm guessing possibly incorrectly that I should be able to run the exe once I have done the full publish, but it fails…
2
votes
1 answer

Not able to update Nuget version Error "Cannot modify an evaluated object originating"

When I am trying to install the latest version 10.0.3 of NewtonSoft.Json I get the error Cannot modify an evaluated object originating in an imported file ""C:\code2\
2
votes
1 answer

Microsoft.ServiceFabric.Data.Impl.pdb not loaded

I am working on Service Fabric (my first service fabric project). And I get this strange error that says Microsoft.ServiceFabric.Data.Impl.pdb not loaded. I am sure its not mistake in my code because I tried to comment parts of my code and that…
2
votes
1 answer

How to define stateles services that will run per environment in Service Fabric

I have an application manifest with five stateless services defined. I have multiple Application Parameters files, one per environment, to change the number of instances for each service. For one of the environments, I don't want two specific…
2
votes
2 answers

Service Fabric multiple instances issue

I noticed that when I publish my Service Fabric (in 5 node cluster mode) application (with 2 stateless services) it immediately runs on 5 nodes. My ApplicationManifest.xml has this:
2
votes
2 answers

DI in Service Fabric Service Remoting

I have a Service Fabric application with one service which is exposed to Internet (GatewayService) through an ASP.NET Web API and a couple of internal services not exposed to the Internet (let's call one of them InternalService). So far,…
1
2 3
12 13