Grpc.AspNetCore 2.67.0-pre1

Prefix Reserved
This is a prerelease version of Grpc.AspNetCore.
dotnet add package Grpc.AspNetCore --version 2.67.0-pre1                
NuGet\Install-Package Grpc.AspNetCore -Version 2.67.0-pre1                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Grpc.AspNetCore" Version="2.67.0-pre1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Grpc.AspNetCore --version 2.67.0-pre1                
#r "nuget: Grpc.AspNetCore, 2.67.0-pre1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Grpc.AspNetCore as a Cake Addin
#addin nuget:?package=Grpc.AspNetCore&version=2.67.0-pre1&prerelease

// Install Grpc.AspNetCore as a Cake Tool
#tool nuget:?package=Grpc.AspNetCore&version=2.67.0-pre1&prerelease                

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.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (322)

Showing the top 5 NuGet packages that depend on Grpc.AspNetCore:

Package Downloads
Microsoft.Azure.WebJobs.Extensions.Rpc

This package provides RPC capabilities to the WebJobs SDK, allowing extensions to communicate between the host and worker via RPC. For more information, please visit https://go.microsoft.com/fwlink/?linkid=2279708.

Aspire.Hosting

Core abstractions for the .NET Aspire application model.

Calzolari.Grpc.AspNetCore.Validation

Request message validator for Grpc.AspNetCore

Aspire.Hosting.AppHost

Core library and MSBuild logic for .NET Aspire AppHost projects.

Proto.Remote

Ultra-fast distributed actors for .NET.

GitHub repositories (98)

Showing the top 5 popular GitHub repositories that depend on Grpc.AspNetCore:

Repository Stars
dotnet/runtime
.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
dotnet/efcore
EF Core is a modern object-database mapper for .NET. It supports LINQ queries, change tracking, updates, and schema migrations.
dotnet/AspNetCore.Docs
Documentation for ASP.NET Core
dotnet/eShop
A reference .NET application implementing an eCommerce site
EventStore/EventStore
EventStoreDB, the event-native database. Designed for Event Sourcing, Event-Driven, and Microservices architectures
Version Downloads Last updated
2.67.0-pre1 317 10/22/2024
2.66.0 343,525 9/20/2024
2.66.0-pre1 1,463 9/6/2024
2.65.0 1,251,663 7/27/2024
2.65.0-pre1 465 7/20/2024
2.64.0 116,267 7/19/2024
2.64.0-pre1 819 7/15/2024
2.63.0 1,479,514 5/24/2024
2.63.0-pre1 20,602 5/8/2024
2.62.0 1,297,607 3/29/2024
2.62.0-pre1 2,260 3/8/2024
2.61.0 1,729,415 2/22/2024
2.61.0-pre1 9,692 2/8/2024
2.60.0 2,118,496 1/3/2024
2.60.0-pre1 12,278 12/14/2023
2.59.0 2,406,582 11/8/2023
2.59.0-pre1 5,517 10/27/2023
2.58.0 910,354 10/19/2023
2.58.0-pre1 31,230 10/9/2023
2.57.0 1,592,847 9/6/2023
2.57.0-pre1 4,197 8/31/2023
2.56.0 385,500 8/25/2023
2.56.0-pre2 3,773 8/16/2023
2.56.0-pre1 4,173 8/3/2023
2.55.0 2,078,705 7/4/2023
2.55.0-pre1 4,554 6/23/2023
2.54.0 1,103,508 6/15/2023
2.54.0-pre1 9,686 5/25/2023
2.53.0 1,688,121 5/5/2023
2.53.0-pre1 14,091 4/12/2023
2.52.0 2,083,492 3/15/2023
2.52.0-pre1 6,666 3/3/2023
2.51.0 2,412,611 1/2/2023
2.51.0-pre1 5,154 12/7/2022
2.50.0 1,649,399 11/17/2022
2.50.0-pre1 17,246 11/3/2022
2.49.0 9,966,576 9/26/2022
2.49.0-pre1 2,700 9/1/2022
2.48.0 1,325,360 8/24/2022
2.48.0-pre1 2,038 8/17/2022
2.47.0 2,485,781 7/3/2022
2.47.0-pre1 2,241 6/23/2022
2.46.0 2,014,488 5/13/2022
2.46.0-pre1 2,236 4/28/2022
2.45.0 1,490,799 4/19/2022
2.45.0-pre1 3,646 4/7/2022
2.44.0 1,147,977 3/17/2022
2.44.0-pre1 18,170 3/9/2022
2.43.0 902,628 2/25/2022
2.43.0-pre1 9,102 1/28/2022
2.42.0 2,452,933 1/19/2022
2.42.0-pre1 8,678 12/30/2021
2.41.0 1,209,741 12/7/2021
2.41.0-pre1 17,029 11/12/2021
2.40.0 4,596,996 10/5/2021
2.40.0-pre1 3,653 9/9/2021
2.39.0 1,336,136 8/18/2021
2.39.0-pre1 3,943 8/6/2021
2.38.0 1,523,134 6/11/2021
2.38.0-pre1 876 6/4/2021
2.37.0 1,153,959 4/20/2021
2.37.0-pre1 633 4/14/2021
2.36.0 576,596 3/17/2021
2.36.0-pre1 1,164 3/9/2021
2.35.0 674,812 2/4/2021
2.35.0-pre1 1,662 1/26/2021
2.34.0 1,538,895 12/11/2020
2.34.0-pre1 2,958 12/1/2020
2.33.1 822,396 10/28/2020
2.33.1-pre1 960 10/22/2020
2.32.0 1,026,547 10/5/2020
2.32.0-pre1 13,078 9/8/2020
2.31.0 515,491 8/14/2020
2.31.0-pre2 1,093 8/3/2020
2.30.0 265,237 7/16/2020
2.30.0-pre1 2,708 6/17/2020
2.29.0 502,744 5/27/2020
2.29.0-pre1 3,258 5/15/2020
2.28.0 627,129 4/9/2020
2.28.0-pre2 15,352 3/11/2020
2.28.0-pre1 6,355 3/3/2020
2.27.0 1,494,136 2/7/2020
2.27.0-pre1 6,456 1/24/2020
2.26.0 314,815 12/19/2019
2.26.0-pre1 865 12/10/2019
2.25.0 911,127 11/7/2019
2.25.0-pre1 832 11/1/2019
2.24.0 323,014 10/21/2019
2.24.0-pre1 1,277 10/9/2019
2.23.2 218,907 9/20/2019
0.2.23-pre2 4,611 9/6/2019
0.2.23-pre1 4,936 8/21/2019
0.1.22-pre3 6,543 7/30/2019
0.1.22-pre2 10,168 7/2/2019