How is HttpContext TraceIdentifier generated in .net core? : <p>How is HttpContext TraceIdentifier, aka Correlation-Id is generated?</p>

<p>I request a page through controller which gives me the following TraceId:
<code>0HLEACIU86PT6:0000000D</code></p>

<p>The page fires an ajax call which has the following TraceId:
<code>0HLEACIU86PT7:00000005</code></p>

<p>as you can see they are very similar. is it based on time? </p>

<p>Why didnt I get the same TraceIdentifier?</p>

<p>How can I ensure the same TraceIdentifier?</p>
