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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T10:50:08+00:00 2026-06-04T10:50:08+00:00

I am working on a C# application that contains multiple windows services that will

  • 0

I am working on a C# application that contains multiple windows services that will need to communicate with each other to pass data around. These services may be on the same machine but they could be remote. I looked into using WCF for this purpose but it seems like WCF is too heavy and has a lot of extra configuration that, to me, seems unnecessary (.NET 3.5 is a requirement here, I know that .NET 4 simplified this)

So my question is, what would be the best replacement to WCF, besides the deprecated .NET Remoting that provide this functionality?

  • 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-06-04T10:50:10+00:00Added an answer on June 4, 2026 at 10:50 am

    I have been using PInvoke to access the Windows RPC runtime for nearly 8 years. It’s wicked fast and very reliable as far as a transport goes. When combined with a fast serializer like protobuf-csharp-port the resulting communications are rock solid and very fast.

    So to build this from the ground-up this requires three parts:

    1. Google’s Protocol Buffers (protobuf-csharp-port) for serialization.
    2. My own CSharpTest.Net.RpcLibrary for the transport.
    3. A bit of glue code to put them together from protobuf-csharp-rpc.

    These are all available on NuGet in the following packages: Google.ProtocolBuffers, CSharpTest.Net.RpcLibrary, and Google.ProtocolBuffers.Rpc.

    The following is a quick run-down on getting started:

    1. define a set of messages and a service using the Google Protocol Buffer Language.

    2. Once you have that defined you will run ProtoGen.exe to generate the service stubs and messages in C#. Be sure to add the “-service_generator_type=IRPCDISPATCH” to generate the correct service code.

    3. Now that you have the generated source files add them to a project and reference the three assemblies from the packages listed above.

    4. Lastly take a look at the sample client/server code on the protobuf-csharp-rpc project page. Replace the “SearchService” with your service name, and you should be ready to run.

    5. Optionally change the configuration of the RPC client/server. The example shows the use of LRPC which is local-host only; however the DemoRpcLibrary.cs source file show TCP/IP and Named Pipes as well.

    You can always email me (roger @ my user name) for any further information or examples.

    Update

    I wrote a quick startup guide: WCF replacement for cross process/machine communication.

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

Sidebar

Related Questions

I am working with an application that is used by multiple clients. Each client
I'm working on a WPF application that contains a wrapper UI that is actually
I'm working on a C# application that contains a lot of DataGridViews which are
I'm working on an application that will have attachments, and I would like to
In the application that I'm currently working on, it is possible for multiple users
I'm working on a web application that will be a hosted, multi-user solution when
Working on an application that contains legacy Carbon code (mixed with some Cocoa). It
I am working on quiz application . For each question there are multiple options
I am working on an application that will have a library folder which will
We are working on a web application that creates more web applications. Each web

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.