What is TempData in Asp.net MVC

TempData is also a dictionary derived from TempDataDictionary class and stored in short lives session and it is a string […]

Updated on     Kisan Patel

What is Razor Engine?

ASP.NET MVC 3 introduces the new view engine Razor, which was conceived to simplify the current syntax used in ASP.NET […]

Updated on     Kisan Patel

MVC1, MVC2 and MVC3 OverView

ASP.NET MVC 1 Overview In February 2007, Scott Guthrie (“ScottGu”) of Microsoft sketched out the core of ASP.NET MVC while […]

Updated on     Kisan Patel

What is MVC?

ASP.NET MVC is the eagerly anticipated revision of Microsoft’s approach for creating data-driven dynamic applications. MVC is Model-View-Controller. Model-View-Controller, architecture […]

Updated on     Kisan Patel

Reset Identity Seed after deleting records in SQL Server

Problem: How to Reset Identity Seed after deleting records in SQL Server? Solution: The DBCC CHECKIDENT management command is used […]

Updated on     Kisan Patel

C# – Linq Distinct on a particular Property

Problem: How to use Distinct when I do not have a simple list (a simple list of integers is pretty […]

Updated on     Kisan Patel

How to Set Culture Setting in ASP.NET 5

Problem How to Set Culture Setting in ASP.NET 5 Solution Just Open Startup.cs and in the Configure() method use the […]

Updated on     Kisan Patel

Enter Only Decimal Numbers Using JavaScript Example

This post will show you how to restrict the user to allow only decimal numbers in input textbox using javascript. […]

Updated on     Kisan Patel

Enter Only Numbers Using JavaScript Example

This post will show you how to restrict the user to allow only numbers in input textbox using javascript. script.js […]

Updated on     Kisan Patel

How to Handle error in ASP.NET MVC?

This post will explain you how to handle error for controller action method and redirect the user to a default […]

Updated on     Kisan Patel