Skip to main content
Filter by
Sorted by
Tagged with
3 votes
1 answer
97 views

I seem to be having trouble serializing a Nullable, ImmutableArray which I had thought would work out of the box. e.g., void Main() { var x = new Test() { Field = null }; var stream = new ...
mike's user avatar
  • 3,224
1 vote
1 answer
109 views

I'm upgrading from protobuf-net 2.2.1.0 to 3.2.26, and I've noticed that callback methods decorated with [ProtoBeforeSerialization] and [ProtoAfterDeserialization] are no longer invoked during ...
Sudheer Kumar's user avatar
1 vote
1 answer
87 views

I configured the .csproj file as follows: <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <OutputType>Exe</OutputType> <TargetFramework>...
  iluxa1810's user avatar
1 vote
1 answer
147 views

I have an ASP.NET Core 8 project and followed this article: https://learn.microsoft.com/en-us/aspnet/core/grpc/json-transcoding-binding?view=aspnetcore-8.0 import "google/api/annotations.proto&...
arch's user avatar
  • 49
0 votes
1 answer
50 views

I have some very specific requirements for a serialization C# library: I need it be able to handle circular references or multiple references to the same object, be capable of deserializing into an ...
Lahzey's user avatar
  • 413
1 vote
0 answers
88 views

I'm using Protobuf-net version 3.2.52 Classes B, C and D below contain a field of type Wplane, all of which have the same instance. In the WPlane class, I transform the Plane property (this type comes ...
Yannick's user avatar
  • 323
0 votes
0 answers
55 views

I'm using Protobuf-net version 3.2.52 During deserialization, a method call occurs unexpectedly. How can Protobuf call this method when it's only referenced 15 times in the entire solution and I've ...
Yannick's user avatar
  • 323
0 votes
1 answer
88 views

I'm using Protobuf-net version 3.2.52 While serializing, I get this exception: Possible recursion detected (offset: 3 level(s)): Loop_Protobuf.Core_E.Part I've read all the posts about this error on ...
Yannick's user avatar
  • 323
0 votes
1 answer
44 views

I have the following inheritance structure: [ProtoContract] public class User : UserCommon<User, Database.User> [ProtoContract] public abstract partial class UserCommon<T, T2> : ...
Tom Gullen's user avatar
0 votes
0 answers
37 views

I have a WPF library (myLibrary) that uses the protobuf-net libraries. The protobuf-net libraries are in a subfolder. I'm doing this because another nuget package references protobuf-net but with an ...
Yannick's user avatar
  • 323
0 votes
0 answers
38 views

I am trying to serialize the following class with the latest version of Protobuf.net: [ProtoContract(SkipConstructor = true)] public class ObservableList<T> : IEnumerable<T> { [...
Wolfgang's user avatar
  • 2,358
0 votes
0 answers
62 views

Maybe this is a nobrainer. I have a tabular data structure where each row is represented by an object[]. The data structure implements ITypedList so I can even tell the exact type of each object in ...
Wolfgang's user avatar
  • 2,358
0 votes
1 answer
71 views

I am using generic WebSocket client (System.Net.WebSockets) to connect to Azure Web PubSub service and communicate between two parties. I referred this official document. I was able to communicate ...
deathrace's user avatar
  • 1,135
1 vote
1 answer
83 views

I use Visual Studio 2022 and MS Test. To generate code from proto file I use Grpc.Tools (2.69.0) and Google.Protobuf (3.29.3) nugets. I don't know how DynamicData feature works under the hood, but it ...
theateist's user avatar
  • 14.5k
0 votes
0 answers
110 views

We have the FHIR JSON model which needs to be serialized using protobuf but we are not able to serialize it as the JSON is not getting parsed to the generated google fhir models. https://github.com/...
Varun's user avatar
  • 597

15 30 50 per page
1
2 3 4 5
121