Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AddNCacheSession does not work on .net 5.0 #62

Open
zalza13 opened this issue Jan 28, 2021 · 1 comment
Open

AddNCacheSession does not work on .net 5.0 #62

zalza13 opened this issue Jan 28, 2021 · 1 comment

Comments

@zalza13
Copy link

zalza13 commented Jan 28, 2021

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!

@Dan-Ahmed
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants