“Role discovery data is unavailable” when accessing Azure RoleEnvironment
-
29-10-2019 - |
سؤال
I am using a WCF Service (which is a web role) and is interacting with the worker role. When I try to throttle between different instances of the worker role. It throws the following exception:
"Role discovery data is unavailable"
RoleEnvironment.Roles["MyWorkerRole"]
is not accessible in the WCF web service.
لا يوجد حل صحيح
لا تنتمي إلى StackOverflow