- Using 5.1.163 version of service fabric run time.
- Created a service fabric application with one stateless web api (i.e. using owin communication listener).
- Modified the generated code so that listening endpoint to contain partition id/instance id/new_guid (just as is the case for stateful services). This should allow me to create another app instance so that I can have multi-tenancy at application level.
- By default, Local.xml file is set to 1 instance for this service.
- Deployed it to local machine by F5. Verified that it is deployed to only one instance.
- Verified that service is working fine.
- Navigated to local service fabric explorer and clicked on the Cluster/Application/AppType node. Clicked on 'Create app instance'.
- It successfully created 2nd app instance.
- However in this new instance, the service is deployed to all 5 nodes.
I was expecting it deploy the service instance only one node. Is this a bug? But only in this version of service fabric?