Brief version history of ASP.NET MVC with features
Posted By : Manish Banga at 25 February 2015
Updated On : 25 February 2015
Asp.Net MVC is a new framework from Microsoft that sits over standard Asp.Net engine. It is built on top of Asp.Net and uses core features of Asp.Net. It implements MVC (Model-Viw-Controller) pattern which provides separation of code and better support for test-driven development (TDD).
ASP.NET MVC offers us four options ViewData, VieBag, TempData and Session for passing data from controller to view and in next request. But now question is that what is the differences between these different type. In this article I have described these differences.
Asp.Net MVC is a new framework from Microsoft that sits over standard Asp.Net engine. It is built on top of Asp.Net and uses core features of Asp.Net. This article describes what the problems in ASP.NET WebForm are and how ASP.NET MVC solves those problems.
Asp.Net MVC is a new framework from Microsoft that sits over standard Asp.Net engine. It is built on top of Asp.Net and uses core features of Asp.Net. This article describes the main features of ASP.NET MVC.
Generic Custom Html Helper (Razor) for Dropdown List created by List of Objects
Posted By : Manish Banga at 22 April 2015
Updated On : 22 April 2015
Generally in custom Html Helper you have to pass either list of SelectListItem or list of specific class. But if you have data in list of some specific class (Ex. Customer) then you are bound to first convert it to either in list of SelectListItem or list of a standard class asked as an argument in custom Html Helper. This article explains how to create custom Html Helper for DropdownList without having this boundation. You can pass any type of class to this helper and it will create Dropdown list.
Most of the MVC developer knows that TempData is used to preserve data for a single request but reality is that TempData can pass data for next request also. In this article we will discuss how to persist data with TempData using Keep and Peek method as well we will also see the difference between Keep and Peek method.
Rotativa – A tool for PDF Generation in ASP.NET MVC
Posted By : Monika Jain at 10 March 2016
Updated On : 10 March 2016
In this article I have explained a tool that is used to generate PDF with some line of code in ASP.NET MVC. Rotativa is a tool or we can say an ASP.NET MVC library which is available in Nuget Library by which we can generate the PDF for any Documents and Reports to print in a very easy and quick manner.