Grpc.AspNetCore 2.84.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.MongoDB
MongoDB support for Aspire.
58
Aspire.Hosting
Core abstractions for the Aspire application model.
52
Aspire.Hosting.Nats
NATS support for .NET Aspire.
51
Aspire.Hosting.PostgreSQL
PostgreSQL® support for Aspire.
51
Aspire.Hosting
Core abstractions for the .NET Aspire application model.
50
Aspire.Hosting.SqlServer
Microsoft SQL Server support for Aspire.
50
Aspire.Hosting.PostgreSQL
PostgreSQL® support for Aspire.
50
Aspire.Hosting.SqlServer
Microsoft SQL Server support for Aspire.
49
Aspire.Hosting
Core abstractions for the Aspire application model.
49
Aspire.Hosting.PostgreSQL
PostgreSQL® support for Aspire.
49
Aspire.Hosting.PostgreSQL
PostgreSQL® support for .NET Aspire.
48
Aspire.Hosting
Core abstractions for the .NET Aspire application model.
48
Aspire.Hosting
Core abstractions for the Aspire application model.
48
Aspire.Hosting.AppHost
Core library and MSBuild logic for Aspire AppHost projects.
48
Aspire.Hosting.SqlServer
Microsoft SQL Server support for Aspire.
47
Aspire.Hosting.MongoDB
MongoDB support for .NET Aspire.
47
Aspire.Hosting.Nats
NATS support for Aspire.
47

Version Downloads Last updated
2.84.0 20 09/21/2026
2.84.0-pre1 21 09/17/2026
2.83.0 24 08/04/2026
2.83.0-pre1 28 07/23/2026
2.80.0 47 05/01/2026
2.80.0-pre1 47 04/02/2026
2.76.0 56 12/21/2025
2.76.0-pre1 48 12/12/2025
2.71.0 41 12/11/2025
2.71.0-pre1 4 10/02/2026
2.70.0 44 12/15/2025
2.70.0-pre1 3 10/02/2026
2.67.0 40 12/12/2025
2.67.0-pre1 49 12/12/2025
2.66.0 42 12/21/2025
2.66.0-pre1 43 12/12/2025
2.65.0 5 09/30/2026
2.65.0-pre1 52 12/16/2025
2.64.0 43 12/15/2025
2.64.0-pre1 50 12/12/2025
2.63.0 45 12/12/2025
2.63.0-pre1 42 12/14/2025
2.62.0 54 12/21/2025
2.62.0-pre1 54 12/12/2025
2.61.0 43 12/12/2025
2.61.0-pre1 47 12/19/2025
2.60.0 8 09/28/2026
2.60.0-pre1 5 09/28/2026
2.59.0 46 12/20/2025
2.59.0-pre1 51 12/15/2025
2.58.0 45 12/12/2025
2.58.0-pre1 50 12/13/2025
2.57.0 44 12/18/2025
2.57.0-pre1 42 12/21/2025
2.56.0 35 12/12/2025
2.56.0-pre2 48 12/11/2025
2.56.0-pre1 49 12/16/2025
2.55.0 45 12/14/2025
2.55.0-pre1 46 12/17/2025
2.54.0 4 10/03/2026
2.54.0-pre1 4 09/30/2026
2.53.0 48 12/12/2025
2.53.0-pre1 49 12/14/2025
2.52.0 45 12/12/2025
2.52.0-pre1 3 10/06/2026
2.51.0 4 10/02/2026
2.51.0-pre1 51 12/14/2025
2.50.0 47 12/12/2025
2.50.0-pre1 43 12/11/2025
2.49.0 2 10/02/2026
2.49.0-pre1 44 12/12/2025
2.48.0 47 12/11/2025
2.48.0-pre1 3 10/06/2026
2.47.0 45 12/12/2025
2.47.0-pre1 51 12/18/2025
2.46.0 50 12/11/2025
2.46.0-pre1 54 12/12/2025
2.45.0 43 12/12/2025
2.45.0-pre1 50 12/11/2025
2.44.0 37 12/19/2025
2.44.0-pre1 3 10/11/2026
2.43.0 3 09/30/2026
2.43.0-pre1 54 12/12/2025
2.42.0 39 12/14/2025
2.42.0-pre1 38 12/12/2025
2.41.0 3 10/07/2026
2.41.0-pre1 48 12/12/2025
2.40.0 58 12/16/2025
2.40.0-pre1 51 12/12/2025
2.39.0 43 12/12/2025
2.39.0-pre1 45 12/14/2025
2.38.0 49 12/15/2025
2.38.0-pre1 45 12/13/2025
2.37.0 5 10/02/2026
2.37.0-pre1 55 12/12/2025
2.36.0 51 12/12/2025
2.36.0-pre1 47 12/11/2025
2.35.0 49 12/12/2025
2.35.0-pre1 46 12/12/2025
2.34.0 47 12/14/2025
2.34.0-pre1 43 12/12/2025
2.33.1 49 12/16/2025
2.33.1-pre1 5 10/07/2026
2.32.0 50 12/12/2025
2.32.0-pre1 50 12/11/2025
2.31.0 46 12/12/2025
2.31.0-pre2 42 12/12/2025
2.30.0 47 12/21/2025
2.30.0-pre1 37 12/12/2025
2.29.0 50 12/21/2025
2.29.0-pre1 51 12/12/2025
2.28.0 51 12/12/2025
2.28.0-pre2 50 01/25/2026
2.28.0-pre1 48 12/11/2025
2.27.0 44 12/12/2025
2.27.0-pre1 50 12/12/2025
2.26.0 48 12/12/2025
2.26.0-pre1 57 12/12/2025
2.25.0 45 12/13/2025
2.25.0-pre1 47 12/12/2025
2.24.0 35 12/16/2025
2.24.0-pre1 46 12/13/2025
2.23.2 44 12/14/2025
0.2.23-pre2 43 12/11/2025
0.2.23-pre1 50 12/12/2025
0.1.22-pre3 58 12/12/2025
0.1.22-pre2 46 12/12/2025