Store complex objects in ASP.NET Core Session

By Talking Dotnet

The ASP.NET Core Session object has 3 methods to set the session value, which are Set, SetInt32 and SetString. The Set method accepts a byte array as an argument where the SetInt32 and SetString method are the extension methods of the Set method. These methods internally cast the int or string to a byte array. […]

The post Store complex objects in ASP.NET Core Session appeared first on Talking Dotnet.

Source:: ASP.NET