My question: Is there a way in umbraco to trigger a method to be called (endpoint, etc) on each instance?
Since Umbraco registers each instance in the UmbracoServer table, how is Umbraco generating the computerName field? I could use this table and the job scheduler to do it.
It looks something like this:
RD000223F8055EB//LM/W3SVC/1785223127/ROOT
RD000223F8055EB is the machine name but the rest I'm not sure if there is a method that is exposed to generate the full string so it can be compared on each instance?
Trigger method on each instance of web farm
My question: Is there a way in umbraco to trigger a method to be called (endpoint, etc) on each instance?
Since Umbraco registers each instance in the UmbracoServer table, how is Umbraco generating the computerName field? I could use this table and the job scheduler to do it.
It looks something like this:
RD000223F8055EB//LM/W3SVC/1785223127/ROOT
RD000223F8055EB is the machine name but the rest I'm not sure if there is a method that is exposed to generate the full string so it can be compared on each instance?
Hi Lucuma,
What you need is a cache refresher : https://our.umbraco.org/documentation/Reference/Cache/#icacherefresher
Unfortunatly it's not well documented.
But here is a sample of cacherefresher : https://github.com/Jeavon/SEOCheckerCacheRefresher
If you need more examples I can look one up for you.
Dave
is working on a reply...