I'm studying for Azure certification and I've got this problem:
You are developing a Web API by using ASP.NET Core. You plan to deploy the Web API to a 5-node Service Fabric cluster that is hosted in Azure.
Requirements:
- You must be able to debug the Web API on a local Service Fabric instance before deploying to Azure.
- The Web API must run on every node in the Service Fabric cluster when deployed to Azure.
- The Service Fabric configuration must support scaling of additional nodes.
You need to configure the Web API for local and Azure deployment, setting the right property from "MinReplicaSetSize", "InstanceCount" and "TargetReplicaSetSize".
I haven't find very helpful documentation or examples on this properties.
My solution is to set InstanceCount = 5 for Local and InstanceCount = -1 for Azure environment. But I'm not sure of this.
Is that the right property to set?