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

.NET 6.0

.NET 7.0

.NET 8.0

.NET 9.0

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