Making multiple connections in one browser window with wcf in silverlight

I have a silverlight 3 chat app where one user is chatting with multiple users at the same time.

In my application, the chat window is silverlight and the user can have more than 10 chat windows open at one time in one viewport. each chat window links FOS.

I have already increased the wcf connection limits using the throttlingservice behavior. It works for multidisciplinary clinics, since several browsers open simultaneously on different machines, and there are more than 10 of them. OK. but if one user has a chat with more than 10 users at the same time, then on the 11th connection it is broken.

please help me and provide me with a solution for this problem.

thank

+2


source to share


2 answers


I think there is something wrong with your client implementation. Do your clients keep connecting to your server for too long? Ideally, you should only have very compact and short request / response messages between client and server, so that each connection is short-lived.



User cannot send messages from every client at the same time, I suspect. Therefore, you are unlikely to have to open multiple connections between client and server at the same time.

0


source


Are you getting an exception if all other channels are closed? The number of active connections can be limited. You may have to connect to connections between windows when there are more than ten open windows to make sure you are not trying to open that 11th connection.



0


source







All Articles