Asyncronously receiving data in an ASP.NET MVC application

Posted by Mitciv on Stack Overflow See other posts from Stack Overflow or by Mitciv
Published on 2010-04-19T15:22:12Z Indexed on 2010/04/23 20:13 UTC
Read the original article Hit count: 505

Filed under:
|
|
|

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?

© Stack Overflow or respective owner

Related posts about asp.net-mvc

Related posts about AJAX