should help you out I am not sure what you are trying to accomplish... In a mutual certificate authentication, the browser handles the authentication\certificate exchange, and when the user tries to access an endpoint secured by client certificate, the server tells the client(browser) that it requires a certificate to accept the connection and the browser popup a message to the user asking for a certificate to be used, there is a nice write about it here.
wish help you to fix your issue I am trying to call a stateless service from Asp.Net Core Stateless API. I am not able to reach the methods in Stateless Service. , You need to change your CreateServiceInstanceListeners...
To fix this issue As @PRADEEP CHEEKATLA said,Service Fabric itself is an application platform layer that runs on Windows or Linux, whereas Cloud Services is a system for deploying Azure-managed VMs with workloads attached.
Calling a local Service Fabric stateless API using the Service Fabric url
I hope this helps you . You do not use IReliableStateManager directly in Stateless service, rather call Stateful service from Stateless and pass object needs to be saved. For example: Create service proxy of stateful service in stateless service and call its method:
IProductService = ServiceProxy.Create<IProductService>(new Uri("fabric:/SfSample/ProductService"), new ServicePartitionKey(0));
var newProduct = new Product()
Name = product.Name,
Id = product.Id
public class ProductService : StatefulService, IProductService
public async Task AddProduct(Product product)
var products = await StateManager.GetOrAddAsync<IReliableDictionary<Guid, Product>>("products");
using (var tx = StateManager.CreateTransaction())
await products.AddOrUpdateAsync(tx, product.Id, product, (id, value) => product);