Note
For an "ASP.NET Core on .NET Framework" project, make sure you have the following additional packages with these minimum versions in your project (update them in Nuget Package Manager if necessary):
- Microsoft.AspNetCore 2.0.3+
- Microsoft.AspNetCore.Mvc 2.0.3+
- Microsoft.AspNetCore.Session 2.0.3+
For an "ASP.NET Core on .NET Core" project, these dependencies will be pulled by NuGet Package Manager automatically so you don't need to do any additional steps.