Questions tagged [service-fabric-stateful]
222 questions
58
votes
11 answers
Found conflicts between System.Net.Http
I have several projects in my VS solution. Whenever I add "System.Net.Http" NuGet package to one it shows as version 4.2.0.0. Then I do the same and add same NuGet Package, however, the other says version. 4.1.1.2
Then I get a warning:
Found…

ShaneKm
- 20,823
- 43
- 167
- 296
14
votes
2 answers
Service Fabric Actor or Service Becomes Inaccessible at Random after Upgrading to SDK 2.3.301
After upgrading from Service Fabric SDK 2.0.135 to 2.3.301, we have started encountering situations where a Service Fabric actor or service is inaccessible in spite of showing as healthy in Service Fabric Explorer. Once in this state, any call to…

Shaun
- 667
- 8
- 15
13
votes
3 answers
Getting error in service fabric "The application URL is not set or is not an HTTP/HTTPS URL so the browser will not be opened to the application"
When trying to run my service in service fabric cluster, the Output window says
"The application URL is not set or is not an HTTP/HTTPS URL so the browser will not be opened to the application".
Am I missing a configuration step?

Talha Abdul Muqsit
- 139
- 1
- 1
- 4
10
votes
1 answer
Service Fabric Stateful Service Remoting V2
I have a Stateful Service called by a Stateless service, in .Net Standard Asp.net Core 2.0 running on Visual Studio 15.4.
I can't make the Service Remoting V2 work.
The old code in the Stateful service that worked for V1 is not valid anymore
…

Francesco Cristallo
- 2,856
- 5
- 28
- 57
6
votes
3 answers
Deploy a C# Stateful Service Fabric application from Visual Studio to Linux
EDIT 04/06/18 => Updated question with last status
So I have this working .Net 4.6 Stateful Service that currently run on my Windows Service Fabric cluster deployed on Azure.
Starting from 09/2017, I should be able to move to Linux:…

ken2k
- 48,145
- 10
- 116
- 176
6
votes
3 answers
Partition is in quorum loss
I have a Service Fabric application that has a stateless web api and a stateful service with two partitions. The stateless web api defines a web api controller and uses ServiceProxy.Create to get a remoting proxy for the stateful service. The…

Dismissile
- 32,564
- 38
- 174
- 263
5
votes
1 answer
ProtoBuf - Azure Service Fabric
I am looking at replacing the default serializer for RPC in ASF. This involves implementing a few interfaces, one of which is passed between services communicating via RPC
public interface IServiceRemotingResponseMessageBody
{
void Set(object…

KnowHoper
- 4,352
- 3
- 39
- 54
5
votes
1 answer
Why are my Service Fabric actors using more disk space than expected?
I am trying to understand why our actor service is using more disk space than expected. Our service currently contains around 80,000 actors distributed over 10 partitions. Each actor stores around 150Kb of state.
Looking at one (out of 10) nodes in…

veertien
- 457
- 5
- 18
5
votes
1 answer
How to restore Reliable Service state from existing backup?
I have a Stateful Service with backup logic implemented according to the corresponding documentation
Just like so:
protected override async Task RunAsync(CancellationToken cancellationToken)
{
// ...
while (true)
{
…

Pavel S.
- 1,267
- 14
- 19
4
votes
1 answer
Register IReliableStateManagerReplica using Autofac
I have Stateful Service fabric service which has the below constructor.
public StatefuleService(StatefulServiceContext context, IReliableStateManagerReplica manager,
IActorProxyFactory actorProxyFactory = null)
: base(context, manager)
…

kowsalyav
- 41
- 5
4
votes
1 answer
Client is trying to connect to invalid address on Service Fabric ServiceProxy
I have an Asp.net Core 2.0 stateless Service and an Asp.net Core 2.0 stateful service on Service Fabric 6 with 10 partition count.
I followed this tutorial
https://learn.microsoft.com/en-us/azure/service-fabric/service-fabric-add-a-web-frontend
I…

Francesco Cristallo
- 2,856
- 5
- 28
- 57
4
votes
1 answer
Service Fabric Reliable Collections Performance
I need to store a lot of data in Reliable Dictionaries on Service Fabric. We are implementing an event store as a number of Reliable Dictionaries, so every event emitted by the domain ends up in the store. I would like to know the difference in…

Cpt Slow
- 370
- 3
- 18
4
votes
4 answers
Sharing Azure Service Fabric Reliable Queues Between Services
I'm diving into Service Fabric (from the Cloud Services world) and am hitting a few speed bumps with how ReliableQueues work.
Let's say I have 2 stateful services StatefulService1 and StatefulService2.
If I need to have StatefulService1 send a…

INNVTV
- 3,155
- 7
- 37
- 71
4
votes
1 answer
Http Communication between Azure Service Fabric services
My situation:
Stateful Service
Stateless WebAPI that acts as an endpoint for non-SF applications to hit my Stateful Service.
Stateful Service and Stateless WebAPI are communicating via RPC. I followed this tutorial…

TheSugoiBoi
- 160
- 1
- 13
4
votes
2 answers
Is there an established pattern for paging in Service Fabric ReliableCollections
In reliable collections (specifically IReliableDictionary), an approach for implementing 'common' queries is to update a secondary dictionary which structures the keys to be ordered a specific way in an enumeration. For large data sets, I would…

Justin Blakley
- 458
- 4
- 16