NetPro.Grpc
6.0.3
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package NetPro.Grpc --version 6.0.3
NuGet\Install-Package NetPro.Grpc -Version 6.0.3
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="NetPro.Grpc" Version="6.0.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NetPro.Grpc --version 6.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: NetPro.Grpc, 6.0.3"
#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 NetPro.Grpc as a Cake Addin #addin nuget:?package=NetPro.Grpc&version=6.0.3 // Install NetPro.Grpc as a Cake Tool #tool nuget:?package=NetPro.Grpc&version=6.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
NetPro.Grpc Server端使用
Grpc Server辅助组件
使用
初始化服务
没有使用NetPro.Core的方式,需手动显示注入
public void ConfigureServices(IServiceCollection services)
{
services.AddGrpc();
}
public void Configure(IApplicationBuilder application)
{
application.UseRouting();
application.UseEndpoints(endpoints =>
{
GrpcServiceExtension.AddGrpcServices(endpoints,new string[] {$"{Assembly.GetEntryAssembly().GetName().Name}" });
});
}
在有NetPro.Core的基础上的使用
直接引用NetPro.Grpc nuget包无需其他配置即可
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | 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 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0
- Grpc.AspNetCore (>= 2.27.0)
- NetPro.Core (>= 6.0.3)
- Serilog (>= 2.10.0)
- Serilog.AspNetCore (>= 4.1.0)
- Serilog.Exceptions (>= 8.0.0)
- Serilog.Formatting.Compact (>= 1.1.0)
- Serilog.Settings.Configuration (>= 3.3.0)
- Serilog.Sinks.Async (>= 1.5.0)
- Serilog.Sinks.Console (>= 4.0.1)
- Serilog.Sinks.Debug (>= 2.0.0)
- Serilog.Sinks.File (>= 5.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on NetPro.Grpc:
Repository | Stars |
---|---|
LeonKou/NetPro
🌈An enhanced version with clean architecture of asp.netcore,efficiently manage startup,Support for netcore3.1/6.0
|
Version | Downloads | Last updated |
---|---|---|
6.0.16 | 199 | 7/24/2023 |
6.0.15 | 400 | 7/19/2022 |
6.0.14 | 440 | 7/10/2022 |
6.0.13 | 436 | 6/15/2022 |
6.0.12 | 422 | 6/15/2022 |
6.0.11 | 416 | 6/15/2022 |
6.0.10 | 431 | 6/11/2022 |
6.0.9 | 435 | 6/8/2022 |
6.0.8 | 429 | 5/26/2022 |
6.0.8-beta.3 | 488 | 5/24/2022 |
6.0.8-beta.2 | 115 | 5/24/2022 |
6.0.7 | 515 | 5/18/2022 |
6.0.6 | 506 | 4/28/2022 |
6.0.5 | 504 | 3/30/2022 |
6.0.5-beta.20 | 118 | 4/27/2022 |
6.0.5-beta.19 | 114 | 4/25/2022 |
6.0.5-beta.18 | 116 | 4/22/2022 |
6.0.5-beta.17 | 123 | 4/16/2022 |
6.0.5-beta.16 | 187 | 4/8/2022 |
6.0.5-beta.15 | 123 | 4/8/2022 |
6.0.5-beta.14 | 126 | 4/7/2022 |
6.0.5-beta.13 | 125 | 4/7/2022 |
6.0.5-beta.12 | 126 | 4/6/2022 |
6.0.5-beta.11 | 127 | 4/6/2022 |
6.0.5-beta.10 | 123 | 3/31/2022 |
6.0.5-beta.9 | 190 | 3/26/2022 |
6.0.5-beta.8 | 144 | 3/22/2022 |
6.0.5-beta.7 | 135 | 3/21/2022 |
6.0.5-beta.6 | 140 | 3/14/2022 |
6.0.5-beta.5 | 116 | 3/2/2022 |
6.0.5-beta.4 | 128 | 2/22/2022 |
6.0.5-beta.3 | 125 | 2/18/2022 |
6.0.5-beta.2 | 119 | 2/18/2022 |
6.0.5-beta.1 | 161 | 2/16/2022 |
6.0.4 | 586 | 2/10/2022 |
6.0.3 | 585 | 2/9/2022 |
6.0.3-beta.9 | 124 | 2/10/2022 |
6.0.3-beta.7 | 133 | 1/27/2022 |
6.0.3-beta.6 | 127 | 1/19/2022 |
6.0.3-beta.5 | 129 | 1/17/2022 |
6.0.3-beta.4 | 135 | 1/16/2022 |
6.0.3-beta.3 | 130 | 1/14/2022 |
6.0.3-beta.2 | 133 | 1/13/2022 |
6.0.3-beta.1 | 150 | 1/11/2022 |
6.0.2 | 304 | 1/6/2022 |
6.0.1 | 994 | 12/3/2021 |
3.1.11 | 421 | 11/19/2021 |
3.1.10 | 525 | 7/29/2021 |