In java I'm able to have object that are Session scoped and view scoped. In asp.net mvc it seems that all data are request scoped? How can I make data view scoped and even session scoped?
I would like to have my ViewModels view scoped so I don't have to make fields for all values in the view, and better support for nested view models.
For session scope I would like to have one object following the user through the entire sessions which can hold information about the user (more than I can get from the identity user object).
Is this possible?