protobuf-net.AspNetCore
3.4.14
Prefix Reserved
dotnet add package protobuf-net.AspNetCore --version 3.4.14
NuGet\Install-Package protobuf-net.AspNetCore -Version 3.4.14
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="protobuf-net.AspNetCore" Version="3.4.14" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="protobuf-net.AspNetCore" Version="3.4.14" />
<PackageReference Include="protobuf-net.AspNetCore" />
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 protobuf-net.AspNetCore --version 3.4.14
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: protobuf-net.AspNetCore, 3.4.14"
#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 protobuf-net.AspNetCore@3.4.14
#: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=protobuf-net.AspNetCore&version=3.4.14
#tool nuget:?package=protobuf-net.AspNetCore&version=3.4.14
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
protobuf-net.AspNetCore
MVC formatters that let ASP.NET Core controllers accept and return protobuf payloads, using
protobuf-net contracts. application/protobuf,
application/x-protobuf and application/vnd.google.protobuf are all recognised.
builder.Services.AddControllers().AddProtoBufNet();
Options are available on the same call — the TypeModel to serialize with, the buffering threshold for
reads, and a maximum write length:
builder.Services.AddControllers().AddProtoBufNet(options =>
{
options.Model = MyCustomModel;
});
This is for MVC / web API endpoints. For code-first gRPC services, see protobuf-net.Grpc.
More
| Product | Versions 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 was computed. 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 was computed. 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.
-
net8.0
- protobuf-net (>= 3.4.14)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories (2)
Showing the top 2 popular GitHub repositories that depend on protobuf-net.AspNetCore:
| Repository | Stars |
|---|---|
|
asesidaa/EXVS2-POC
|
|
|
asesidaa/TaikoLocalServer
|
| Version | Downloads | Last Updated |
|---|---|---|
| 3.4.14 | 0 | 8/21/2026 |
| 3.4.0 | 47 | 8/20/2026 |
| 3.3.21 | 81 | 8/17/2026 |
| 3.3.8 | 225 | 8/11/2026 |
| 3.3.0 | 84 | 8/11/2026 |
| 3.2.52 | 237,946 | 4/11/2025 |
| 3.2.46 | 16,218 | 1/24/2025 |
| 3.2.12 | 124,177 | 3/4/2023 |
| 3.2.8 | 12,941 | 2/27/2023 |
| 3.2.0 | 13,157 | 2/20/2023 |
| 3.1.33 | 13,047 | 1/30/2023 |
| 3.1.25 | 17,134 | 11/9/2022 |
| 3.1.22 | 13,253 | 9/21/2022 |
| 3.1.17 | 14,942 | 6/26/2022 |
| 3.0.101 | 26,383 | 3/19/2021 |
| 3.0.73 | 16,188 | 12/2/2020 |
| 3.0.62 | 13,204 | 11/13/2020 |
| 3.0.52 | 19,838 | 10/3/2020 |
| 3.0.29 | 14,485 | 7/8/2020 |
| 3.0.27 | 13,205 | 7/6/2020 |
Loading failed