convertersystems / opc-ua-client

Visualize and control your enterprise using OPC Unified Architecture (OPC UA) and Visual Studio.
MIT License
403 stars 119 forks source link

make ServiceResultException serializable #241

Closed trivalik closed 1 year ago

trivalik commented 1 year ago

fixes https://github.com/convertersystems/opc-ua-client/issues/235

trivalik commented 1 year ago

Is there any reason why this is not done yet?

awcullen commented 1 year ago

I don't believe SerializableAttribute is recommended any more for current dotnet.

trivalik commented 1 year ago

I guess you mean deprecation of binaryformatter: https://learn.microsoft.com/en-us/dotnet/core/compatibility/serialization/5.0/binaryformatter-serialization-obsolete

I don't think it is the case for xml serialization.

Other project do allow serialization as well like https://github.com/rabbitmq/rabbitmq-dotnet-client/issues/684