Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

WCF with TCP binding and dozens of simultaneously connected clients

Posted on 2013-05-09
4
Medium Priority
?
426 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
  • 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 2000 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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
In real business world data are crucial and sometimes data are shared among different information systems. Hence, an agreeable file transfer protocol need to be established.
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Suggested Courses

916 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