Hi I have two projects one asp.net and the other console and I have a controller which must send information to my console application to do a certain action. how to make my controller send data to my console app on two different machines and not on the same network.
-
Is the console app already running when it will receive the message? Or is it not running, and will the console app only be started from the ASP.NET process when it is time to act?Peter B– Peter B2022-07-01 22:36:03 +00:00Commented Jul 1, 2022 at 22:36
-
yes it is already executedFanLife– FanLife2022-07-02 01:14:26 +00:00Commented Jul 2, 2022 at 1:14
-
Normally controller does not sends data until you ask it. So a consumer sends request for data to controller and it sends back data. So if you need data in console application then use "httpclient" or similar classes to request the data form controller.शेखर– शेखर2022-07-02 08:19:16 +00:00Commented Jul 2, 2022 at 8:19
-
1Here are few of the references stackoverflow.com/questions/52918000/…शेखर– शेखर2022-07-02 08:21:25 +00:00Commented Jul 2, 2022 at 8:21
Add a comment
|