Open zalza13 opened 3 years ago
Hi Zalza,
Please note that we are in the process providing the .NET 5.0 support and this will be made available in next releases of NCache. We are reviewing the changes incorporated by Microsoft in .NET 5 and will work on this after the release of NCache v5.2 which is expected in 2-3 weeks from now.
Moreover, we have separate sample apps for ASP.NET and ASP.NET Core session storage with NCache. I am listing them down and you can use relevant sample apps as needed.
ASP.NET Framework https://github.com/Alachisoft/NCache/tree/master/Samples/dotnet/SessionCaching/aspnet/GuessGame
You can use this application with .NET Framework v4.0 till .NET v4.7.2
ASP.NET Core https://github.com/Alachisoft/NCache/tree/master/Samples/dotnetcore/SessionCaching/GuessGame
You can use this application with .NET Core v2.2 or later
I hope this helps.
The Alachisoft.NCache.CoreSessionStoreProvider does not work on .net 5.0.
If you try the GuessGame.NetCore sample app on .net core 2.2 it works fine, but if we migrate it to .net 5.0 it stops working, HttpContext.Session is null and the previously saved values cannot be obtained.
Help me please!