Grpc.AspNetCore.Server
2.56.0-pre2
Prefix Reserved
See the version list below for details.
dotnet add package Grpc.AspNetCore.Server --version 2.56.0-pre2
NuGet\Install-Package Grpc.AspNetCore.Server -Version 2.56.0-pre2
<PackageReference Include="Grpc.AspNetCore.Server" Version="2.56.0-pre2" />
paket add Grpc.AspNetCore.Server --version 2.56.0-pre2
#r "nuget: Grpc.AspNetCore.Server, 2.56.0-pre2"
// Install Grpc.AspNetCore.Server as a Cake Addin #addin nuget:?package=Grpc.AspNetCore.Server&version=2.56.0-pre2&prerelease // Install Grpc.AspNetCore.Server as a Cake Tool #tool nuget:?package=Grpc.AspNetCore.Server&version=2.56.0-pre2&prerelease
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 | 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.0 is compatible. netcoreapp3.1 was computed. |
-
.NETCoreApp 3.0
- Grpc.Net.Common (>= 2.56.0-pre2)
-
net5.0
- Grpc.Net.Common (>= 2.56.0-pre2)
-
net6.0
- Grpc.Net.Common (>= 2.56.0-pre2)
-
net7.0
- Grpc.Net.Common (>= 2.56.0-pre2)
NuGet packages (108)
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. |
|
protobuf-net.Grpc.AspNetCore
Package Description |
|
Grpc.AspNetCore.HealthChecks
Integration of ASP.NET Core health checks with Grpc.HealthCheck |
GitHub repositories (22)
Showing the top 5 popular GitHub repositories that depend on Grpc.AspNetCore.Server:
Repository | Stars |
---|---|
dodyg/practical-aspnetcore
Practical samples of ASP.NET Core 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 6 and newer.
|
|
grpc/grpc-dotnet
gRPC for .NET
|
|
Cysharp/MagicOnion
Unified Realtime/API framework for .NET platform and Unity.
|
Version | Downloads | Last updated |
---|---|---|
2.67.0 | 7,596 | 11/21/2024 |
2.67.0-pre1 | 5,494 | 10/22/2024 |
2.66.0 | 1,209,610 | 9/20/2024 |
2.66.0-pre1 | 2,707 | 9/6/2024 |
2.65.0 | 1,935,387 | 7/27/2024 |
2.65.0-pre1 | 553 | 7/20/2024 |
2.64.0 | 218,712 | 7/19/2024 |
2.64.0-pre1 | 1,361 | 7/15/2024 |
2.63.0 | 2,648,365 | 5/24/2024 |
2.63.0-pre1 | 21,551 | 5/8/2024 |
2.62.0 | 1,963,360 | 3/29/2024 |
2.62.0-pre1 | 3,441 | 3/8/2024 |
2.61.0 | 2,070,967 | 2/22/2024 |
2.61.0-pre1 | 10,547 | 2/8/2024 |
2.60.0 | 2,800,502 | 1/3/2024 |
2.60.0-pre1 | 14,939 | 12/14/2023 |
2.59.0 | 3,193,136 | 11/8/2023 |
2.59.0-pre1 | 7,257 | 10/27/2023 |
2.58.0 | 1,030,700 | 10/19/2023 |
2.58.0-pre1 | 32,954 | 10/9/2023 |
2.57.0 | 2,865,175 | 9/6/2023 |
2.57.0-pre1 | 5,313 | 8/31/2023 |
2.56.0 | 490,663 | 8/25/2023 |
2.56.0-pre2 | 5,168 | 8/16/2023 |
2.56.0-pre1 | 5,615 | 8/3/2023 |
2.55.0 | 2,731,803 | 7/4/2023 |
2.55.0-pre1 | 6,407 | 6/23/2023 |
2.54.0 | 1,265,499 | 6/15/2023 |
2.54.0-pre1 | 11,947 | 5/25/2023 |
2.53.0 | 2,030,411 | 5/5/2023 |
2.53.0-pre1 | 19,662 | 4/12/2023 |
2.52.0 | 2,711,140 | 3/15/2023 |
2.52.0-pre1 | 10,033 | 3/3/2023 |
2.51.0 | 5,458,260 | 1/2/2023 |
2.51.0-pre1 | 7,745 | 12/7/2022 |
2.50.0 | 2,101,823 | 11/17/2022 |
2.50.0-pre1 | 20,993 | 11/3/2022 |
2.49.0 | 13,824,393 | 9/26/2022 |
2.49.0-pre1 | 18,642 | 9/1/2022 |
2.48.0 | 3,381,924 | 8/24/2022 |
2.48.0-pre1 | 5,414 | 8/17/2022 |
2.47.0 | 3,090,212 | 7/3/2022 |
2.47.0-pre1 | 6,036 | 6/23/2022 |
2.46.0 | 2,883,858 | 5/13/2022 |
2.46.0-pre1 | 5,388 | 4/28/2022 |
2.45.0 | 1,737,325 | 4/19/2022 |
2.45.0-pre1 | 5,927 | 4/7/2022 |
2.44.0 | 1,860,725 | 3/17/2022 |
2.44.0-pre1 | 20,920 | 3/9/2022 |
2.43.0 | 1,252,862 | 2/25/2022 |
2.43.0-pre1 | 27,997 | 1/28/2022 |
2.42.0 | 3,029,939 | 1/19/2022 |
2.42.0-pre1 | 11,483 | 12/30/2021 |
2.41.0 | 1,514,396 | 12/7/2021 |
2.41.0-pre1 | 21,627 | 11/12/2021 |
2.40.0 | 5,607,645 | 10/5/2021 |
2.40.0-pre1 | 7,559 | 9/9/2021 |
2.39.0 | 1,648,333 | 8/18/2021 |
2.39.0-pre1 | 6,159 | 8/6/2021 |
2.38.0 | 2,144,957 | 6/11/2021 |
2.38.0-pre1 | 2,681 | 6/4/2021 |
2.37.0 | 3,619,159 | 4/20/2021 |
2.37.0-pre1 | 2,386 | 4/14/2021 |
2.36.0 | 2,416,552 | 3/17/2021 |
2.36.0-pre1 | 3,834 | 3/9/2021 |
2.35.0 | 841,411 | 2/4/2021 |
2.35.0-pre1 | 3,587 | 1/26/2021 |
2.34.0 | 2,905,096 | 12/11/2020 |
2.34.0-pre1 | 5,205 | 12/1/2020 |
2.33.1 | 1,910,553 | 10/28/2020 |
2.33.1-pre1 | 2,717 | 10/22/2020 |
2.32.0 | 1,277,259 | 10/5/2020 |
2.32.0-pre1 | 15,039 | 9/8/2020 |
2.31.0 | 623,815 | 8/14/2020 |
2.31.0-pre2 | 2,950 | 8/3/2020 |
2.30.0 | 470,119 | 7/16/2020 |
2.30.0-pre1 | 13,875 | 6/17/2020 |
2.29.0 | 872,611 | 5/27/2020 |
2.29.0-pre1 | 5,379 | 5/15/2020 |
2.28.0 | 2,488,427 | 4/9/2020 |
2.28.0-pre2 | 23,348 | 3/11/2020 |
2.28.0-pre1 | 8,235 | 3/3/2020 |
2.27.0 | 1,634,412 | 2/7/2020 |
2.27.0-pre1 | 9,933 | 1/24/2020 |
2.26.0 | 394,436 | 12/19/2019 |
2.26.0-pre1 | 2,646 | 12/10/2019 |
2.25.0 | 1,054,582 | 11/7/2019 |
2.25.0-pre1 | 2,675 | 11/1/2019 |
2.24.0 | 341,930 | 10/21/2019 |
2.24.0-pre1 | 3,402 | 10/9/2019 |
2.23.2 | 271,202 | 9/20/2019 |
0.2.23-pre2 | 12,097 | 9/6/2019 |
0.2.23-pre1 | 12,242 | 8/21/2019 |
0.1.22-pre3 | 9,876 | 7/30/2019 |
0.1.22-pre2 | 14,215 | 7/2/2019 |
0.1.22-pre1 | 7,247 | 6/17/2019 |
0.1.21-pre1 | 15,435 | 6/4/2019 |
0.1.20-pre1 | 12,267 | 4/9/2019 |
0.1.19-pre1 | 5,740 | 2/21/2019 |