I am developing one web application in asp.net 3.5. Now I hv to do push notication with WCF. I hv successfully developed WCF with callback. Now my problem arises I cant update web application because the page lifecycle is end. So please tell me how to update web app.

For further reference plz check this link Display Messages after getting response from WCF

If it is not possible then wht method should i take. i dont want to use polling because as we except around 800-1000 users are online. so we hv to concerned about the performance as we have only single server. so plz tell me a good solution and also i want to now how google, yahoo do push notification.

有帮助吗?

解决方案

Take a look at the SignalR library. It should get you started in the right direction.

However if you do want to do it yourself, the most efficient method to build this in asp.net is to use a IHttpAsyncHandler and ajax requests.

Here is a complete working project that implements this, along with ajax.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top