Grpc.AspNetCore
2.51.0
Prefix Reserved
See the version list below for details.
dotnet add package Grpc.AspNetCore --version 2.51.0
NuGet\Install-Package Grpc.AspNetCore -Version 2.51.0
<PackageReference Include="Grpc.AspNetCore" Version="2.51.0" />
paket add Grpc.AspNetCore --version 2.51.0
#r "nuget: Grpc.AspNetCore, 2.51.0"
// Install Grpc.AspNetCore as a Cake Addin #addin nuget:?package=Grpc.AspNetCore&version=2.51.0 // Install Grpc.AspNetCore as a Cake Tool #tool nuget:?package=Grpc.AspNetCore&version=2.51.0
Grpc.AspNetCore
Grpc.AspNetCore
is a metapackage with references to:
Grpc.AspNetCore.Server
: gRPC server library for .NET.Grpc.Tools
: Code-generation tooling package.Google.Protobuf
: Protobuf serialization library.
Configure gRPC
In Startup.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.
public class Startup
{
public void ConfigureServices(IServiceCollection services)
{
services.AddGrpc();
}
public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
{
if (env.IsDevelopment())
{
app.UseDeveloperExceptionPage();
}
app.UseRouting();
app.UseEndpoints(endpoints =>
{
endpoints.MapGrpcService<GreeterService>();
});
}
}
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
- Google.Protobuf (>= 3.21.5)
- Grpc.AspNetCore.Server.ClientFactory (>= 2.51.0)
- Grpc.Tools (>= 2.51.0)
-
net5.0
- Google.Protobuf (>= 3.21.5)
- Grpc.AspNetCore.Server.ClientFactory (>= 2.51.0)
- Grpc.Tools (>= 2.51.0)
-
net6.0
- Google.Protobuf (>= 3.21.5)
- Grpc.AspNetCore.Server.ClientFactory (>= 2.51.0)
- Grpc.Tools (>= 2.51.0)
-
net7.0
- Google.Protobuf (>= 3.21.5)
- Grpc.AspNetCore.Server.ClientFactory (>= 2.51.0)
- Grpc.Tools (>= 2.51.0)
NuGet packages (329)
Showing the top 5 NuGet packages that depend on Grpc.AspNetCore:
Package | Downloads |
---|---|
Microsoft.Azure.WebJobs.Extensions.Rpc
This package provides RPC capabilities to the WebJobs SDK, allowing extensions to communicate between the host and worker via RPC. For more information, please visit https://go.microsoft.com/fwlink/?linkid=2279708. |
|
Aspire.Hosting
Core abstractions for the .NET Aspire application model. |
|
Calzolari.Grpc.AspNetCore.Validation
Request message validator for Grpc.AspNetCore |
|
Aspire.Hosting.AppHost
Core library and MSBuild logic for .NET Aspire AppHost projects. |
|
Proto.Remote
Ultra-fast distributed actors for .NET. |
GitHub repositories (102)
Showing the top 5 popular GitHub repositories that depend on Grpc.AspNetCore:
Repository | Stars |
---|---|
dotnet/runtime
.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
|
|
dotnet/efcore
EF Core is a modern object-database mapper for .NET. It supports LINQ queries, change tracking, updates, and schema migrations.
|
|
dotnet/AspNetCore.Docs
Documentation for ASP.NET Core
|
|
dotnet/eShop
A reference .NET application implementing an eCommerce site
|
|
EventStore/EventStore
EventStoreDB, the event-native database. Designed for Event Sourcing, Event-Driven, and Microservices architectures
|
Version | Downloads | Last updated |
---|---|---|
2.67.0 | 8,347 | 11/21/2024 |
2.67.0-pre1 | 4,493 | 10/22/2024 |
2.66.0 | 921,075 | 9/20/2024 |
2.66.0-pre1 | 2,121 | 9/6/2024 |
2.65.0 | 1,617,163 | 7/27/2024 |
2.65.0-pre1 | 485 | 7/20/2024 |
2.64.0 | 135,416 | 7/19/2024 |
2.64.0-pre1 | 1,120 | 7/15/2024 |
2.63.0 | 1,695,434 | 5/24/2024 |
2.63.0-pre1 | 20,718 | 5/8/2024 |
2.62.0 | 1,402,670 | 3/29/2024 |
2.62.0-pre1 | 2,330 | 3/8/2024 |
2.61.0 | 1,861,963 | 2/22/2024 |
2.61.0-pre1 | 9,712 | 2/8/2024 |
2.60.0 | 2,266,259 | 1/3/2024 |
2.60.0-pre1 | 12,834 | 12/14/2023 |
2.59.0 | 2,559,337 | 11/8/2023 |
2.59.0-pre1 | 5,535 | 10/27/2023 |
2.58.0 | 923,467 | 10/19/2023 |
2.58.0-pre1 | 31,486 | 10/9/2023 |
2.57.0 | 1,683,590 | 9/6/2023 |
2.57.0-pre1 | 4,211 | 8/31/2023 |
2.56.0 | 392,696 | 8/25/2023 |
2.56.0-pre2 | 3,796 | 8/16/2023 |
2.56.0-pre1 | 4,186 | 8/3/2023 |
2.55.0 | 2,170,516 | 7/4/2023 |
2.55.0-pre1 | 4,572 | 6/23/2023 |
2.54.0 | 1,116,722 | 6/15/2023 |
2.54.0-pre1 | 9,726 | 5/25/2023 |
2.53.0 | 1,710,216 | 5/5/2023 |
2.53.0-pre1 | 14,266 | 4/12/2023 |
2.52.0 | 2,127,501 | 3/15/2023 |
2.52.0-pre1 | 6,706 | 3/3/2023 |
2.51.0 | 2,462,027 | 1/2/2023 |
2.51.0-pre1 | 5,176 | 12/7/2022 |
2.50.0 | 1,685,207 | 11/17/2022 |
2.50.0-pre1 | 17,926 | 11/3/2022 |
2.49.0 | 10,933,013 | 9/26/2022 |
2.49.0-pre1 | 2,718 | 9/1/2022 |
2.48.0 | 1,381,706 | 8/24/2022 |
2.48.0-pre1 | 2,057 | 8/17/2022 |
2.47.0 | 2,554,530 | 7/3/2022 |
2.47.0-pre1 | 2,267 | 6/23/2022 |
2.46.0 | 2,038,607 | 5/13/2022 |
2.46.0-pre1 | 2,258 | 4/28/2022 |
2.45.0 | 1,500,023 | 4/19/2022 |
2.45.0-pre1 | 3,671 | 4/7/2022 |
2.44.0 | 1,159,831 | 3/17/2022 |
2.44.0-pre1 | 18,188 | 3/9/2022 |
2.43.0 | 910,246 | 2/25/2022 |
2.43.0-pre1 | 9,127 | 1/28/2022 |
2.42.0 | 2,524,783 | 1/19/2022 |
2.42.0-pre1 | 8,702 | 12/30/2021 |
2.41.0 | 1,213,948 | 12/7/2021 |
2.41.0-pre1 | 17,204 | 11/12/2021 |
2.40.0 | 4,639,966 | 10/5/2021 |
2.40.0-pre1 | 3,669 | 9/9/2021 |
2.39.0 | 1,342,657 | 8/18/2021 |
2.39.0-pre1 | 3,965 | 8/6/2021 |
2.38.0 | 1,534,451 | 6/11/2021 |
2.38.0-pre1 | 891 | 6/4/2021 |
2.37.0 | 1,162,554 | 4/20/2021 |
2.37.0-pre1 | 648 | 4/14/2021 |
2.36.0 | 582,886 | 3/17/2021 |
2.36.0-pre1 | 1,177 | 3/9/2021 |
2.35.0 | 677,427 | 2/4/2021 |
2.35.0-pre1 | 1,677 | 1/26/2021 |
2.34.0 | 1,543,600 | 12/11/2020 |
2.34.0-pre1 | 2,976 | 12/1/2020 |
2.33.1 | 824,260 | 10/28/2020 |
2.33.1-pre1 | 975 | 10/22/2020 |
2.32.0 | 1,032,569 | 10/5/2020 |
2.32.0-pre1 | 13,098 | 9/8/2020 |
2.31.0 | 516,502 | 8/14/2020 |
2.31.0-pre2 | 1,111 | 8/3/2020 |
2.30.0 | 265,616 | 7/16/2020 |
2.30.0-pre1 | 2,721 | 6/17/2020 |
2.29.0 | 504,046 | 5/27/2020 |
2.29.0-pre1 | 3,279 | 5/15/2020 |
2.28.0 | 629,481 | 4/9/2020 |
2.28.0-pre2 | 15,371 | 3/11/2020 |
2.28.0-pre1 | 6,375 | 3/3/2020 |
2.27.0 | 1,499,498 | 2/7/2020 |
2.27.0-pre1 | 6,472 | 1/24/2020 |
2.26.0 | 315,302 | 12/19/2019 |
2.26.0-pre1 | 880 | 12/10/2019 |
2.25.0 | 911,288 | 11/7/2019 |
2.25.0-pre1 | 846 | 11/1/2019 |
2.24.0 | 323,927 | 10/21/2019 |
2.24.0-pre1 | 1,292 | 10/9/2019 |
2.23.2 | 220,527 | 9/20/2019 |
0.2.23-pre2 | 4,620 | 9/6/2019 |
0.2.23-pre1 | 4,956 | 8/21/2019 |
0.1.22-pre3 | 6,581 | 7/30/2019 |
0.1.22-pre2 | 10,188 | 7/2/2019 |