web site cannot itself update some information to all clients.... running web page from clients (browsers) can poll continously to server and look for some update....
you can use SignalR for this scenario..... I have explained it how in this article
Are chat applications work on timer mechanism or are they working on any other different hosting servers (not IIS and Jabber/XMPP server) ?
most chat apps are based on timer mechanism.... the new web sockets feature will provide option of browadcasting messages etc.
anyways, did u read my article (i posted above) SignalR does not require to use timer.... it uses best possible option from web sockets, long polling etc. and does not poll continously like timer based solutions do....
hope this helps...
Cheers!
KK
Please mark as Answer if post helps in resolving your issue
My Site
Thank you for your answer. I have started using SignalR
Can you please guide me for my below scanerio
I need to create to windows application and web application and need to notify web client from window when any message is sent from window application also need to notify window application when message sent from web application.
I have started using signalR with hub connection type also tried get data from web(hub server) from window client but it is not working.
Devaang
Participant
996 Points
261 Posts
Generate event from application server(IIS)
Mar 05, 2012 12:37 PM|LINK
Hello,
Is there any way to generate event at all opened sessions of web site ?
Ex : There would be suppose 10 sessions of site and if any event is raised at any one session i need to update information
for all clients(sessions)
Please suggest any way to achieve this functionality in asp.net web application.
Devaang.
kedarrkulkar...
All-Star
35563 Points
5700 Posts
Re: Generate event from application server(IIS)
Mar 05, 2012 12:46 PM|LINK
web site cannot itself update some information to all clients.... running web page from clients (browsers) can poll continously to server and look for some update....
you can use SignalR for this scenario..... I have explained it how in this article
http://www.bluelemoncode.com/post/2012/02/08/SignalR-for-notifying-all-clients-about-server-events.aspx
hope this helps...
KK
Please mark as Answer if post helps in resolving your issue
My Site
Devaang
Participant
996 Points
261 Posts
Re: Generate event from application server(IIS)
Mar 05, 2012 12:55 PM|LINK
Hello,
Thank you for reply.
I need to implement without timer,
Are chat applications work on timer mechanism or are they working on any other different hosting servers (not IIS and Jabber/XMPP server) ?
Devaang.
kedarrkulkar...
All-Star
35563 Points
5700 Posts
Re: Generate event from application server(IIS)
Mar 05, 2012 01:04 PM|LINK
most chat apps are based on timer mechanism.... the new web sockets feature will provide option of browadcasting messages etc.
anyways, did u read my article (i posted above) SignalR does not require to use timer.... it uses best possible option from web sockets, long polling etc. and does not poll continously like timer based solutions do....
hope this helps...
KK
Please mark as Answer if post helps in resolving your issue
My Site
roopeshreddy
All-Star
20277 Points
3349 Posts
Re: Generate event from application server(IIS)
Mar 05, 2012 03:50 PM|LINK
Hi,
I do feel SignalR is the best solution for your scenario!
http://www.hanselman.com/blog/AsynchronousScalableWebApplicationsWithRealtimePersistentLongrunningConnectionsWithSignalR.aspx
Hope it helps u...
Roopesh Reddy C
Roopesh's Space
Devaang
Participant
996 Points
261 Posts
Re: Generate event from application server(IIS)
Mar 14, 2012 09:14 AM|LINK
Hello Kedar,
Thank you for your answer. I have started using SignalR
Can you please guide me for my below scanerio
I need to create to windows application and web application and need to notify web client from window when any message is sent from window application also need to notify window application when message sent from web application.
I have started using signalR with hub connection type also tried get data from web(hub server) from window client but it is not working.
Devaang.