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 190025
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T16:13:17+00:00 2026-05-11T16:13:17+00:00

I’m developing a master-slave command model by which some application Master sends commands to

  • 0

I’m developing a master-slave command model by which some application “Master” sends commands to homogenous processes called “Slave” to do some task and then respond back with status complete or process failure. they should also expose some data to the master available on request.

What would this model look like in WCF?

would Master and each instance of Slave host thier own services? would only Master host? only Slave? Should I be using Callback Contracts? Data Contracts? or just Service Contracts.

As a side note, this is a low bandwidth, low intensity, internal only distribution project used for product testing and should not be considered as a “large high demand” project.

  • 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-11T16:13:17+00:00Added an answer on May 11, 2026 at 4:13 pm

    You will definitely have service contracts – a must – in some shape or form. This just defines your service and the operations (methods) on it (OperationContract).

    If it’s an internal “behind-the-firewall” system, you could look at a duplex binding, e.g. have the Master call the Slave, and the Slave report back on a duplex channel when it’s done. Out of the box, there’s only the WsDualHttpBinding to support duplex, but since you’re internal, behind-the-firewall, you might want to look at creating your own TCP-based duplex binding (it’s not as hard as it might sound at first!).

    In this scenario, both involved apps really are server and client at the same time.

    You will have DataContracts in some way, shape or form to define the DATA that is being moved around between Master and Slave – so again, yes, you will have to have Data Contracts.

    EDIT:
    Of course, another approach might be to use two MSMQ message queues; the Master drops his “job” request into a queue, which the Slave listens on and picks up the job request. When the Slave is done, it in turn drops a response into the response queue to which the Master is a listener, and gets notified of the job being done that way.

    Marc

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

Sidebar

Ask A Question

Stats

  • Questions 142k
  • Answers 142k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer The answer is that yes, it is valid, but the… May 12, 2026 at 8:20 am
  • Editorial Team
    Editorial Team added an answer One thing that might be the cause of different behaviour… May 12, 2026 at 8:20 am
  • Editorial Team
    Editorial Team added an answer There is some example here. The relevant code would be:… May 12, 2026 at 8:20 am

Related Questions

I ran into a problem. Wrote the following code snippet: teksti = teksti.Trim() teksti
I am currently running into a problem where an element is coming back from
Seemingly simple, but I cannot find anything relevant on the web. What is the
Does anyone know how can I replace this 2 symbol below from the string
Configuring TinyMCE to allow for tags, based on a customer requirement. My config is

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.