I blogged about this yesterday: Configuring SQL Server For Session State In MVC 6
There are two ways to generate the table: one is to execute a dnx command (the article explains that); and the second is to run a Create Table script (the article includes the script).