Grpc.AspNetCore.Server
2.70.0
Prefix Reserved
See the version list below for details.
dotnet add package Grpc.AspNetCore.Server --version 2.70.0
NuGet\Install-Package Grpc.AspNetCore.Server -Version 2.70.0
<PackageReference Include="Grpc.AspNetCore.Server" Version="2.70.0" />
<PackageVersion Include="Grpc.AspNetCore.Server" Version="2.70.0" />
<PackageReference Include="Grpc.AspNetCore.Server" />
paket add Grpc.AspNetCore.Server --version 2.70.0
#r "nuget: Grpc.AspNetCore.Server, 2.70.0"
#addin nuget:?package=Grpc.AspNetCore.Server&version=2.70.0
#tool nuget:?package=Grpc.AspNetCore.Server&version=2.70.0
Grpc.AspNetCore.Server
Grpc.AspNetCore.Server
is a gRPC server library for .NET.
Configure gRPC
In Program.cs:
- gRPC is enabled with the
AddGrpc
method. - Each gRPC service is added to the routing pipeline through the
MapGrpcService
method. For information about how to create gRPC services, see Create gRPC services and methods.
using GrpcGreeter.Services;
var builder = WebApplication.CreateBuilder(args);
// Add services to the container.
builder.Services.AddGrpc();
var app = builder.Build();
// Configure the HTTP request pipeline.
app.MapGrpcService<GreeterService>();
app.Run();
ASP.NET Core middleware and features share the routing pipeline, therefore an app can be configured to serve additional request handlers. The additional request handlers, such as MVC controllers, work in parallel with the configured gRPC services.
Links
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 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 is compatible. 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 is compatible. 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. |
-
net6.0
- Grpc.Net.Common (>= 2.70.0)
-
net7.0
- Grpc.Net.Common (>= 2.70.0)
-
net8.0
- Grpc.Net.Common (>= 2.70.0)
-
net9.0
- Grpc.Net.Common (>= 2.70.0)
NuGet packages (119)
Showing the top 5 NuGet packages that depend on Grpc.AspNetCore.Server:
Package | Downloads |
---|---|
Grpc.AspNetCore.Server.ClientFactory
HttpClientFactory integration the for gRPC .NET client when running in ASP.NET Core |
|
Grpc.AspNetCore.Server.Reflection
Automatic discovery of services for Grpc.Reflection |
|
Pulumi
The Pulumi .NET SDK lets you write cloud programs in C#, F#, and VB.NET. |
|
Grpc.AspNetCore.HealthChecks
Integration of ASP.NET Core health checks with Grpc.HealthCheck |
|
protobuf-net.Grpc.AspNetCore
Package Description |
GitHub repositories (22)
Showing the top 20 popular GitHub repositories that depend on Grpc.AspNetCore.Server:
Repository | Stars |
---|---|
dodyg/practical-aspnetcore
Practical samples of ASP.NET Core 10 Preview 3, 9, 8.0, 7.0, 6.0, 5.0, 3.1, 2.2, and 2.1,projects you can use. Readme contains explanations on all projects.
|
|
ServiceStack/ServiceStack
Thoughtfully architected, obscenely fast, thoroughly enjoyable web services for all
|
|
FastEndpoints/FastEndpoints
A light-weight REST API development framework for ASP.NET 8 and newer.
|
|
grpc/grpc-dotnet
gRPC for .NET
|
|
Cysharp/MagicOnion
Unified Realtime/API framework for .NET platform and Unity.
|
|
open-telemetry/opentelemetry-dotnet
The OpenTelemetry .NET Client
|
|
prometheus-net/prometheus-net
.NET library to instrument your code with Prometheus metrics
|
|
protobuf-net/protobuf-net.Grpc
GRPC bindings for protobuf-net and grpc-dotnet
|
|
leeveel/GeekServer
基于.Netcore的开发效率高,性能强,跨平台,持久化层透明,支持不停服热更新的游戏服务器。Best for your unity game server!
|
|
abpframework/eShopOnAbp
Reference microservice solution built with the ABP Framework and .NET, runs on Kubernetes with Helm configuration, includes API Gateways, Angular and ASP.NET Core MVC applications, PostgreSQL and MongoDB databases
|
|
getsentry/sentry-dotnet
Sentry SDK for .NET
|
|
GB28181/GB28181.Solution
Linux/Win/Docker/kubernetes/Chart/Kustomize/GB28181/SIP/RTP/SDP/WebRTC/作为上下级域/平台级联互联
|
|
open-telemetry/opentelemetry-dotnet-contrib
This repository contains set of components extending functionality of the OpenTelemetry .NET SDK. Instrumentation libraries, exporters, and other components can find their home here.
|
|
meteatamel/knative-tutorial
A collection of samples for Knative Serving, Knative Eventing and Knative-GCP projects.
|
|
axzxs2001/Asp.NetCoreExperiment
原来所有项目都移动到**OleVersion**目录下进行保留。新的案例装以.net 5.0为主,一部分对以前案例进行升级,一部分将以前的工作经验总结出来,以供大家参考!
|
|
thangchung/practical-dapr
A full-stack .NET microservices build on Dapr and Tye
|
|
anuraj/AspNetCoreSamples
This repository is set of ASP.NET Core projects and scripts.
|
|
ProfessionalCSharp/MoreSamples
Additional code samples the book series Professional C#, Wrox Press
|
|
microsoft/durabletask-dotnet
Out-of-process .NET SDK for the Durable Task Framework
|
|
Me-Maped/Gameframework-at-FairyGUI
UnityGameFramework+FairyGUI+YooAsset+HybridCLR+Luban+UniTask
|
Version | Downloads | Last updated |
---|---|---|
2.71.0-pre1 | 514 | 4/16/2025 |
2.70.0 | 572,261 | 3/10/2025 |
2.70.0-pre1 | 1,547 | 2/26/2025 |
2.67.0 | 3,305,735 | 11/21/2024 |
2.67.0-pre1 | 18,146 | 10/22/2024 |
2.66.0 | 4,496,848 | 9/20/2024 |
2.66.0-pre1 | 4,877 | 9/6/2024 |
2.65.0 | 3,288,912 | 7/27/2024 |
2.65.0-pre1 | 632 | 7/20/2024 |
2.64.0 | 531,009 | 7/19/2024 |
2.64.0-pre1 | 2,939 | 7/15/2024 |
2.63.0 | 4,639,684 | 5/24/2024 |
2.63.0-pre1 | 22,157 | 5/8/2024 |
2.62.0 | 2,619,558 | 3/29/2024 |
2.62.0-pre1 | 4,049 | 3/8/2024 |
2.61.0 | 2,795,942 | 2/22/2024 |
2.61.0-pre1 | 10,669 | 2/8/2024 |
2.60.0 | 3,524,223 | 1/3/2024 |
2.60.0-pre1 | 17,888 | 12/14/2023 |
2.59.0 | 4,035,360 | 11/8/2023 |
2.59.0-pre1 | 7,719 | 10/27/2023 |
2.58.0 | 1,095,532 | 10/19/2023 |
2.58.0-pre1 | 33,527 | 10/9/2023 |
2.57.0 | 3,866,850 | 9/6/2023 |
2.57.0-pre1 | 5,350 | 8/31/2023 |
2.56.0 | 558,900 | 8/25/2023 |
2.56.0-pre2 | 5,237 | 8/16/2023 |
2.56.0-pre1 | 5,658 | 8/3/2023 |
2.55.0 | 3,151,819 | 7/4/2023 |
2.55.0-pre1 | 6,464 | 6/23/2023 |
2.54.0 | 1,311,287 | 6/15/2023 |
2.54.0-pre1 | 12,167 | 5/25/2023 |
2.53.0 | 2,195,310 | 5/5/2023 |
2.53.0-pre1 | 22,953 | 4/12/2023 |
2.52.0 | 2,976,060 | 3/15/2023 |
2.52.0-pre1 | 10,193 | 3/3/2023 |
2.51.0 | 6,401,715 | 1/2/2023 |
2.51.0-pre1 | 7,863 | 12/7/2022 |
2.50.0 | 2,289,214 | 11/17/2022 |
2.50.0-pre1 | 24,649 | 11/3/2022 |
2.49.0 | 19,376,934 | 9/26/2022 |
2.49.0-pre1 | 19,265 | 9/1/2022 |
2.48.0 | 4,346,522 | 8/24/2022 |
2.48.0-pre1 | 5,499 | 8/17/2022 |
2.47.0 | 3,423,594 | 7/3/2022 |
2.47.0-pre1 | 6,194 | 6/23/2022 |
2.46.0 | 3,019,470 | 5/13/2022 |
2.46.0-pre1 | 5,711 | 4/28/2022 |
2.45.0 | 1,787,060 | 4/19/2022 |
2.45.0-pre1 | 6,024 | 4/7/2022 |
2.44.0 | 1,954,604 | 3/17/2022 |
2.44.0-pre1 | 20,982 | 3/9/2022 |
2.43.0 | 1,416,087 | 2/25/2022 |
2.43.0-pre1 | 30,033 | 1/28/2022 |
2.42.0 | 3,385,722 | 1/19/2022 |
2.42.0-pre1 | 12,077 | 12/30/2021 |
2.41.0 | 1,561,369 | 12/7/2021 |
2.41.0-pre1 | 21,908 | 11/12/2021 |
2.40.0 | 6,051,989 | 10/5/2021 |
2.40.0-pre1 | 7,891 | 9/9/2021 |
2.39.0 | 1,686,471 | 8/18/2021 |
2.39.0-pre1 | 6,248 | 8/6/2021 |
2.38.0 | 2,211,165 | 6/11/2021 |
2.38.0-pre1 | 2,736 | 6/4/2021 |
2.37.0 | 3,815,872 | 4/20/2021 |
2.37.0-pre1 | 2,441 | 4/14/2021 |
2.36.0 | 2,512,672 | 3/17/2021 |
2.36.0-pre1 | 3,891 | 3/9/2021 |
2.35.0 | 854,384 | 2/4/2021 |
2.35.0-pre1 | 3,646 | 1/26/2021 |
2.34.0 | 3,023,460 | 12/11/2020 |
2.34.0-pre1 | 5,274 | 12/1/2020 |
2.33.1 | 2,030,290 | 10/28/2020 |
2.33.1-pre1 | 2,778 | 10/22/2020 |
2.32.0 | 1,316,402 | 10/5/2020 |
2.32.0-pre1 | 15,179 | 9/8/2020 |
2.31.0 | 628,558 | 8/14/2020 |
2.31.0-pre2 | 3,006 | 8/3/2020 |
2.30.0 | 497,635 | 7/16/2020 |
2.30.0-pre1 | 13,941 | 6/17/2020 |
2.29.0 | 910,231 | 5/27/2020 |
2.29.0-pre1 | 5,454 | 5/15/2020 |
2.28.0 | 2,641,948 | 4/9/2020 |
2.28.0-pre2 | 23,424 | 3/11/2020 |
2.28.0-pre1 | 8,351 | 3/3/2020 |
2.27.0 | 1,654,921 | 2/7/2020 |
2.27.0-pre1 | 10,027 | 1/24/2020 |
2.26.0 | 398,535 | 12/19/2019 |
2.26.0-pre1 | 2,710 | 12/10/2019 |
2.25.0 | 1,056,472 | 11/7/2019 |
2.25.0-pre1 | 2,742 | 11/1/2019 |
2.24.0 | 350,787 | 10/21/2019 |
2.24.0-pre1 | 3,470 | 10/9/2019 |
2.23.2 | 300,328 | 9/20/2019 |
0.2.23-pre2 | 12,176 | 9/6/2019 |
0.2.23-pre1 | 12,369 | 8/21/2019 |
0.1.22-pre3 | 10,283 | 7/30/2019 |
0.1.22-pre2 | 14,466 | 7/2/2019 |
0.1.22-pre1 | 7,323 | 6/17/2019 |
0.1.21-pre1 | 15,597 | 6/4/2019 |
0.1.20-pre1 | 12,388 | 4/9/2019 |
0.1.19-pre1 | 5,814 | 2/21/2019 |