Solved

WCF with TCP binding and dozens of simultaneously connected clients

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

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Convert Ctime to date time in textfile? 7 58
jquery tab header text 1 27
How to use spatial data types in SQL Server Database project 2 40
itextsharp with c# 3 18
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

679 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