Grpc.AspNetCore 2.46.0-pre1

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
This is a prerelease version of Grpc.AspNetCore.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Grpc.AspNetCore --version 2.46.0-pre1
NuGet\Install-Package Grpc.AspNetCore -Version 2.46.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.46.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.46.0-pre1
#r "nuget: Grpc.AspNetCore, 2.46.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.46.0-pre1&prerelease

// Install Grpc.AspNetCore as a Cake Tool
#tool nuget:?package=Grpc.AspNetCore&version=2.46.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 Startup.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.
public class Startup
{
    public void ConfigureServices(IServiceCollection services)
    {
        services.AddGrpc();
    }

    public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
    {
        if (env.IsDevelopment())
        {
            app.UseDeveloperExceptionPage();
        }

        app.UseRouting();

        app.UseEndpoints(endpoints =>
        {
            endpoints.MapGrpcService<GreeterService>();
        });
    }
}

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 net5.0 is compatible.  net5.0-windows was computed.  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 was computed.  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 was computed.  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. 
.NET Core netcoreapp3.0 is compatible.  netcoreapp3.1 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (240)

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

Package Downloads
Microsoft.Azure.WebJobs.Extensions.Rpc The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

This package contains the runtime assemblies for Microsoft.Azure.WebJobs.Extensions.Rpc. For more information, please visit http://go.microsoft.com/fwlink/?LinkID=320971

Calzolari.Grpc.AspNetCore.Validation

Request message validator for Grpc.AspNetCore

Proto.Remote The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Ultra-fast distributed actors for .NET.

MyJetWallet.Sdk.Grpc

Package Description

MyJetWallet.Sdk.Service

Package Description

GitHub repositories (85)

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
EventStore/EventStore
EventStoreDB, the event-native database. Designed for Event Sourcing, Event-Driven, and Microservices architectures
grpc/grpc-dotnet
gRPC for .NET
Version Downloads Last updated
2.62.0-pre1 865 3/8/2024
2.61.0 351,112 2/22/2024
2.61.0-pre1 8,942 2/8/2024
2.60.0 755,497 1/3/2024
2.60.0-pre1 8,520 12/14/2023
2.59.0 1,298,287 11/8/2023
2.59.0-pre1 4,783 10/27/2023
2.58.0 452,510 10/19/2023
2.58.0-pre1 28,745 10/9/2023
2.57.0 1,004,255 9/6/2023
2.57.0-pre1 4,024 8/31/2023
2.56.0 317,991 8/25/2023
2.56.0-pre2 3,564 8/16/2023
2.56.0-pre1 3,797 8/3/2023
2.55.0 1,415,029 7/4/2023
2.55.0-pre1 4,154 6/23/2023
2.54.0 951,827 6/15/2023
2.54.0-pre1 9,082 5/25/2023
2.53.0 1,496,063 5/5/2023
2.53.0-pre1 8,926 4/12/2023
2.52.0 1,680,721 3/15/2023
2.52.0-pre1 6,110 3/3/2023
2.51.0 2,012,075 1/2/2023
2.51.0-pre1 4,898 12/7/2022
2.50.0 1,327,820 11/17/2022
2.50.0-pre1 12,439 11/3/2022
2.49.0 4,426,785 9/26/2022
2.49.0-pre1 2,427 9/1/2022
2.48.0 891,698 8/24/2022
2.48.0-pre1 1,832 8/17/2022
2.47.0 1,959,686 7/3/2022
2.47.0-pre1 2,026 6/23/2022
2.46.0 1,802,528 5/13/2022
2.46.0-pre1 2,011 4/28/2022
2.45.0 1,395,778 4/19/2022
2.45.0-pre1 3,312 4/7/2022
2.44.0 1,048,734 3/17/2022
2.44.0-pre1 17,952 3/9/2022
2.43.0 796,575 2/25/2022
2.43.0-pre1 8,784 1/28/2022
2.42.0 1,919,375 1/19/2022
2.42.0-pre1 7,935 12/30/2021
2.41.0 1,166,150 12/7/2021
2.41.0-pre1 16,017 11/12/2021
2.40.0 4,063,867 10/5/2021
2.40.0-pre1 3,457 9/9/2021
2.39.0 1,261,999 8/18/2021
2.39.0-pre1 3,763 8/6/2021
2.38.0 1,415,776 6/11/2021
2.38.0-pre1 700 6/4/2021
2.37.0 1,116,505 4/20/2021
2.37.0-pre1 451 4/14/2021
2.36.0 537,391 3/17/2021
2.36.0-pre1 981 3/9/2021
2.35.0 650,502 2/4/2021
2.35.0-pre1 1,491 1/26/2021
2.34.0 1,497,951 12/11/2020
2.34.0-pre1 2,795 12/1/2020
2.33.1 805,335 10/28/2020
2.33.1-pre1 795 10/22/2020
2.32.0 971,794 10/5/2020
2.32.0-pre1 12,893 9/8/2020
2.31.0 499,193 8/14/2020
2.31.0-pre2 919 8/3/2020
2.30.0 253,804 7/16/2020
2.30.0-pre1 2,526 6/17/2020
2.29.0 488,729 5/27/2020
2.29.0-pre1 3,022 5/15/2020
2.28.0 608,550 4/9/2020
2.28.0-pre2 15,177 3/11/2020
2.28.0-pre1 6,124 3/3/2020
2.27.0 1,447,940 2/7/2020
2.27.0-pre1 6,268 1/24/2020
2.26.0 308,957 12/19/2019
2.26.0-pre1 700 12/10/2019
2.25.0 909,605 11/7/2019
2.25.0-pre1 664 11/1/2019
2.24.0 314,799 10/21/2019
2.24.0-pre1 1,105 10/9/2019
2.23.2 205,875 9/20/2019
0.2.23-pre2 4,561 9/6/2019
0.2.23-pre1 4,864 8/21/2019
0.1.22-pre3 6,374 7/30/2019
0.1.22-pre2 10,129 7/2/2019