Grpc.AspNetCore 2.85.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 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.

Showing the top 20 packages that depend on Grpc.AspNetCore.

Packages Downloads
Aspire.Hosting
Core abstractions for the Aspire application model.
41
Aspire.Hosting
Core abstractions for the Aspire application model.
29
Aspire.Hosting.Redis
Redis® support for Aspire.
27
Aspire.Hosting
Core abstractions for the .NET Aspire application model.
26
Aspire.Hosting
Core abstractions for the Aspire application model.
25
Aspire.Hosting.Redis
Redis® support for Aspire.
23
Aspire.Hosting
Core abstractions for the .NET Aspire application model.
23
Aspire.Hosting.Redis
Redis® support for Aspire.
22
Aspire.Hosting
Core abstractions for the .NET Aspire application model.
22
Aspire.Hosting
Core abstractions for the Aspire application model.
22
Aspire.Hosting
Core abstractions for the .NET Aspire application model.
21
Aspire.Hosting.Redis
Redis® support for .NET Aspire.
20
Aspire.Hosting
Core abstractions for the .NET Aspire application model.
20
Aspire.Hosting.Redis
Redis® support for Aspire.
20

Version Downloads Last updated
2.85.0 6 11/13/2026
2.84.0 4 09/23/2026
2.84.0-pre1 2 09/18/2026
2.83.0 10 08/06/2026
2.83.0-pre1 8 07/29/2026
2.80.0 13 06/20/2026
2.80.0-pre1 12 06/30/2026
2.76.0 7 06/24/2026
2.76.0-pre1 14 06/20/2026
2.71.0 14 06/20/2026
2.71.0-pre1 11 07/02/2026
2.70.0 12 06/21/2026
2.70.0-pre1 10 06/30/2026
2.67.0 9 06/24/2026
2.67.0-pre1 16 06/20/2026
2.66.0 12 06/26/2026
2.66.0-pre1 14 06/20/2026
2.65.0 12 06/21/2026
2.65.0-pre1 12 06/30/2026
2.64.0 13 06/20/2026
2.64.0-pre1 11 06/30/2026
2.63.0 13 06/20/2026
2.63.0-pre1 14 07/06/2026
2.62.0 10 06/26/2026
2.62.0-pre1 15 06/30/2026
2.61.0 12 06/24/2026
2.61.0-pre1 10 06/30/2026
2.60.0 12 06/21/2026
2.60.0-pre1 15 06/21/2026
2.59.0 14 06/24/2026
2.59.0-pre1 9 06/20/2026
2.58.0 8 06/20/2026
2.58.0-pre1 11 07/02/2026
2.57.0 14 06/24/2026
2.57.0-pre1 13 06/20/2026
2.56.0 12 06/24/2026
2.56.0-pre2 10 06/30/2026
2.56.0-pre1 11 07/01/2026
2.55.0 8 06/20/2026
2.55.0-pre1 14 06/20/2026
2.54.0 13 06/21/2026
2.54.0-pre1 15 06/30/2026
2.53.0 13 06/24/2026
2.53.0-pre1 10 06/30/2026
2.52.0 15 06/20/2026
2.52.0-pre1 12 07/06/2026
2.51.0 13 06/21/2026
2.51.0-pre1 11 06/30/2026
2.50.0 11 06/26/2026
2.50.0-pre1 13 06/21/2026
2.49.0 19 06/20/2026
2.49.0-pre1 10 07/05/2026
2.48.0 21 06/21/2026
2.48.0-pre1 13 06/30/2026
2.47.0 12 06/20/2026
2.47.0-pre1 13 07/01/2026
2.46.0 0 05/13/2022
2.46.0-pre1 15 07/04/2026
2.45.0 8 06/20/2026
2.45.0-pre1 13 06/20/2026
2.44.0 13 06/26/2026
2.44.0-pre1 15 06/20/2026
2.43.0 9 06/24/2026
2.43.0-pre1 9 06/20/2026
2.42.0 14 06/21/2026
2.42.0-pre1 13 06/20/2026
2.41.0 17 06/20/2026
2.41.0-pre1 11 06/30/2026
2.40.0 9 06/26/2026
2.40.0-pre1 12 06/30/2026
2.39.0 12 06/24/2026
2.39.0-pre1 10 06/30/2026
2.38.0 13 06/20/2026
2.38.0-pre1 19 06/30/2026
2.37.0 11 06/20/2026
2.37.0-pre1 10 07/06/2026
2.36.0 14 06/24/2026
2.36.0-pre1 21 06/20/2026
2.35.0 14 06/20/2026
2.35.0-pre1 8 06/21/2026
2.34.0 6 06/24/2026
2.34.0-pre1 14 06/21/2026
2.33.1 7 06/26/2026
2.33.1-pre1 7 07/06/2026
2.32.0 10 06/26/2026
2.32.0-pre1 14 06/30/2026
2.31.0 14 06/21/2026
2.31.0-pre2 10 06/30/2026
2.30.0 15 06/26/2026
2.30.0-pre1 17 06/30/2026
2.29.0 12 06/20/2026
2.29.0-pre1 11 06/30/2026
2.28.0 15 06/20/2026
2.28.0-pre2 15 06/21/2026
2.28.0-pre1 9 06/20/2026
2.27.0 10 06/21/2026
2.27.0-pre1 11 06/30/2026
2.26.0 9 06/26/2026
2.26.0-pre1 18 06/21/2026
2.25.0 10 06/21/2026
2.25.0-pre1 8 06/30/2026
2.24.0 11 06/26/2026
2.24.0-pre1 13 06/30/2026
2.23.2 11 06/24/2026
0.2.23-pre2 13 06/30/2026
0.2.23-pre1 7 06/30/2026
0.1.22-pre3 10 06/30/2026
0.1.22-pre2 7 06/21/2026