Top Solutions

What is Session and how to use in asp.net MVC ?

In this Article, I describe what is Session and how to use session in asp.net mvc. Session is helpful to access or pass a data from controller to View or one View to controller that mean we can access a session value anywhere in application until user browser is open.

What is TempData and how to use in asp.net MVC ?

In this Article, I describe what is TempData and how to use TempData in asp.net mvc. TempData is helpful to access or pass a data from one controller to another or one action to another. Here I demonstrate how to pass a value from one action to another.

What is ViewData and how to use in asp.net MVC ?

In this Article, I describe what is ViewData and how to use ViewData in asp.net mvc. ViewData is nothing but transfer(to pass or access) a data from Controller to View. In asp.net we use ViewState for access a value anywhere in same web form. Here I am using ViewData like viewstate in asp.net.

How to use RedirectToAction in asp.net MVC?

In this Article, I explain how to use RedirectToAction in asp.net mvc. Why we use RedirectToAction?. For using RedirectToAction function we have to redirect your controller from one to another with different type of views.

What is Routing in asp.net mvc?

Routing is nothing but simply your mvc url. What mean is that simply your url. for example some developers using some kinds of prefix name cls with class name and also given method name as their own idea.