I have a asp.net core application "A" which generates files every 1 minute in a folder.
Application "B" wants a notification or file details what file we generated and some Hash information for that file. Based on this notification, Application "B" wants to process the files.
I am thinking of some pub/sub mechanism and I want very light weight components where Application "A" will publish the file related information and Application "B" will subscribe and listen.
Is "system.threading.channels" will solve this problem?
Short version: no.
System.Threading.Channels
is in-process - very similar to Queue<T>
in many ways, but designed for async
access; no part of that API allows IPC.
There are a number of ways of doing this cross-process (and potentially cross-machine), but the options that leap to mind would be: