Grpc.AspNetCore.Server 2.67.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
628
Grpc.AspNetCore.Server.ClientFactory
HttpClientFactory integration the for gRPC .NET client when running in ASP.NET Core
390
Grpc.AspNetCore.Server.ClientFactory
HttpClientFactory integration the for gRPC .NET client when running in ASP.NET Core
311
Grpc.AspNetCore.Server.ClientFactory
HttpClientFactory integration the for gRPC .NET client when running in ASP.NET Core
172
Grpc.AspNetCore.Server.ClientFactory
HttpClientFactory integration the for gRPC .NET client when running in ASP.NET Core
120
Grpc.AspNetCore.Server.Reflection
Automatic discovery of services for Grpc.Reflection
110
Grpc.AspNetCore.Server.ClientFactory
HttpClientFactory integration the for gRPC .NET client when running in ASP.NET Core
93
Grpc.AspNetCore.Server.ClientFactory
HttpClientFactory integration the for gRPC .NET client when running in ASP.NET Core
78
Grpc.AspNetCore.Server.ClientFactory
HttpClientFactory integration the for gRPC .NET client when running in ASP.NET Core
60
Grpc.AspNetCore.Server.ClientFactory
HttpClientFactory integration the for gRPC .NET client when running in ASP.NET Core
58
Grpc.AspNetCore.Server.Reflection
Automatic discovery of services for Grpc.Reflection
57
Grpc.AspNetCore.Server.Reflection
Automatic discovery of services for Grpc.Reflection
53
Grpc.AspNetCore.Server.ClientFactory
HttpClientFactory integration the for gRPC .NET client when running in ASP.NET Core
39
Grpc.AspNetCore.Server.Reflection
Automatic discovery of services for Grpc.Reflection
33
Grpc.AspNetCore.Server.ClientFactory
HttpClientFactory integration the for gRPC .NET client when running in ASP.NET Core
26
Grpc.AspNetCore.Server.ClientFactory
HttpClientFactory integration the for gRPC .NET client when running in ASP.NET Core
23
Grpc.AspNetCore.Server.ClientFactory
HttpClientFactory integration the for gRPC .NET client when running in ASP.NET Core
22
Grpc.AspNetCore.Server.ClientFactory
HttpClientFactory integration the for gRPC .NET client when running in ASP.NET Core
21

.NET 6.0

.NET 7.0

.NET 8.0

.NET 9.0

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