/ConsoLovers.Ipc

Primary LanguageC#MIT LicenseMIT

ConsoLovers.Ipc.Sever & Client

Easy to use inter-process communication with gRPC and unix domain sockets

GitHub Build Status Nuget (with prereleases) Nuget (with prereleases) platform

Description

It is a small library for inter-process communication on a single machine, using gRPC with Unix Domain Sockets. Microsoft has an article called Inter-process communication with gRPC, and the ConsoLovers.Ipc.Server & Client packages provide an easy and flexible implementation, without having to care about all the infratructure setup, that needs to be done.

This is how easy you setup a gRPC server within your application.

var server = IpcServer.CreateServer()
   .ForCurrentProcess()
   .AddGrpcService<CounterService>()
   .Start();

The available packages

The library is split into serverside and client side packages. This reduces the client side dependencies to a minimum.

Package Version Description
ConsoLovers.Ipc.Server NuGet version (ConsoLovers.Ipc.Server) Package for the process that hosts the gRPC server
ConsoLovers.Ipc.Client NuGet version (ConsoLovers.Ipc.Client) Package for a client process that wants to communicate with a server

NOTE: After adding the ConsoLovers.Ipc.Server or ConsoLovers.Ipc.Client package, you do not have any other useful gRPC service than the .

Quick start links