Intro: I am a .NET studet trying to learn ASP.NET Core MVC. So please be understanding. I have searched the web for an answer to my problem, but havent found a solution that wor
TempData stores data server-side, under user Session. You need to enable sessions (as exception message says). Check this manual.
TempData
If you don't want to use sessions - you need some other way to store data (cookies?)