An open API service indexing awesome lists of open source software.

https://github.com/bobjac/remoteclustersample

Sample of Service Fabric client connecting to remote cluster
https://github.com/bobjac/remoteclustersample

Last synced: about 1 month ago
JSON representation

Sample of Service Fabric client connecting to remote cluster

Awesome Lists containing this project

README

          

## Run this sample

Alphabet partitions is an intro to partitioning stateful services in Service Fabric. It uses letters of the alphabet as partition keys into a stateful service with 26 partitions - one for each letter of the alphabet.

To run this services:

1. Open the .sln solution file in Visual Studio 2015
2. Press F5 to run

You can access the application in a web browser by going to:

**http://localhost:8081/alphabetpartitions?lastname=test**

Try different values for lastname to see data get sent to different partitions.

## Next Steps

1. Deploy the Service Fabric application to a remote cluster
2. Update the client App.config to contain to two remote connection strings to the cluster (you should find these from the cluster itself)
3. Execute the client executable and note the partition id

- [Read more about partitioning](https://azure.microsoft.com/en-us/documentation/articles/service-fabric-concepts-partitioning)