Grpc.AspNetCore.Web 2.80.0

Prefix Reserved
dotnet add package Grpc.AspNetCore.Web --version 2.80.0
 
NuGet\Install-Package Grpc.AspNetCore.Web -Version 2.80.0
 
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.Web" Version="2.80.0" />
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Grpc.AspNetCore.Web" Version="2.80.0" />
 
Directory.Packages.props
<PackageReference Include="Grpc.AspNetCore.Web" />
 
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Grpc.AspNetCore.Web --version 2.80.0
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Grpc.AspNetCore.Web, 2.80.0"
 
#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.
#:package Grpc.AspNetCore.Web@2.80.0
 
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Grpc.AspNetCore.Web&version=2.80.0
 
Install as a Cake Addin
#tool nuget:?package=Grpc.AspNetCore.Web&version=2.80.0
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Grpc.AspNetCore.Web

Grpc.AspNetCore.Web provides middleware that enables ASP.NET Core gRPC services to accept gRPC-Web calls.

Configure gRPC-Web

In Program.cs:

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.UseRouting();
app.UseGrpcWeb(new GrpcWebOptions { DefaultEnabled = true });
app.MapGrpcService<GreeterService>();
app.Run();

gRPC-Web can be enabled for all gRPC services by setting GrpcWebOptions.DefaultEnabled = true, or enabled on individual services with EnableGrpcWeb():

app.MapGrpcService<GreeterService>().EnableGrpcWeb();

gRPC-Web and streaming

Traditional gRPC over HTTP/2 supports streaming in all directions. gRPC-Web offers limited support for streaming:

  • gRPC-Web browser clients don't support calling client streaming and bidirectional streaming methods.
  • gRPC-Web .NET clients don't support calling client streaming and bidirectional streaming methods over HTTP/1.1.
  • ASP.NET Core gRPC services hosted on Azure App Service and IIS don't support bidirectional streaming.

When using gRPC-Web, we only recommend the use of unary methods and server streaming methods.

Product Compatible and additional computed target framework versions.
.NET 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. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed.
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

    • No dependencies.
  • net8.0

    • No dependencies.
  • net9.0

    • No dependencies.

NuGet packages (30)

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

Package Downloads
Sitko.Core.Grpc.Server

Sitko.Core is a set of libraries to help build .NET Core applications fast

DH.Grpc

DH框架Grpc扩展类

Ivy

Build Internal Applications with AI and Pure C#

Girvs.WebFrameWork

Package Description

GamesCheetah.RealtimeEmbeddedServer

Package Description

GitHub repositories (19)

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

Repository Stars
microsoft/semantic-kernel
Integrate cutting-edge LLM technology quickly and easily into your apps
dotnet/AspNetCore.Docs
Documentation for ASP.NET Core
dodyg/practical-aspnetcore
Practical samples of ASP.NET Core 11, 10, 9, 8.0, 7.0, 6.0, 5.0, 3.1, 2.2, and 2.1,projects you can use. Readme contains explanations on all projects.
kurrent-io/KurrentDB
KurrentDB is a database that's engineered for modern software applications and event-driven architectures. Its event-native design simplifies data modeling and preserves data integrity while the integrated streaming engine solves distributed messaging challenges and ensures data consistency.
abpframework/abp-samples
Sample solutions built with the ABP Framework
gustavnavar/Grid.Blazor
Grid component with CRUD for Blazor (client-side and server-side) and ASP.NET Core MVC
havit/Havit.Blazor
Free Bootstrap 5 components for ASP.NET Blazor + optional enterprise-level stack for Blazor development (gRPC code-first, layered architecture, localization, auth, ...)
microsoft/RockPaperScissorsLizardSpock
Rock, Paper, Scissors, Lizard, Spock - Sample Application
SteveSandersonMS/BlazeOrbital
Sample application for Blazor WebAssembly on .NET 6
Ivy-Interactive/Ivy-Framework
The ultimate framework for building internal tools with LLM code generation by unifying front-end and back-end into a single C# codebase.
rstropek/Samples
yc-l/yc.boilerplate
YC. Boilerplate is a set of loose coupling, flexible combination, complete functions, convenient development, and reduces the workload of development.
chunliu/AzureDesignStudio
A web app that helps you create the architecture design diagram for your Azure solutions and automatically generate IaC code from it.
thisisnabi/Shortener
Shortener Url as a service in ASP.NET Core and Actor Model
servicetitan/Stl.Fusion.Samples
A collection of samples for Fusion library: https://github.com/servicetitan/Stl.Fusion
sitkoru/Sitko.Core
Sitko.Core is a set of libraries to help build .NET Core applications fast
anuviswan/LearningPoint
A repository for learning different technologies, frameworks, features......
Redth/Maui.UITesting
Experimenting with UI Testing approaches for .NET / MAUI
max-ieremenko/ServiceModel.Grpc
Code-first for gRPC
Version Downloads Last Updated
2.80.0 147,468 4/30/2026
2.80.0-pre1 546 4/1/2026
2.76.0 807,544 12/19/2025
2.76.0-pre1 2,066 11/13/2025
2.71.0 1,557,882 4/25/2025
2.71.0-pre1 435 4/16/2025
2.70.0 428,248 3/10/2025
2.70.0-pre1 517 2/26/2025
2.67.0 1,143,874 11/21/2024
2.67.0-pre1 703 10/22/2024
2.66.0 541,283 9/20/2024
2.66.0-pre1 378 9/6/2024
2.65.0 423,610 7/27/2024
2.65.0-pre1 297 7/20/2024
2.64.0 67,227 7/19/2024
2.64.0-pre1 266 7/15/2024
2.63.0 570,853 5/24/2024
2.63.0-pre1 19,649 5/8/2024
2.62.0 528,657 3/29/2024
2.62.0-pre1 930 3/8/2024
Loading failed