osexpert
osexpert
System.Text.Json work like expected and when trying to de-serialize empty string will (always?) fail: System.Text.Json.JsonException: 'The input does not contain any JSON tokens. Expected the input to start with a...
IProgress is nice as you can report/notify/fire-and-forget whatever T you want. Thou would be nice with some way (IAsyncProgress?) to have a Task Report (T value) that can be awaited....
Another thing that could solve the problem for me was if I could create multiple proxies and specify proxy option to alter method name (via delegate), eg. proxy for Service1...
> Interesting. @gdalsnes are you aware that `JsonRpcProxyOptions` also offers you a method name transform delegate? So you can add the service prefix both on the target and proxy sides...
It works but it actually got a lot more complicated with dozens of proxies instead of one super-proxy IServer (IServer : IService1, IService2, etc.) that I use via generic wrapper,...
Or maybe just check for all the valid states 'Open, CloseReceived, CloseSent'
I can only suggest to prevent the exception by calling CloseAsync only for the allowed states as presented by exception. It might not really fix anything, but it does not...
"After the comma is the namespace of the class." No, the thing after the comma is the assembly name. But the problem is, DbTransaction exist in different assemblies in different...
I tested various things, only these 2 works (.net 4.6.1): Type.GetType("System.Data.Common.DbTransaction, System.Data.Common"); Type.GetType("System.Data.Common.DbTransaction, System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"); In 4.8 only this works for me: Type.GetType("System.Data.Common.DbTransaction, System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"); Possibly...
And maybe option for showing a "desktop" button at the very ~~left~~ right (show desktop button).