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
- Host: GitHub
- URL: https://github.com/bobjac/remoteclustersample
- Owner: bobjac
- Created: 2017-01-21T18:43:41.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-01-21T18:49:08.000Z (over 9 years ago)
- Last Synced: 2025-12-07T03:44:46.297Z (7 months ago)
- Language: C#
- Size: 22.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)