Topic: Transmission from the console application on a site ASP.NET MVC
All greetings. There is a console application # which is connected to some equipment, and there is a web site written on MVC 5, on which it is necessary to receive when the console application finds out problems with the equipment. The task - it is necessary somehow from the console application on the web site. In an ideal to make so: 1. The console application lifts server socket TcpListener 2. The web application is connected by means of TcpClient and holds TCP-connection open 3. When there is a problem with the equipment, the console application through open TCP-connection notifies a server part of the web site 4. Whether whether for a client part of the web site it is possible use a web socket Two questions I. can to hold asp.net opened TCP-connection for the decision of item 2,3 II. there is an alternative to web sockets of item 4 decision? Thanks.