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

  • SEARCH
  • Home
  • 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 886457
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T13:04:18+00:00 2026-05-15T13:04:18+00:00

I want to design a new distributed application, but I have a few queries

  • 0

I want to design a new distributed application, but I have a few queries that I need some genius advice on, hopefully from you people:

Scenario

I currently support a legacy application that is starting to fall between the cracks.
It is a distributed Client-Server app implemented using .Net Remoting. I can’t explain exactly what it does, because I’m not allowed to…….But let’s just say that it does LOTS of MATHS. I want to re-design and re-write the application using WCF.

Pre-requisites

The server side of the implementation will be hosted in a Windows Service.
The client side will be a windows forms application.
The server side will perform lots of memory-intensive processing.
The server will spit this data out to multiple thin clients (20-ish).
The majority of the time the server will be passing data to the clients, but occasionally the clients will be persisting data back to the server.
The speed at which the data is transmitted is highly-important, however I’m well aware that WCF can handle fast distribution of data.
Encryption/Security is not that important as the app will run on a highly protected local network.

Queries

Given the information above:

1)What sort of design pattern am I best going with? – Baring in mind I want the server to continually PUSH the newly calculated information immediately to the clients, as opposed to the current implementation that involves the client pulling from the server continuously.
2)What type of WCF binding should I use to ensure maximum speed of data transfer? (as close to real-time as possible is what I’m after)
3)Should I use a class library to share the common objects between the client and the server applications?
4)What is the best way in which to databind my objects on the client side in order to see live updates continually as data changes?

If I’ve forgotten anything then feel free to point this out

Help greatly appreciated.

  • 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-15T13:04:18+00:00Added an answer on May 15, 2026 at 1:04 pm

    1) What sort of design pattern am I best going with?

    Based on your comments, you’re wanting to transform the current polling mechanism to an event-based mechanism. That is, instead of the client constantly checking the server for results, have the server notify the client when a new calculation result is available.

    I would recommend using Juval Lowy’s Publish-Subscribe Framework for this.

    Publish-Subscribe Framework
    (source: microsoft.com)
    .

    This framework is described in detail in this MSDN article. And you can download the framework’s source code for free at Lowy’s website, IDesign.net.

    Basically, the server logic that performs the calculations inside the Windows service is the Publishing Client in the graphic, and the various WinForm applications are the Subscribing Clients. The Pub/Sub Service lives in your Windows service. It manages the list of subscribing clients and provides a single endpoint for your server to publish calculation results to. In this way, your server performs a calculation and publishes the result once to the Pub/Sub Service endpoint. The Pub/Sub Service is then responsible for publishing the result to the subscribed clients.

    2) What type of WCF binding should I use to ensure maximum speed of data transfer?

    If all of your WCF communication were on a single machine, you’d want to use the NetNamedPipeBinding. However, since you will be distributed, you want to use the NetTcpBinding.

    For WCF binding decisions, I have found this chart useful.

    WCF Binding Selection Flow Chart

    3) Should I use a class library to share the common objects between the client and the server applications?

    Since you are in control of both the client and server side, I would highly recommend sharing a class library instead of using Visual Studio’s “Add Service Reference” feature. For a detailed discussion of this, refer to this SO question-and-answer.

    4) What is the best way in which to databind my objects on the client side in order to see live updates continually as data changes?

    I suspect this will depend on what controls you use to display the data. One way that immediately comes to mind would be to have your client fill an in-memory data table as each calculation result is received. This data table could then be bound to a ListBox control, for example, that shows the results in calculation order.

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

Sidebar

Related Questions

I am new to web-design. I want to set the page-width so that it
I want to design a report with new SSRS feature called tablix, but it
I am designing a new CMS but want to design it to fit all
I want to design an application using the twisted framework with some deferreds adding
I am new to C# and .NET programming. I want to design an application
I have few basic views in my WPF app, but I don't want to
I am new to SEAM and JSF, and want to design image manipulation application
I want to design a new category this category will be separated from the
I want to build a new design into WP (not make a theme for
I want to design a chat view like BlackBerry messenger (unfortunately new users are

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.