How do I save an object in session .NET core?
In ASP.NET Core, the only way to store other types of values/object in session is to implement the serialization to byte arrays. That's it.
Can you store object in session?
The Session object provides a dynamic, associative array into which you can store information. You can store scalar variables and object variables into the Session object.