Solved

WCF with TCP binding and dozens of simultaneously connected clients

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

862 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

25 Experts available now in Live!

Get 1:1 Help Now