title: What is equivalent of asp.net cache in .net Core
body: <p>I want to share specific data for all users in the .net core system same we are doing in MVC5</p>
  <p>I checked InMemoryCache and used it to save data but Unfortnality, this share data individually per user</p>
  <p>What I mean in MVC 5 if I used</p>
  <pre><code>HttpContext.Current.Cache[&quot;xyz&quot;] = &quot;Test Value&quot;
  </code></pre>
  <p>and second user logged in and called</p>
  <pre><code>HttpContext.Current.Cache[&quot;xyz&quot;] 
  </code></pre>
  <p>the new user will get the result &quot;Test Value&quot;
  and if he changed this value for other value the first one will see this changes</p>
  <p>but in .net core using InMemory Cache I can't find any option to share data between system users</p>
  <pre><code>_cache.Set(&quot;xyz&quot;,&quot;Test Value);
  </code></pre>
  <p>Other users will not able to retrieve the value for xyz key</p>
  <p>I am setting the InmemoryCache value in startup</p>