Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6897017
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T07:06:59+00:00 2026-05-27T07:06:59+00:00

I’ve got a client/server setup that I am implementing using a WCF Service (

  • 0

I’ve got a client/server setup that I am implementing using a WCF Service (NetTcpBinding). The setup is such that the client basically sends a few commands and instructions to the server (mostly one-way calls). The server, however, may be in a situation where it needs to send a lot of data back to the client very rapidly. I’ve got this implemented currently using callbacks on the main WCF service (the server makes these callbacks very frequently).

But I’m having a heck of a time getting it to work correctly. It mostly seems to come down to exceptions/hangs (mostly hangs) that are occurring when the client calls to the server while the server is in the process of sending lots of data back to the client. I’ve tried just about everything have seen such as setting up most of my calls as [OperationContract(IsOneWay=true)] and setting ConcurrencyMode=ConcurrencyMode.Multiple on the ServiceBehavior. This has reduced the number of hangs, but not stopped them.

So, since it is most important for me to get a working solution quickly (deadlines approaching), I’m considering refactoring to have two WCF services. The first would be just like all the client-server calls now with the commands. The second would be in the opposite direction and would be setup after the client connected to the server. This service would be used to send the data back to the client.

Are there any drawbacks to this approach? Any problems with having WCF services going in both directions? Any other tips or tricks? Or am I completely off-base for this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T07:07:00+00:00Added an answer on May 27, 2026 at 7:07 am

    That doesn’t sound like a bad idea to me. The first service can add the commands or whatever to a queue that the second service uses to process in order.

    You could even have the second service call back to the first service which would then call back to the clients. That way the clients just talk with one service which really doesn’t do much other than take requests and spit back results. The second service could do its thing in its own time.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

That's pretty much it. I'm using Nokogiri to scrape a web page what has
I've got a string that has curly quotes in it. I'd like to replace
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I'm working with an upstream system that sometimes sends me text destined for HTML/XML
link Im having trouble converting the html entites into html characters, (&# 8217;) i
Basically, what I'm trying to create is a page of div tags, each has
I have a French site that I want to parse, but am running into
I'm using v2.0 of ClassTextile.php, with the following call: $testimonial_text = $textile->TextileRestricted($_POST['testimonial']); ... and
We're building an app, our first using Rails 3, and we're having to build
We are using XSLT to translate a RIXML file to XML. Our RIXML contains

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.