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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T05:43:33+00:00 2026-05-20T05:43:33+00:00

I have my main application installed ( ServerApp ) on a LAN server (which

  • 0

I have my main application installed (ServerApp) on a LAN server (which is behind a firewall, so the server can access the internet but it cannot be accessed from internet directly (No static IP)), and a monitoring application (MonitorApp) on my PC which is outside the LAN and directly connects to internet.

ServerApp should send some notification events (basically some statistics) to MonitorApp in a timely manner (every 1-2 seconds).

Performance is a critical factor in this app, so I have to do everything possible to reduce the traffic.

  • How can I make a connection between these two applications? Will I be able to use WCF callbacks in this scenario? (considering that I cannot see the server directly from my MonitorApp).
  • Is there a performance preference in using using a WCF service and client on one side and another WCF service and client on the other side as opposed to a WCF callback contract. One thing I guess is that I have to use 2x client-services in both sides because I have to use basic HttpBinding to pass the firewall.
  • Any general guidelines on how to implement it?
  • If I plan to write an application like MonitorApp, but also be able to send commands to ServerApp (for clarification, let’s name it ControlApp), should I use another approach?

Apologies for multiple questions. And thank you.

  • 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-20T05:43:34+00:00Added an answer on May 20, 2026 at 5:43 am

    Looks like hard to achieve solution.

    I have my main application installed
    (ServerApp) on a LAN server (which is
    behind a firewall, so the server can
    access the internet but it cannot be
    accessed from internet directly (No
    static IP))

    Based on this it should be clear that server can’t host a service because you will not be able to access it from outside the LAN. So unless your ServerApp connects to service in hosted in MonitorApp or some port forwarding is configured on Firewall there will be no way to achieve that.

    For me the correct design is that ServiceApp host a service which can provide monitoring data and second service for issuing commands. In your scenario this is not possible. You can partially solve monitoring by hosting service in MonitorApp:

    You can expose service contract like

    [ServiceContract]
    public interface MonitoringAppContract
    {
      [OperationContract(IsOneWay=true)]
      void SendMonitoringData(MonitoringData data);
    }
    

    The ServerApp will regulary call this operation and pass monitoring data to MonitorApp. Because of one way call it will not be blocked by data processing on MonitorApp but it will also not be notified about exceptions. The problem here is that WCF service exposed on MonitorApp must be available or ServerApp will wait for Open timeout.

    Duplex communication will also not be the solution because again ServerApp will have to estabilish connection – again problems with timeouts moreover duplex communication is sessionful and it requires other care about inactivity timeouts etc.

    Your problem can be easily solved by relay which is provided by Azure services but you have to pay for that.

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

Sidebar

Related Questions

With a distributed application, where you have lots of clients and one main server,
I have an application where I have a main.m that returns NSApplicationMain(argc, (const char
I have an Air application with a main window. I would like to have
I have a small application to convert several file formats, with a main windows
I have a .NET 2.0 WinForms application with a ToolStrip on my main form.
Events are synchronous in C#. I have this application where my main form starts
i have a table called category in which i have main category ids and
I have a main asp.net app, which is written in asp.net 1.1. Runnning underneath
I have a main window (#1) on my webpage from which I open a
I have a main canvas 'blackboard' in a panel, this canvas has itself several

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.