如何生成HttpContext TraceIdentifier,又称Correlation-Id?
我通过控制器请求一个页面,它给了我以下TraceId: 0HLEACIU86PT6:0000000D
0HLEACIU86PT6:0000000D
该页面将触发一个具有以下TraceId的ajax调用: 0HLEACIU86PT7:00000005
0HLEACIU86PT7:00000005
你可以看到它们非常相似.是基于时间吗?
为什么我没有得到相同的TraceIdentifier?
如何确保相同的TraceIdentifier?
c# http .net-core asp.net-core
.net-core ×1
asp.net-core ×1
c# ×1
http ×1