Grpc.AspNetCore.Server 2.76.0-pre1

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.

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

Packages Downloads
Grpc.AspNetCore.Server.ClientFactory
HttpClientFactory integration the for gRPC .NET client when running in ASP.NET Core
30
Grpc.AspNetCore.Server.ClientFactory
HttpClientFactory integration the for gRPC .NET client when running in ASP.NET Core
31
Grpc.AspNetCore.Server.ClientFactory
HttpClientFactory integration the for gRPC .NET client when running in ASP.NET Core
32
Grpc.AspNetCore.Server.ClientFactory
HttpClientFactory integration the for gRPC .NET client when running in ASP.NET Core
33
Grpc.AspNetCore.Server.ClientFactory
HttpClientFactory integration the for gRPC .NET client when running in ASP.NET Core
37

.NET 8.0

.NET 9.0

.NET 10.0

Version Downloads Last updated
2.76.0-pre1 3 11/19/2025
2.71.0 19 05/02/2025
2.71.0-pre1 19 04/18/2025
2.70.0 24 03/11/2025
2.70.0-pre1 25 03/05/2025
2.67.0 27 12/02/2024
2.67.0-pre1 27 12/08/2024
2.66.0 29 12/04/2024
2.66.0-pre1 26 12/10/2024
2.65.0 26 12/29/2024
2.65.0-pre1 25 12/13/2024
2.64.0 26 12/11/2024
2.64.0-pre1 26 12/10/2024
2.63.0 27 12/14/2024
2.63.0-pre1 26 12/12/2024
2.62.0 26 12/11/2024
2.62.0-pre1 26 12/08/2024
2.61.0 27 12/30/2024
2.61.0-pre1 30 12/07/2024
2.60.0 27 12/04/2024
2.60.0-pre1 28 12/04/2024
2.59.0 27 12/03/2024
2.59.0-pre1 26 12/04/2024
2.58.0 25 12/02/2024
2.58.0-pre1 28 12/02/2024
2.57.0 30 12/10/2024
2.57.0-pre1 23 12/12/2024
2.56.0 25 12/04/2024
2.56.0-pre2 28 12/08/2024
2.56.0-pre1 22 12/13/2024
2.55.0 25 12/08/2024
2.55.0-pre1 26 12/06/2024
2.54.0 25 12/03/2024
2.54.0-pre1 25 12/02/2024
2.53.0 28 12/06/2024
2.53.0-pre1 26 12/07/2024
2.52.0 30 12/30/2024
2.52.0-pre1 29 12/02/2024
2.51.0 26 12/08/2024
2.51.0-pre1 25 12/29/2024
2.50.0 30 12/06/2024
2.50.0-pre1 24 12/08/2024
2.49.0 26 12/04/2024
2.49.0-pre1 24 12/13/2024
2.48.0 24 12/02/2024
2.48.0-pre1 27 12/04/2024
2.47.0 25 12/08/2024
2.47.0-pre1 31 12/09/2024
2.46.0 30 12/11/2024
2.46.0-pre1 26 12/10/2024
2.45.0 28 12/09/2024
2.45.0-pre1 24 12/04/2024
2.44.0 26 12/03/2024
2.44.0-pre1 24 12/02/2024
2.43.0 27 12/14/2024
2.43.0-pre1 27 12/02/2024
2.42.0 23 12/15/2024
2.42.0-pre1 27 12/04/2024
2.41.0 26 12/12/2024
2.41.0-pre1 25 12/19/2024
2.40.0 22 12/13/2024
2.40.0-pre1 25 12/09/2024
2.39.0 25 12/13/2024
2.39.0-pre1 23 12/11/2024
2.38.0 26 12/04/2024
2.38.0-pre1 24 12/15/2024
2.37.0 25 12/08/2024
2.37.0-pre1 29 12/10/2024
2.36.0 24 12/02/2024
2.36.0-pre1 26 12/10/2024
2.35.0 23 12/13/2024
2.35.0-pre1 20 12/02/2024
2.34.0 26 12/02/2024
2.34.0-pre1 24 12/08/2024
2.33.1 26 12/04/2024
2.33.1-pre1 24 12/02/2024
2.32.0 23 12/02/2024
2.32.0-pre1 29 12/03/2024
2.31.0 28 12/24/2024
2.31.0-pre2 25 12/02/2024
2.30.0 23 12/02/2024
2.30.0-pre1 33 12/02/2024
2.29.0 22 12/13/2024
2.29.0-pre1 25 12/02/2024
2.28.0 29 12/02/2024
2.28.0-pre2 25 12/10/2024
2.28.0-pre1 26 12/09/2024
2.27.0 23 12/06/2024
2.27.0-pre1 27 12/09/2024
2.26.0 23 12/02/2024
2.26.0-pre1 24 12/13/2024
2.25.0 23 12/30/2024
2.25.0-pre1 21 12/19/2024
2.24.0 26 12/11/2024
2.24.0-pre1 24 12/03/2024
2.23.2 23 12/10/2024
0.2.23-pre2 26 12/09/2024
0.2.23-pre1 26 12/07/2024
0.1.22-pre3 28 01/01/2025
0.1.22-pre2 23 12/06/2024
0.1.22-pre1 27 12/06/2024
0.1.21-pre1 26 12/09/2024
0.1.20-pre1 24 01/04/2025
0.1.19-pre1 24 12/09/2024