Back to articles

Tag archive

#protobuf

W
Nov 14, 2026

Why protobuf-net survives renaming

protobuf-net serializes by the numeric tags in [ProtoMember(N)], not by member names — so renaming a protobuf-net DTO is safe on the wire, unlike System.Text.Json or DataContract where names ARE the contract. Here is why property renaming is largely free for protobuf-net, and the four cases that still break: implicit field numbering, ProtoInclude/AsReference type names, reflection models built by member-name, and ProtoEnum names.

Nov 14, 20267 min read0 reactions0 comments