JKang.IpcServiceFramework.Client
1.0.3
See the version list below for details.
dotnet add package JKang.IpcServiceFramework.Client --version 1.0.3
NuGet\Install-Package JKang.IpcServiceFramework.Client -Version 1.0.3
<PackageReference Include="JKang.IpcServiceFramework.Client" Version="1.0.3" />
<PackageVersion Include="JKang.IpcServiceFramework.Client" Version="1.0.3" />
<PackageReference Include="JKang.IpcServiceFramework.Client" />
paket add JKang.IpcServiceFramework.Client --version 1.0.3
#r "nuget: JKang.IpcServiceFramework.Client, 1.0.3"
#:package JKang.IpcServiceFramework.Client@1.0.3
#addin nuget:?package=JKang.IpcServiceFramework.Client&version=1.0.3
#tool nuget:?package=JKang.IpcServiceFramework.Client&version=1.0.3
IpcServiceFramework
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.
Usage
- Create an interface as service contract and package it in an assembly to be shared between server and client.
- Implement the service and host it in an console or web applciation
- Invoke the service with framework provided proxy client
Downloads
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
IpcServiceHostBuilder
.Buid("pipeName", services.BuildServiceProvider())
.Run();
}
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 | Versions 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. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.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. |
-
.NETStandard 2.0
- Castle.Core (>= 4.2.1)
- JKang.IpcServiceFramework.Core (>= 1.0.3)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on JKang.IpcServiceFramework.Client:
| Package | Downloads |
|---|---|
|
JKang.IpcServiceFramework.Client.NamedPipe
Package Description |
|
|
JKang.IpcServiceFramework.Client.Tcp
Package Description |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on JKang.IpcServiceFramework.Client:
| Repository | Stars |
|---|---|
|
FubarDevelopment/FtpServer
Portable FTP server written in .NET
|
| Version | Downloads | Last Updated |
|---|---|---|
| 3.2.0 | 527 | 12/20/2025 |
| 3.1.0 | 55,619 | 9/12/2020 |
| 3.1.0-preview.1 | 490 | 9/12/2020 |
| 3.0.5-preview.1 | 753 | 8/18/2020 |
| 3.0.4 | 2,914 | 7/5/2020 |
| 3.0.4-preview.1 | 445 | 7/5/2020 |
| 3.0.3 | 1,193 | 6/15/2020 |
| 3.0.3-preview.1 | 446 | 6/15/2020 |
| 3.0.2 | 1,732 | 6/12/2020 |
| 3.0.2-preview.2 | 488 | 6/12/2020 |
| 3.0.2-preview.1 | 498 | 6/12/2020 |
| 3.0.1 | 1,104 | 6/12/2020 |
| 3.0.1-ci-20200612.1 | 497 | 6/12/2020 |
| 3.0.0.34-preview | 759 | 6/12/2020 |
| 3.0.0.28-alpha | 1,096 | 5/3/2020 |
| 3.0.0.15-alpha | 1,006 | 4/28/2020 |
| 3.0.0.12-alpha | 783 | 4/27/2020 |
| 3.0.0.10-alpha | 772 | 4/26/2020 |
| 3.0.0 | 2,914 | 6/12/2020 |
| 1.0.3 | 1,192 | 6/30/2018 |
1.0.3
- support enum/guid type
1.0.2
- support implicitly converting input parameters from derived type to base type
1.0.1
- support passing array parameters