0

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.

4
  • 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? Commented Jul 1, 2022 at 22:36
  • yes it is already executed Commented 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. Commented Jul 2, 2022 at 8:19
  • 1
    Here are few of the references stackoverflow.com/questions/52918000/… Commented Jul 2, 2022 at 8:21

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.