Steps To Be Followed:
Step-1: New project:
Open Visual Studio and select File >> New Project.
The “New Project” window will pop up. Select .NET Core and select “ASP.NET Core Web Application“. Name our project and click “OK”.
A “New Project” window will pop up. Select Web Application and click “OK”, as shown below.
Also read: Steps to archive log files using NLog with ASP.NET Core
Once our project is ready, open Solution Explorer, right-click “dependencies”, and click “Manage NuGet Packages.”.
We need to install the stable version of “Microsoft.AspNetCore.Session” from the NuGet Package Manager. Then only we can access the session state in ASP.NET Core. Click on the “Install” button.
Now, double click “HomeControllers.cs”. The following is an example of a session sharing in ASP.NET Core.
Download FREE SharePoint 2019 Installation PDF Guide
This FREE PDF contains, Steps by step guide to install SharePoint 2019 Preview, prerequisites, hardware and software new features. First impression to SharePoint Server 2019 new modern site, modern lists and modern document libraries.
You May Also like the Following SharePoint Online Tutorials: