I'm having an odd issue with ASP.NET Core MVC.
I'm trying to keep track of a Guid called Uid
as I move from page to page in an app at work.
In the controller, I tried setting each of these as a test on my Edit action.
model.Uid = uid.ToString();
TempData["Uid"] = uid.ToString();
ViewData["Uid"] = uid.ToString();
But as I step through the application, when I navigate through the pages, these values are all reset to null when I'd expect them to persist.
I could swear I've used these before and they persisted... any ideas for how I might narrow down the cause?