Tech Tutorials Database
GeekArticles Microsoft Microsoft.NET
 

Use Cookies and Session To Store TempData In ASP.NET Core

 
Author: dotnetbips.com
Category: Microsoft.NET
Comments (0)

If you ever used TempData in ASP.NET MVC, you are probably aware that by default TempData is stored in Session state. This means the web application must have sessions enabled. Luckily, ASP.NET Core 2.0 provides two TempData providers - Cookie based and Session State based. To that end this article shows how to use both of them in an ASP.NET Core application.

Read More...




Sponsored Links




Read Next: Remove Service Pack Installation Files and Free Up Disk Space



 

 

Comments



Post Your Comment:

Your Name:*
e-mail ID:(required for notification)*
Image Verification:�
 
 Subscribe