I am new to azure. I have an Asp.Net MVC app that is hosted on azure(app service) with two instances, my app uses local cache. Sometimes i need to clear this cache. But the problem is that when i clear cache i actually do this only for one particular instance, and other one still keeps old cache. Is there any way to get access for all instances on app service?
Ofcourse i can run some background task on each instance to achive this, but this does not seems convenient. I would like to have ability to get all IPs and ports of all instances on app service, then create webjob that would hit all instances and clears cache.