Skip to main content
How are we doing? Please help us improve Stack Overflow. Take our short survey
Filter by
Sorted by
Tagged with
0 votes
1 answer
181 views

When using the code-first method with protobuf-net.Grpc.AspNetCore, I see the following messages: [15:13:07 INF] [HTTP] Starting grpc server... [15:13:07 DBG] Could not find bind method for App....
sparkplug's user avatar
  • 1,366
1 vote
1 answer
207 views

I'm trying to establish interprocess communication between .net framework (4.8) and .net (8) with protobuf-net.grpc. The communication between client/server in .net 8 works according to the ...
Patrick's user avatar
  • 11
0 votes
1 answer
343 views

I'm building a microservice. I have some working REST endpoints securized by JWT generated by Microsoft Azure. Here is how the token is verified : builder.Services .AddAuthentication(...
M. Ozn's user avatar
  • 1,238
0 votes
0 answers
90 views

I'm working on a .NET project where I need to use Protobuf and gRPC for serialization and communication. My classes use interfaces and the [DataContract] attribute. I'm having trouble getting ...
Justin CI's user avatar
  • 2,741
-1 votes
1 answer
314 views

I'm getting this error message "Specified method is not supported." whe using protobuf-het.Grpc I have this Client public class AddressClient { private IAddressService _grpcService; ...
Luis.A.Matamoros.R's user avatar
2 votes
0 answers
317 views

I'm using protobuf-net.grpc and in general the setup is working, but now I ran into an issue: one of the message objects cannot be used as service method parameter. Consider the following service ...
marce's user avatar
  • 801
0 votes
1 answer
2k views

From what I understand, it's best to reuse gRPC channels. What is the right way to create multiple code-first clients which share address and handler configurations? I have multiple ASP.NET gRPC ...
Vyrotek's user avatar
  • 5,439
0 votes
1 answer
417 views

I'm trying to make secure grpc calls from the client side but I can't seem to get my code to work; here are the steps and implementations I've taken. My specs: I'm running visual studio on mac m1 pro ...
Asım Gündüz's user avatar
1 vote
1 answer
637 views

Working on a POC of transitioning from BinaryFormater to Protobuf for Serialization and deserialization inorder to reduce the deserialization time. While trying to deserialize using the protobuf ...
Jonah Angelus's user avatar
3 votes
2 answers
1k views

I'm trying to write a notification system between a server and multiple clients using gRPC server streaming in protobuf-net.grpc (.NET Framework 4.8). I based my service off of this example. However, ...
user2727133's user avatar
0 votes
1 answer
780 views

Samples for grpc.core server implementation in .NET framework 4.7 We are planning to migrate from .NET framework to .NET core (.NET6). As part of this migration, we want to first move to grpc.core ...
Manikandan's user avatar
1 vote
0 answers
754 views

I was running a performance benchmark while sending/receiving data  using protobuf-net grpc (codefirst). I created a million records on the server and attempted to return to the client side, but ...
Asım Gündüz's user avatar
2 votes
1 answer
1k views

My team uses Google grpc communication for micro service communication. I came across protobuf-net that is fast, reduces code complexity and no .proto file to be defined. I wanted to give a try using ...
Anakar's user avatar
  • 112
1 vote
1 answer
1k views

Code-First = protobuf-net.Grpc.AspNetCore Contract-First = Grpc.AspNetCore I followed the example projects and they communicate without error to their respective server client. However, if I mix and ...
Michael Gulik's user avatar
0 votes
1 answer
3k views

I'm using something like this in dotnet asp net core 6: <PackageReference Include="protobuf-net.Grpc.AspNetCore" Version="1.0.152" /> <PackageReference Include="...
Christophe Blin's user avatar
0 votes
1 answer
1k views

I am facing some difficulty serializing an interface using CodeFirst in Protobuf-net.grpc. It is a DataMember within a DataContract. It works fine when I use it in a simple console application but ...
Sweater G's user avatar
1 vote
0 answers
578 views

I am working with protobuf-net v3.0.101 and getting one exception while creating client for a Service which has generic methods. Let say the service is like this : [ServiceContract(Name = "...
Priyanshu's user avatar
2 votes
1 answer
292 views

I'm working on a program which will asynchronously load large amounts of data from a server via gRPC (both ends use protobuf-net.Grpc). While I can simply throw large amounts of data at the client via ...
blenderfreaky's user avatar
2 votes
2 answers
3k views

I am creating an gRPC service and we decided to choose the code first approach with protobuf-net. Now I am running into a scenario where we have a couple of classes that need to be wrapped. We do not ...
monty's user avatar
  • 8,973
2 votes
1 answer
3k views

I did a quick search about the usage of oneof in Protobuf-net and it appears it's supported as of v2.3.0, but I can't for the life of me find any examples on exactly how one would use it! My ...
cogumel0's user avatar
  • 2,711
2 votes
2 answers
2k views

I am trying to generate the .proto of this structure: -- MODELS -- base model [DataContract] public abstract class Base { [ProtoMember(1)] public string Id { get; set; } [ProtoMember(2, ...
Sinan's user avatar
  • 908
1 vote
3 answers
274 views

I saw somewhere that with the Go MongoDB driver it is possible to save a document with the order number instead of the field name. They end up with this in the database: { "3": "foo&...
Sinan's user avatar
  • 908
2 votes
1 answer
3k views

I have a gRPC server running using the protobuf-net.gRPC using .NET Core 3.1. It uses ASP.NET Core framework and Kestrel behind the scenes to run the HTTP server. I notice that very first time the ...
Tsst's user avatar
  • 111
3 votes
2 answers
251 views

So, if I have: [ProtoContract] public abstract class BaseRequest { [ProtoMember(1)] public Guid Guid { get; set; } } [ProtoContract] public class Request : BaseRequest { [...
f00f's user avatar
  • 153
1 vote
1 answer
971 views

I have a library of fairly heavy-weight DTOs that is currently being used by some WCF services. We are attempting to bring it into protobuf-net world, with as little modification as possible. One ...
f00f's user avatar
  • 153
1 vote
1 answer
874 views

I am trying to Azure AD authentication with gRPC-Web in a blazor webassembly app. I am using protobuf-net to help me with the serialization. I am not sure how to pass the token to have the server side ...
paburgos's user avatar
  • 309
0 votes
1 answer
15 views

Is there a way how to find out, If the constructor is called during deserialization on client or during deserialization on server? I talk about constructor of class marked with DataContract atribute ...
Tom's user avatar
  • 23
1 vote
1 answer
1k views

i try to use a custom protobuf-net RuntimeTypeModel with the protobuf-net grpc client library. What I understand so far, I need to to use the ClientFactory and set a binder-configuration which ...
ToBu's user avatar
  • 95
4 votes
2 answers
3k views

I am getting the following exception: Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100] Unhandled exception rendering component: The type initializer for '...
paburgos's user avatar
  • 309
2 votes
1 answer
569 views

I am using protobuf-net with protobuf-net.grpc and am attempting to get it to work on Xmarin/Ios. Currently I have attempted to create a pre-compiled serializer: RuntimeTypeModel ...
RichardVNL's user avatar