Grpc.AspNetCore 2.67.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.

No packages depend on Grpc.AspNetCore.

Version Downloads Last updated
2.67.0 5 11/23/2024
2.67.0-pre1 7 10/22/2024
2.66.0 6 09/28/2024
2.66.0-pre1 9 09/07/2024
2.65.0 8 08/08/2024
2.65.0-pre1 7 07/25/2024
2.64.0 7 08/07/2024
2.64.0-pre1 8 07/25/2024
2.63.0 12 05/29/2024
2.63.0-pre1 10 05/16/2024
2.62.0 12 04/06/2024
2.62.0-pre1 11 03/13/2024
2.61.0 15 03/03/2024
2.61.0-pre1 15 02/23/2024
2.60.0 13 01/30/2024
2.60.0-pre1 14 01/30/2024
2.59.0 172 11/15/2023
2.59.0-pre1 16 01/19/2024
2.58.0 15 12/27/2023
2.58.0-pre1 14 10/11/2023
2.57.0 17 10/22/2023
2.57.0-pre1 14 11/09/2023
2.56.0 18 10/19/2023
2.56.0-pre2 14 01/04/2024
2.56.0-pre1 16 09/05/2023
2.55.0 21 09/29/2023
2.55.0-pre1 12 01/03/2024
2.54.0 15 10/21/2023
2.54.0-pre1 14 11/11/2023
2.53.0 15 06/12/2023
2.53.0-pre1 19 06/06/2023
2.52.0 14 10/22/2023
2.52.0-pre1 13 12/18/2023
2.51.0 15 06/05/2023
2.51.0-pre1 15 08/15/2023
2.50.0 16 06/06/2023
2.50.0-pre1 14 12/16/2023
2.49.0 629 12/14/2022
2.49.0-pre1 16 12/15/2023
2.48.0 16 06/06/2023
2.48.0-pre1 16 11/10/2023
2.47.0 16 10/22/2023
2.47.0-pre1 15 01/25/2024
2.46.0 380 06/15/2022
2.46.0-pre1 13 12/05/2023
2.45.0 18 10/21/2023
2.45.0-pre1 12 07/02/2023
2.44.0 16 03/20/2022
2.44.0-pre1 16 06/17/2023
2.43.0 17 10/22/2023
2.43.0-pre1 14 01/05/2024
2.42.0 14 10/22/2023
2.42.0-pre1 15 07/23/2023
2.41.0 14 10/22/2023
2.41.0-pre1 18 01/02/2024
2.40.0 298 11/12/2021
2.40.0-pre1 16 10/18/2023
2.39.0 57 09/16/2021
2.39.0-pre1 12 01/24/2024
2.38.0 94 07/16/2021
2.38.0-pre1 15 08/14/2023
2.37.0 78 05/24/2021
2.37.0-pre1 15 11/25/2023
2.36.0 37 03/19/2021
2.36.0-pre1 12 06/05/2023
2.35.0 27 03/03/2021
2.35.0-pre1 15 06/04/2023
2.34.0 55 01/13/2021
2.34.0-pre1 18 10/20/2023
2.33.1 22 12/16/2020
2.33.1-pre1 16 09/29/2023
2.32.0 117 08/02/2021
2.32.0-pre1 17 01/10/2024
2.31.0 13 10/22/2023
2.31.0-pre2 12 11/06/2023
2.30.0 14 06/15/2023
2.30.0-pre1 15 01/09/2024
2.29.0 12 10/22/2023
2.29.0-pre1 15 12/13/2023
2.28.0 17 10/22/2023
2.28.0-pre2 14 10/12/2023
2.28.0-pre1 19 10/26/2023
2.27.0 12 10/21/2023
2.27.0-pre1 13 01/24/2024
2.26.0 14 10/22/2023
2.26.0-pre1 14 10/20/2023
2.25.0 13 10/22/2023
2.25.0-pre1 13 01/25/2024
2.24.0 12 10/22/2023
2.24.0-pre1 15 12/19/2023
2.23.2 15 10/02/2023
0.2.23-pre2 14 01/28/2024
0.2.23-pre1 15 01/27/2024
0.1.22-pre3 18 01/10/2024
0.1.22-pre2 13 01/26/2024