Grpc.AspNetCore.Server 2.71.0

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
25
Grpc.AspNetCore.Server.ClientFactory
HttpClientFactory integration the for gRPC .NET client when running in ASP.NET Core
22
Grpc.AspNetCore.Server.Reflection
Automatic discovery of services for Grpc.Reflection
21
Grpc.AspNetCore.Server.ClientFactory
HttpClientFactory integration the for gRPC .NET client when running in ASP.NET Core
21
Grpc.AspNetCore.Server.ClientFactory
HttpClientFactory integration the for gRPC .NET client when running in ASP.NET Core
20
Grpc.AspNetCore.Server.ClientFactory
HttpClientFactory integration the for gRPC .NET client when running in ASP.NET Core
19
Grpc.AspNetCore.Server.Reflection
Automatic discovery of services for Grpc.Reflection
19
Grpc.AspNetCore.Server.ClientFactory
HttpClientFactory integration the for gRPC .NET client when running in ASP.NET Core
18

.NET 6.0

.NET 7.0

.NET 8.0

.NET 9.0

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