skip to Main Content

Asp.net – TempData Peek Issue

I am using TempData for temp storage of a list item. I have used below code in program.cs builder.Services.AddSingleton<ITempDataProvider, CookieTempDataProvider>(); builder.Services.AddSession(); //Other middleware app.UseSession(); On a get request i have created a view model and stored the data from viewmodel…

VIEW QUESTION
Back To Top
Search