Session in .NET Core 1.1
<p>I want to use Session in ASP.NET MVC CORE 1.1 but a bit confused.</p>

<p>What is the difference between:</p>

<pre><code>services.AddDistributedMemoryCache(); vs services.AddMemoryCache();
</code></pre>

<p>It also looks like Session works without both of them, how come?</p>