ASP NET Core 3 1 Understand State Management With Sessions with an MVC A...





This is part 13 of the ongoing playlist of ASP.NET Core 3.1 lectures. In this lecture, we understand the concept of Sessions in State Management through an MVC UserDetails controller. The controller sets the sessions in the Index action method and retrieves the values in a Get() action method.
Session state is used for storing user data as the user navigates through a web app.
It uses a store maintained by the app to persist data across requests from a client.
Session data is backed by a cache and is considered temporary (or transitory) data.
Critical application data should be stored in the user database so that site should continue to function without the session data.
#aspnetcore31 #sessions #statemanagement #persistdataacrossrequests
#aspnetcoremvc

Comments

Popular posts from this blog

How to Fix "JsonReaderException: '}' is invalid after a single JSON valu...

ASP NET Core 3 1 Build a Complete MVC ToDo List Application Part 11

A Simple ML.NET Linear Regression Machine Learning Application