Latest posts on "asp-net-MVC"

How to display Image in MVC asp.net?

9 April 2016

In this article I am explains about how to display Image using MVC asp.net. It is simple by using @Url.Content(“imageLoction”).

Different between Partial and RenderPartial in asp.net MVC ?

6 April 2016

In this article, I describe Different between Partial and RenderPartial in asp.net mvc. Both of these helper methods are used to render a partial views. The return type of RenderPartial is Void, where as Partial return MvcHtmlString.

What is Partial Views in asp.net MVC ?

5 April 2016

In this Article, I describe what is partial view in asp.net mvc. Partial views are used to encapsulate reusable view logic and it simplify the complexity of views. We can use one partial view on multilple views , where we need similar kind of view logics.

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

4 April 2016

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 ?

4 April 2016

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 ViewBag and how to use in asp.net MVC ?

4 April 2016

In this Article, I describe what is ViewBag and how to use ViewBag in asp.net mvc. ViewBag is nothing but Collection of ViewData. It simplifies the syntax of ViewData. ViewBag use dynamic keyword of asp.net.

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

4 April 2016

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.