There are some C#
console applications that started by Windows scheduler.
How can I gather work progress from any of them (using internal data available only in concrete console application)?
In other words, I want to show some data from running console application on my asp.net webforms website.
How can i do this?
Host a http server inside the console app that the website can communicate with. I already kind of do this using self host signal r inside a tray application and it works a treat.
https://github.com/SignalR/SignalR/wiki/Self-host
I would preferred old good .NET Remouting for this (check out simple example for it). But you can use WCF with NetNamedPipesBinding or NetTcpBinding binding.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With