Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there an ASP.NET Core version of Microsoft.AspNet.Session?

I'm using ASP.NET Core for a Linux web application. I can't use a Microsoft.AspNet.Session because it has some dependencies in the .NET 4.5.1 framework. I have middleware and I need to send some data to the session so it'll be available later. What choices do I have if I can't use the Session?

like image 728
wajiro_91 Avatar asked Jan 29 '26 22:01

wajiro_91


1 Answers

You would use the Microsoft.AspNetCore.Session namespace for this functionality instead.

like image 155
TylerH Avatar answered Jan 31 '26 12:01

TylerH



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!