TempData and Cookies in ASP NET Core MVC | Day 15 | Pranaya Rout | Dot Net Tutorials
TempData and Cookies in ASP NET Core MVC | Day 15 | Pranaya Rout | Dot Net Tutorials | Online Training At the end of this video, you will understand the following pointers. TempData in ASP.NET Core MVC Why do we need TempData in the ASP.NET Core MVC Application? What exactly is TempData in ASP.NET Core MVC? How to use TempData? How to Pass and Retrieve Data from TempData? How to Retain TempData values in the Consecutive Request in ASP.NET Core MVC? Cookies in ASP.NET Core MVC What is a Cookie? Types of Cookies How do you Write, Read, and Delete Cookies in ASP.NET Core MVC? Advantages and Disadvantages of using Cookies in ASP.NET Core MVC When to use Cookies in ASP.NET Core MVC? Why do we need TempData in the ASP.NET Core MVC Application? As we already discussed in our previous articles, we can use ViewData, ViewBag, and Strongly Typed Models to pass the data from a controller action method to a view. Now, we will see another approach to send the data from the controller action method to a view in the ASP.NET Core MVC Application using the TempData.