Tutorial by Examples

1)First, add dependency in project.json - "Microsoft.AspNetCore.Session": "1.1.0", 2)In startup.cs and add AddSession() and AddDistributedMemoryCache() lines to the ConfigureServices like this- services.AddDistributedMemoryCache(); //This way ASP.NET Core will use a Memory Cach...

Page 1 of 1