I need to write a long running service in .net 4.7.2
. Actually in .net core I know about the worker services, but I am insecure if I can write those worker service in .net 4.7.2
as well.
The use case is that I have a library (.dll
) from an extern manufacturer written in .net 4.7.2
to perform some actions on the delivered tablet from this manufacturer. I want my service to run on this tablet (windows 10) and poll some status information about this tablet (e.g. connection information) and send it to a blazor webassembly
application using any technology like gRPC
, REST
etc...
So my question is how can I realize this using .net 4.7.2
? I know about the worker services in .net core
but it seems that Microsoft only supports those worker services for .net core