![]() |
VOOZH | about |
dotnet add package Grpc.AspNetCore.Server --version 2.80.0
NuGet\Install-Package Grpc.AspNetCore.Server -Version 2.80.0
<PackageReference Include="Grpc.AspNetCore.Server" Version="2.80.0" />
<PackageVersion Include="Grpc.AspNetCore.Server" Version="2.80.0" />Directory.Packages.props
<PackageReference Include="Grpc.AspNetCore.Server" />Project file
paket add Grpc.AspNetCore.Server --version 2.80.0
#r "nuget: Grpc.AspNetCore.Server, 2.80.0"
#:package Grpc.AspNetCore.Server@2.80.0
#addin nuget:?package=Grpc.AspNetCore.Server&version=2.80.0Install as a Cake Addin
#tool nuget:?package=Grpc.AspNetCore.Server&version=2.80.0Install as a Cake Tool
Grpc.AspNetCore.Server is a gRPC server library for .NET.
In Program.cs:
AddGrpc method.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 | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 is compatible. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
Showing the top 5 NuGet packages that depend on Grpc.AspNetCore.Server:
| Package | Downloads |
|---|---|
|
Grpc.AspNetCore.Server.ClientFactory
HttpClientFactory integration the for gRPC .NET client when running in ASP.NET Core |
|
|
Grpc.AspNetCore.Server.Reflection
Automatic discovery of services for Grpc.Reflection |
|
|
Pulumi
The Pulumi .NET SDK lets you write cloud programs in C#, F#, and VB.NET. |
|
|
MagicOnion
Unified Realtime/API framework for .NET platform and Unity. This package is meta package that includes MagicOnion.Server and MagicOnion.Client. |
|
|
Grpc.AspNetCore.HealthChecks
Integration of ASP.NET Core health checks with Grpc.HealthCheck |
Showing the top 20 popular GitHub repositories that depend on Grpc.AspNetCore.Server:
| Repository | Stars |
|---|---|
|
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.
|
|
|
FastEndpoints/FastEndpoints
A light-weight REST API development framework for ASP.NET 8 and newer.
|
|
|
ServiceStack/ServiceStack
Thoughtfully architected, obscenely fast, thoroughly enjoyable web services for all
|
|
|
Cysharp/MagicOnion
Unified Realtime/API framework for .NET platform and Unity.
|
|
|
open-telemetry/opentelemetry-dotnet
The OpenTelemetry .NET Client
|
|
|
prometheus-net/prometheus-net
.NET library to instrument your code with Prometheus metrics
|
|
|
protobuf-net/protobuf-net.Grpc
GRPC bindings for protobuf-net and grpc-dotnet
|
|
|
leeveel/GeekServer
基于.Netcore的开发效率高,性能强,跨平台,持久化层透明,支持不停服热更新的游戏服务器。Best for your unity game server!
|
|
|
getsentry/sentry-dotnet
Sentry SDK for .NET
|
|
|
abpframework/eShopOnAbp
Reference microservice solution built with the ABP Framework and .NET, runs on Kubernetes with Helm configuration, includes API Gateways, Angular and ASP.NET Core MVC applications, PostgreSQL and MongoDB databases
|
|
|
open-telemetry/opentelemetry-dotnet-contrib
This repository contains set of components extending functionality of the OpenTelemetry .NET SDK. Instrumentation libraries, exporters, and other components can find their home here.
|
|
|
GB28181/GB28181.Solution
Linux/Win/Docker/kubernetes/Chart/Kustomize/GB28181/SIP/RTP/SDP/WebRTC/作为上下级域/平台级联互联
|
|
|
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, ...)
|
|
|
meteatamel/knative-tutorial
A collection of samples for Knative Serving, Knative Eventing and Knative-GCP projects.
|
|
|
axzxs2001/Asp.NetCoreExperiment
原来所有项目都移动到**OleVersion**目录下进行保留。新的案例装以.net 5.0为主,一部分对以前案例进行升级,一部分将以前的工作经验总结出来,以供大家参考!
|
|
|
thangchung/practical-dapr
A full-stack .NET microservices build on Dapr and Tye
|
|
|
anuraj/AspNetCoreSamples
This repository is set of ASP.NET Core projects and scripts.
|
|
|
ProfessionalCSharp/MoreSamples
Additional code samples the book series Professional C#, Wrox Press
|
|
|
microsoft/durabletask-dotnet
Out-of-process .NET SDK for the Durable Task Framework
|
|
|
MS2Community/Maple2
Server emulator for MapleStory2.
|
| Version | Downloads | Last Updated |
|---|---|---|
| 2.80.0 | 1,837,929 | 4/30/2026 |
| 2.80.0-pre1 | 2,051 | 4/1/2026 |
| 2.76.0 | 8,949,202 | 12/19/2025 |
| 2.76.0-pre1 | 11,720 | 11/13/2025 |
| 2.71.0 | 20,948,096 | 4/25/2025 |
| 2.71.0-pre1 | 1,328 | 4/16/2025 |
| 2.70.0 | 4,066,746 | 3/10/2025 |
| 2.70.0-pre1 | 3,329 | 2/26/2025 |
| 2.67.0 | 10,797,686 | 11/21/2024 |
| 2.67.0-pre1 | 20,301 | 10/22/2024 |
| 2.66.0 | 13,430,775 | 9/20/2024 |
| 2.66.0-pre1 | 8,393 | 9/6/2024 |
| 2.65.0 | 7,111,222 | 7/27/2024 |
| 2.65.0-pre1 | 934 | 7/20/2024 |
| 2.64.0 | 2,974,302 | 7/19/2024 |
| 2.64.0-pre1 | 4,435 | 7/15/2024 |
| 2.63.0 | 12,067,563 | 5/24/2024 |
| 2.63.0-pre1 | 23,057 | 5/8/2024 |
| 2.62.0 | 4,751,566 | 3/29/2024 |
| 2.62.0-pre1 | 5,224 | 3/8/2024 |