Asyncronously receiving data in an ASP.NET MVC application
- by Mitciv
I'm looking for the best way to constantly check if data has been sent to our ASP.NET MVC application from a server. I would like to asynchronously check for data and update the view when data has been read.
I'm currently using a TcpClient to make a connection, and making the connection in the inherited custom base controller. Currently though I have to refresh the page for the updating of the view to take place.
Would there be a proper AJAX solution? or do I need to move the connection to the ActionMethod?