Grpc.AspNetCore 2.71.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.
Links
Showing the top 20 packages that depend on Grpc.AspNetCore.
Packages | Downloads |
---|---|
Aspire.Hosting.Testing
Testing support for the .NET Aspire application model.
|
2 |
Aspire.Hosting.NodeJs
Node.js support for .NET Aspire.
|
2 |
Aspire.Hosting.SqlServer
Microsoft SQL Server support for .NET Aspire.
|
2 |
Aspire.Hosting.Python
Python support for .NET Aspire.
|
2 |
Aspire.Hosting.Azure
Azure resource types for .NET Aspire.
|
2 |
Aspire.Hosting.Azure.Storage
Azure Storage resource types for .NET Aspire.
|
1 |
Aspire.Hosting.Python
Python support for .NET Aspire.
|
1 |
Aspire.Hosting.SqlServer
Microsoft SQL Server support for .NET Aspire.
|
1 |
.NET 6.0
- Grpc.AspNetCore.Server.ClientFactory (>= 2.71.0)
- Grpc.Tools (>= 2.71.0)
- Google.Protobuf (>= 3.30.2)
.NET 9.0
- Grpc.Tools (>= 2.71.0)
- Google.Protobuf (>= 3.30.2)
- Grpc.AspNetCore.Server.ClientFactory (>= 2.71.0)
.NET 8.0
- Google.Protobuf (>= 3.30.2)
- Grpc.AspNetCore.Server.ClientFactory (>= 2.71.0)
- Grpc.Tools (>= 2.71.0)
.NET 7.0
- Google.Protobuf (>= 3.30.2)
- Grpc.AspNetCore.Server.ClientFactory (>= 2.71.0)
- Grpc.Tools (>= 2.71.0)
Version | Downloads | Last updated |
---|---|---|
2.71.0 | 1 | 6/12/2025 |
2.71.0-pre1 | 1 | 6/12/2025 |
2.70.0 | 1 | 6/13/2025 |
2.70.0-pre1 | 1 | 6/14/2025 |
2.67.0 | 2 | 6/12/2025 |
2.67.0-pre1 | 1 | 6/14/2025 |
2.66.0 | 1 | 6/14/2025 |
2.66.0-pre1 | 1 | 6/14/2025 |
2.65.0 | 1 | 6/13/2025 |
2.65.0-pre1 | 1 | 6/14/2025 |
2.64.0 | 1 | 6/14/2025 |
2.64.0-pre1 | 1 | 6/14/2025 |
2.63.0 | 1 | 6/13/2025 |
2.63.0-pre1 | 1 | 6/13/2025 |
2.62.0 | 1 | 6/13/2025 |
2.62.0-pre1 | 1 | 6/14/2025 |
2.61.0 | 1 | 6/13/2025 |
2.61.0-pre1 | 1 | 6/13/2025 |
2.60.0 | 1 | 6/14/2025 |
2.60.0-pre1 | 1 | 6/13/2025 |
2.59.0 | 1 | 6/13/2025 |
2.59.0-pre1 | 1 | 6/14/2025 |
2.58.0 | 1 | 6/13/2025 |
2.58.0-pre1 | 1 | 6/14/2025 |
2.57.0 | 1 | 6/15/2025 |
2.57.0-pre1 | 1 | 6/14/2025 |
2.56.0 | 1 | 6/13/2025 |
2.56.0-pre2 | 1 | 6/14/2025 |
2.56.0-pre1 | 1 | 6/14/2025 |
2.55.0 | 1 | 6/14/2025 |
2.55.0-pre1 | 1 | 6/14/2025 |
2.54.0 | 1 | 6/14/2025 |
2.54.0-pre1 | 1 | 6/14/2025 |
2.53.0 | 1 | 6/14/2025 |
2.53.0-pre1 | 1 | 6/14/2025 |
2.52.0 | 1 | 6/13/2025 |
2.52.0-pre1 | 1 | 6/14/2025 |
2.51.0 | 1 | 6/13/2025 |
2.51.0-pre1 | 1 | 6/13/2025 |
2.50.0 | 1 | 6/14/2025 |
2.50.0-pre1 | 1 | 6/14/2025 |
2.49.0 | 1 | 6/14/2025 |
2.49.0-pre1 | 1 | 6/14/2025 |
2.48.0 | 1 | 6/9/2025 |
2.48.0-pre1 | 1 | 6/13/2025 |
2.47.0 | 1 | 6/13/2025 |
2.47.0-pre1 | 1 | 6/14/2025 |
2.46.0 | 1 | 6/13/2025 |
2.46.0-pre1 | 1 | 6/15/2025 |
2.45.0 | 1 | 6/13/2025 |
2.45.0-pre1 | 1 | 6/13/2025 |
2.44.0 | 1 | 6/14/2025 |
2.44.0-pre1 | 1 | 6/14/2025 |
2.43.0 | 1 | 6/15/2025 |
2.43.0-pre1 | 1 | 6/13/2025 |
2.42.0 | 1 | 6/14/2025 |
2.42.0-pre1 | 1 | 6/13/2025 |
2.41.0 | 1 | 6/13/2025 |
2.41.0-pre1 | 1 | 6/14/2025 |
2.40.0 | 1 | 6/14/2025 |
2.40.0-pre1 | 1 | 6/13/2025 |
2.39.0 | 1 | 6/14/2025 |
2.39.0-pre1 | 1 | 6/14/2025 |
2.38.0 | 1 | 6/13/2025 |
2.38.0-pre1 | 1 | 6/14/2025 |
2.37.0 | 1 | 6/15/2025 |
2.37.0-pre1 | 1 | 6/13/2025 |
2.36.0 | 1 | 6/14/2025 |
2.36.0-pre1 | 1 | 6/14/2025 |
2.35.0 | 1 | 6/14/2025 |
2.35.0-pre1 | 1 | 6/13/2025 |
2.34.0 | 1 | 6/13/2025 |
2.34.0-pre1 | 1 | 6/14/2025 |
2.33.1 | 1 | 6/14/2025 |
2.33.1-pre1 | 1 | 6/13/2025 |
2.32.0 | 1 | 6/14/2025 |
2.32.0-pre1 | 1 | 6/13/2025 |
2.31.0 | 1 | 6/14/2025 |
2.31.0-pre2 | 1 | 6/14/2025 |
2.30.0 | 2 | 6/14/2025 |
2.30.0-pre1 | 1 | 6/13/2025 |
2.29.0 | 1 | 6/14/2025 |
2.29.0-pre1 | 1 | 6/14/2025 |
2.28.0 | 1 | 6/14/2025 |
2.28.0-pre2 | 1 | 6/13/2025 |
2.28.0-pre1 | 1 | 6/13/2025 |
2.27.0 | 1 | 6/14/2025 |
2.27.0-pre1 | 1 | 6/14/2025 |
2.26.0 | 1 | 6/14/2025 |
2.26.0-pre1 | 1 | 6/14/2025 |
2.25.0 | 1 | 6/14/2025 |
2.25.0-pre1 | 1 | 6/14/2025 |
2.24.0 | 2 | 6/12/2025 |
2.24.0-pre1 | 1 | 6/13/2025 |
2.23.2 | 1 | 6/14/2025 |
0.2.23-pre2 | 1 | 6/14/2025 |
0.2.23-pre1 | 1 | 6/14/2025 |
0.1.22-pre3 | 1 | 6/14/2025 |
0.1.22-pre2 | 1 | 6/13/2025 |