Execute Methode in windows azure with multiple instances
问题 I want to execute a job scheduler methods in my windows azure application. So in my application i am using 2 instance of the same application. So If i create a scheduler means both the instance can execute same code. Is it possible to avoid such execution? Or is it possible check other instace before executing the code? For the implementation i am using c#.Net. 回答1: The most common pattern is a self-electing controller. In this pattern, when these processes start, they attempt to create an