JKang.IpcServiceFramework.Server 1.0.1

.NET Standard 2.0
There is a newer version of this package available.
See the version list below for details.
dotnet add package JKang.IpcServiceFramework.Server --version 1.0.1
NuGet\Install-Package JKang.IpcServiceFramework.Server -Version 1.0.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="JKang.IpcServiceFramework.Server" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add JKang.IpcServiceFramework.Server --version 1.0.1
#r "nuget: JKang.IpcServiceFramework.Server, 1.0.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install JKang.IpcServiceFramework.Server as a Cake Addin
#addin nuget:?package=JKang.IpcServiceFramework.Server&version=1.0.1

// Install JKang.IpcServiceFramework.Server as a Cake Tool
#tool nuget:?package=JKang.IpcServiceFramework.Server&version=1.0.1

Build Status


A .NET Core lightweight inter-process communication framework allowing invoking a service via named pipeline (in a similar way as WCF, which is currently unavailable for .NET Core).

Support using primitive or complexe types in service contract.

Support multi-threading on server side with configurable number of threads.

ASP.NET Core Dependency Injection framework friendly.


  1. Create an interface as service contract and package it in an assembly to be shared between server and client.
  2. Implement the service and host it in an console or web applciation
  3. Invoke the service with framework provided proxy client


IpcServiceFramework is available via NuGet:

Quick Start:

Step 1 - Create service contract

    public interface IComputingService
        float AddFloat(float x, float y);

Step 2: Implement the service

    class ComputingService : IComputingService
        public float AddFloat(float x, float y)
            return x + y;

Step 3 - Host the service in Console application

   class Program
        static void Main(string[] args)
            // configure DI
            IServiceCollection services = ConfigureServices(new ServiceCollection());

            // run IPC service host
                .Buid("pipeName", services.BuildServiceProvider())

        private static IServiceCollection ConfigureServices(IServiceCollection services)
            return services
                .AddIpc(options =>
                    options.ThreadCount = 4;
                .AddService<IComputingService, ComputingService>();

It's possible to host IPC service in web application, please check out the sample project IpcServiceSample.WebServer

Step 4 - Invoke the service from client process

    var proxy = new IpcServiceClient<IComputingService>("pipeName");
    float result = await proxy.InvokeAsync(x => x.AddFloat(1.23f, 4.56f));

Please feel free to download, fork and/or provide any feedback!

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on JKang.IpcServiceFramework.Server:

Repository Stars
Portable FTP server written in .NET
Version Downloads Last updated
2.3.1 11,345 12/27/2019
2.3.0 455 12/20/2019
2.2.2 6,946 4/30/2019
2.2.1 7,145 3/28/2019
2.2.0 2,532 12/18/2018
2.1.2 1,212 12/11/2018
2.1.1 704 11/20/2018
2.1.0 639 11/19/2018
2.0.3 601 11/16/2018
2.0.2 601 11/14/2018 1,166 10/29/2018 1,198 7/16/2018 887 7/13/2018
1.0.3 857 6/30/2018
1.0.2 812 5/30/2018
1.0.1 1,584 2/14/2018
1.0.0 1,009 1/9/2018

- support passing array parameters