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.
Links
No packages depend on Grpc.AspNetCore.Server.
.NET 6.0
- Grpc.Net.Common (>= 2.67.0)
.NET 7.0
- Grpc.Net.Common (>= 2.67.0)
.NET 8.0
- Grpc.Net.Common (>= 2.67.0)
.NET 9.0
- Grpc.Net.Common (>= 2.67.0)
Version | Downloads | Last updated |
---|---|---|
2.67.0 | 5 | 10.12.2024 |
2.67.0-pre1 | 0 | 22.10.2024 |
2.66.0 | 2 | 10.12.2024 |
2.66.0-pre1 | 3 | 20.12.2024 |
2.65.0 | 5 | 11.12.2024 |
2.65.0-pre1 | 3 | 08.12.2024 |
2.64.0 | 0 | 19.07.2024 |
2.64.0-pre1 | 2 | 05.12.2024 |
2.63.0 | 2 | 02.12.2024 |
2.63.0-pre1 | 0 | 08.05.2024 |
2.62.0 | 0 | 29.03.2024 |
2.62.0-pre1 | 0 | 08.03.2024 |
2.61.0 | 3 | 03.12.2024 |
2.61.0-pre1 | 2 | 02.12.2024 |
2.60.0 | 5 | 11.12.2024 |
2.60.0-pre1 | 0 | 14.12.2023 |
2.59.0 | 0 | 08.11.2023 |
2.59.0-pre1 | 0 | 27.10.2023 |
2.58.0 | 5 | 10.12.2024 |
2.58.0-pre1 | 2 | 02.12.2024 |
2.57.0 | 3 | 15.12.2024 |
2.57.0-pre1 | 5 | 02.12.2024 |
2.56.0 | 0 | 25.08.2023 |
2.56.0-pre2 | 2 | 10.12.2024 |
2.56.0-pre1 | 0 | 03.08.2023 |
2.55.0 | 0 | 04.07.2023 |
2.55.0-pre1 | 3 | 04.12.2024 |
2.54.0 | 0 | 15.06.2023 |
2.54.0-pre1 | 0 | 25.05.2023 |
2.53.0 | 0 | 05.05.2023 |
2.53.0-pre1 | 3 | 23.12.2024 |
2.52.0 | 3 | 30.11.2024 |
2.52.0-pre1 | 3 | 30.11.2024 |
2.51.0 | 3 | 18.12.2024 |
2.51.0-pre1 | 3 | 13.12.2024 |
2.50.0 | 0 | 17.11.2022 |
2.50.0-pre1 | 0 | 03.11.2022 |
2.49.0 | 2 | 05.12.2024 |
2.49.0-pre1 | 0 | 01.09.2022 |
2.48.0 | 3 | 16.12.2024 |
2.48.0-pre1 | 3 | 20.12.2024 |
2.47.0 | 0 | 03.07.2022 |
2.47.0-pre1 | 5 | 02.12.2024 |
2.46.0 | 2 | 06.12.2024 |
2.46.0-pre1 | 0 | 28.04.2022 |
2.45.0 | 0 | 19.04.2022 |
2.45.0-pre1 | 2 | 03.12.2024 |
2.44.0 | 2 | 02.12.2024 |
2.44.0-pre1 | 3 | 03.12.2024 |
2.43.0 | 3 | 13.12.2024 |
2.43.0-pre1 | 3 | 15.12.2024 |
2.42.0 | 0 | 19.01.2022 |
2.42.0-pre1 | 3 | 15.12.2024 |
2.41.0 | 3 | 14.12.2024 |
2.41.0-pre1 | 3 | 01.12.2024 |
2.40.0 | 0 | 05.10.2021 |
2.40.0-pre1 | 5 | 02.12.2024 |
2.39.0 | 2 | 06.12.2024 |
2.39.0-pre1 | 3 | 15.12.2024 |
2.38.0 | 3 | 20.12.2024 |
2.38.0-pre1 | 3 | 01.12.2024 |
2.37.0 | 3 | 20.12.2024 |
2.37.0-pre1 | 0 | 14.04.2021 |
2.36.0 | 3 | 20.12.2024 |
2.36.0-pre1 | 2 | 02.12.2024 |
2.35.0 | 1 | 06.12.2024 |
2.35.0-pre1 | 3 | 15.12.2024 |
2.34.0 | 2 | 05.12.2024 |
2.34.0-pre1 | 0 | 01.12.2020 |
2.33.1 | 3 | 03.12.2024 |
2.33.1-pre1 | 0 | 22.10.2020 |
2.32.0 | 5 | 10.12.2024 |
2.32.0-pre1 | 0 | 08.09.2020 |
2.31.0 | 0 | 14.08.2020 |
2.31.0-pre2 | 0 | 03.08.2020 |
2.30.0 | 0 | 16.07.2020 |
2.30.0-pre1 | 0 | 17.06.2020 |
2.29.0 | 5 | 11.12.2024 |
2.29.0-pre1 | 3 | 30.11.2024 |
2.28.0 | 3 | 09.12.2024 |
2.28.0-pre2 | 0 | 11.03.2020 |
2.28.0-pre1 | 0 | 03.03.2020 |
2.27.0 | 1 | 06.12.2024 |
2.27.0-pre1 | 5 | 02.12.2024 |
2.26.0 | 3 | 20.12.2024 |
2.26.0-pre1 | 0 | 10.12.2019 |
2.25.0 | 0 | 07.11.2019 |
2.25.0-pre1 | 0 | 01.11.2019 |
2.24.0 | 0 | 21.10.2019 |
2.24.0-pre1 | 2 | 05.12.2024 |
2.23.2 | 3 | 14.12.2024 |
0.2.23-pre2 | 3 | 15.12.2024 |
0.2.23-pre1 | 2 | 06.12.2024 |
0.1.22-pre3 | 3 | 13.12.2024 |
0.1.22-pre2 | 5 | 10.12.2024 |
0.1.22-pre1 | 5 | 03.12.2024 |
0.1.21-pre1 | 0 | 04.06.2019 |
0.1.20-pre1 | 3 | 02.12.2024 |
0.1.19-pre1 | 3 | 15.12.2024 |