title: How to use the session state config in the Asp.net core
body: <p>I created a web application using ASP.Net MVC 5.
  Now I am going to migrate this project to ASP.Net Core and serve it.</p>
  <p>Currently, I am using the session server separately. And the Web.config setting is as shown below:</p>
  <pre><code>&lt;sessionState mode=&quot;StateServer&quot; stateConnectionString=&quot;tcpip=1.1.1:45000&quot; timeout=&quot;20&quot; /&gt;
  </code></pre>
  <p>How would I set it up with ASP.Net Core?</p>