ServiceFabric DataContract exception serialization and ServiceProxy.Create

I am following these instructions to switch all of my Service Fabric services to use the DataContract serializer:
https://learn.microsoft.com/en-us/azure/service-fabric/service-fabric-reliable-services-exception-serialization

My question is: what should I do with calls to
ServiceProxy.Create
? do they need to be replaced with something else?
What about the
FabricTransportActorRemotingProviderAttribute
on my Service Fabric services? It seems like when Service Fabric creates listeners and proxies automatically using this attribute they have the
ExceptionSerializationTechnique
property set to BinaryFormatter
Enable data contract serialization for remoting exceptions in Azure Service Fabric.
Was this page helpful?