MVC
-
Feb- 2020 -9 February.Net
Data Annotations In ASP.NET MVC
Data Annotations are nothing but certain validations that we put in our models to validate the input from the user. ASP.NET…
Read More » -
9 February.Net
What is Difference between Html.Partial and Html.RenderPartial in MVC?
Html.Partial returns a string, Html.RenderPartial returns void.– We can store the output of Html.Partial in a variable/able to return from function.– In Html.RenderPartial, we can’t…
Read More » -
9 February.Net
Attribute Routing in ASP.NET MVC 5
Routing is how ASP.NET MVC matches a URI to an action. MVC 5 supports a new type of routing, called attribute routing.…
Read More » -
9 February.Net
ViewData vs ViewBag vs TempData vs Session
In ASP.NET MVC there are three ways – ViewData, ViewBag and TempData to pass data from controller to view and…
Read More » -
9 February.Net
LINQ Single vs SingleOrDefault vs First vs FirstOrDefault
SINGLE()SINGLEORDEFAULT()FIRST()FIRSTORDEFAULT()DESCRIPTION Returns a single, specific element of a sequenceReturns a single, specific element of a sequence, or a default value…
Read More » -
Jan- 2020 -31 January.Net
CRUD Operation in Asp.Net MVC
CRUD Operations in MVC This article is all about ASP.NET MVC CRUD operations using Entity Data Model (DB First Approach).…
Read More »