DotNetCoreRpc.Server
1.2.2
.NET 5.0
This package targets .NET 5.0. The package is compatible with this framework or higher.
.NET Core 3.1
This package targets .NET Core 3.1. The package is compatible with this framework or higher.
dotnet add package DotNetCoreRpc.Server --version 1.2.2
NuGet\Install-Package DotNetCoreRpc.Server -Version 1.2.2
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="DotNetCoreRpc.Server" Version="1.2.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DotNetCoreRpc.Server --version 1.2.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: DotNetCoreRpc.Server, 1.2.2"
#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 DotNetCoreRpc.Server as a Cake Addin #addin nuget:?package=DotNetCoreRpc.Server&version=1.2.2 // Install DotNetCoreRpc.Server as a Cake Tool #tool nuget:?package=DotNetCoreRpc.Server&version=1.2.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
DotNetCoreRpc基于.NetCore的RPC框架
前言
一直以来都想实现一个简单的RPC框架。.net core不断完善之后借助其自身的便利实现一个RPC框架。框架分Server端和Client端两部分。Client端可在Console或Web端等,能运行.net core的host上运行。Server端依赖Asp.Net Core,接下来介绍大致使用,详细介绍请参阅https://www.cnblogs.com/wucy/p/13096515.html
运行环境
- visual studio 2022
- .netstandard2.1
- .net5;.net6;.net7
- asp.net core 3.1;sp.net core 5.0;asp.net core 6.0;asp.net core 7.0
使用方式
由于v1.1.3之后版本
优化了一下client和server端的注册方式,所以分两个文档介绍。
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 is compatible. 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 is compatible. 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. |
.NET Core | netcoreapp3.1 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETCoreApp 3.1
- DotNetCoreRpc.Core (>= 1.2.2)
-
net5.0
- DotNetCoreRpc.Core (>= 1.2.2)
-
net6.0
- DotNetCoreRpc.Core (>= 1.2.2)
-
net7.0
- DotNetCoreRpc.Core (>= 1.2.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.