Solved

WCF with TCP binding and dozens of simultaneously connected clients

Posted on 2013-05-09
4
409 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 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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

743 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now