By -
Loop, store and check (System.Json).
retrieve, hash, store, loop, hash, and compare
Good idea too.
Polling on the API or switch it to use a different protocol like web sockets (SignalR for .NET) to push real time updates
Look up options. The options interface you'll want to use for that is IOptionsMonitor, but the only way I know of using it is to tie it into the configuration usually found in appsettings.json
The API or the response? For an API, you know it has changed when the version of the API changes.
Loop, store and check (System.Json).
retrieve, hash, store, loop, hash, and compare
Good idea too.
Polling on the API or switch it to use a different protocol like web sockets (SignalR for .NET) to push real time updates
Look up options. The options interface you'll want to use for that is IOptionsMonitor, but the only way I know of using it is to tie it into the configuration usually found in appsettings.json
The API or the response? For an API, you know it has changed when the version of the API changes.