Hi, I have an ASP.NET application using an XMPP client. The client has an event handler for messages received, and I think it runs in a new thread. I want to update a UI control in this event, but was surprised ASP.NET doesn't have an Invoke() or BeginInvoke() method? What is the equivalent I could use?
I believe since the web app is stateless the whole idea of threading and invoke is somewhat useless(please correct if you like).I think the closer you can go to achieve something "similar" is with web services and a jquery timer to the client.
Yes I am trying to build a chat client. SignalR looks interesting, I will look into it, thanks
To Gary and sapator - I've managed a pseudo-solution by storing a result from my async operation in a Session.Item, and calling that item from the client by a Timer control. Thanks for the help though.