protobuf-net.ServiceModel 3.4.0

Prefix Reserved
dotnet add package protobuf-net.ServiceModel --version 3.4.0
                    
NuGet\Install-Package protobuf-net.ServiceModel -Version 3.4.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="protobuf-net.ServiceModel" Version="3.4.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="protobuf-net.ServiceModel" Version="3.4.0" />
                    
Directory.Packages.props
<PackageReference Include="protobuf-net.ServiceModel" />
                    
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 protobuf-net.ServiceModel --version 3.4.0
                    
#r "nuget: protobuf-net.ServiceModel, 3.4.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 protobuf-net.ServiceModel@3.4.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=protobuf-net.ServiceModel&version=3.4.0
                    
Install as a Cake Addin
#tool nuget:?package=protobuf-net.ServiceModel&version=3.4.0
                    
Install as a Cake Tool

protobuf-net.ServiceModel

WCF (System.ServiceModel) integration for protobuf-net: service operations serialize their messages with protobuf instead of DataContractSerializer, keeping the WCF programming model unchanged.

Mark the operations that should use it (on both the client and the server):

[ServiceContract]
public interface IMyService
{
    [OperationContract, ProtoBehavior]
    MyResponse Execute(MyRequest request);
}

ProtoEndpointBehavior applies the same thing across a whole endpoint. Either way, the types being exchanged need to be protobuf-net contracts ([ProtoContract] / [ProtoMember], or the equivalent runtime configuration).

For new work over the network, code-first gRPC — protobuf-net.Grpc — offers a very similar contract-based model on a modern transport.

More

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 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. 
.NET Framework net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on protobuf-net.ServiceModel:

Package Downloads
UltimatR

Package Description

Undersoft.SDK.Service.Server

Package Description

RadicalFramework.Servitizing

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
3.4.0 0 8/20/2026
3.3.21 91 8/17/2026
3.3.8 96 8/11/2026
3.3.0 95 8/11/2026
3.2.52 24,035 4/11/2025
3.2.46 3,747 1/24/2025
3.2.12 35,177 3/4/2023
3.2.8 484 2/27/2023
3.2.0 505 2/20/2023
3.1.33 23,075 1/30/2023
3.1.25 79,942 11/9/2022
3.1.22 1,229 9/21/2022
3.1.17 2,449 6/26/2022
3.0.101 59,336 3/19/2021
3.0.73 1,638 12/2/2020
3.0.62 5,578 11/13/2020