Azure ServiceBus Message Serialization/Deserialization
问题 I am using application(.Net Core) to send an object through azure service bus and received by a web job(.Net Core) Question is how to serialize/deserialize to send/receive the object? I found lots of reference for the legacy BroakerMessage.GetBody() to receive message, but not the new .Net Core method, please advice, thanks. Sender code: using Microsoft.Azure.ServiceBus; MyClass object = new MyClass(); var message = new Message(object); await queueClient.SendAsync(message); Receiver code: