我们正在开发一个Web API应用程序,该应用程序将在请求中接收相关ID头(GUID),并将通过向Azure Service Bus队列发送消息来异步触发后端进程。我们想传递此相关ID,以进行端到端监控。
我们应该使用CorrelationId内置属性还是将CorrelationId用户属性添加到Microsoft.Azure.ServiceBus.Message的 UserProperties字典中?最佳做法是什么?
c# azure azure-servicebus-queues
azure ×1
azure-servicebus-queues ×1
c# ×1