Bernard Normier

Results 155 comments of Bernard Normier

See https://dotnetfiddle.net/L7dKKQ The whole point here is to do what the platform does. It's not about "enforcing the spec" when the platform does not. When we decode a Slice2-encoded service...

> What do you think? You're missing the point. The most common way to create a ServiceAddress in C# is from a `Uri`. When you do that, the IceRPC code...

I think you just need to remove ` .replace('\'', "'")`.

See also: https://github.com/microsoft/msquic/issues/3880

Let's update the code conditionally (and add a test) once dotnet 9 preview 1 is out.

We should also review how we use TypeContext. It looks like we use it for at least 2 separate purposes: 1) in cs_type_string, to figure out how to map a...

Microsoft does not describe what they want to do when DisposeAsync is called while CloseAsync is in progress. Presumably it could be: a) wait for the CloseAsync to complete b)...

I'd rather not wrap `CodecInputStream`. Since this is a Protobuf C# issue, should we open an issue in https://github.com/protocolbuffers/protobuf/issues?q=is%3Aopen+is%3Aissue+label%3Ac%23?

We could but would this provide a better API? With `public Func? OnNewSession { get; set; }`, we give the application the ability to perform a post-session-reconnect initialization, using the...

> How do you view the registration of client-side services? The application performs all post-session-recreation initialization in the OnNewSession function it registers. Obviously this category mechanism is not well suited...