Solved

WCF with TCP binding and dozens of simultaneously connected clients

Posted on 2013-05-09
4
421 Views
Last Modified: 2013-06-04
Hi Experts,

      I need to create a distributed application in an intranet environment where ther would be a single server and dozens of clients (<50) that need to be connected simultaneously.  Typically, I would implement a custom TCP server/client setup from scratch.  However, this time around I would like to try using WCF since the implementation seems A LOT EASIER!  I am selecting TCP binding because maintaining sessions and high performance is a major requirement.  Can someone show me what the overall architecture ans my config files should look like?  Again the main thing is the simultaneously connections part while having asingle instance of the host application ("server")

Thanks!
0
Comment
Question by:axnst2
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 

Author Comment

by:axnst2
ID: 39155055
After researching this a little more, it looks like the settings I really need help with are:

System.ServiceModel.ServiceContractAttribute.SessionMode
System.ServiceModel.ServiceBehaviorAttribute.InstanceContextMode
System.ServiceModel.ServiceBehaviorAttribute.ConcurrencyMode

What should I be setting these to knowing that I am trying to work with the above setup?
0
 
LVL 25

Assisted Solution

by:apeter
apeter earned 500 total points
ID: 39158795
hope this link gives you some start.

http://flylib.com/books/en/3.76.1.41/1/
0
 

Accepted Solution

by:
axnst2 earned 0 total points
ID: 39208649
0
 

Author Closing Comment

by:axnst2
ID: 39218402
Thanks
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question