In this article, we will explore how to validate Asp.net MVC Application Using Fluent Validation.
If you want to do simple validation in our asp.net MVC application then Data Annotation is good but when it comes to applying complex validation to manage it with Data Annotation is a little bit difficult.
for complex validation it is good to use FLuent Validation.
A Select operator is used to select values from the collection.
A SelectMany operator is used to select values from the collection of collection.
Like SQL LINQ also provides join.
LINQ joins are used to fetch data from one or more data sources based on having a common key and results in a new data source.
In this article, we will learn how to convert a DataTable to a List in ASP.NET MVC.
Today, we will learn about how to create server side DataTable with it’s full functionality like searching, sorting and pagination. DataTable is most commonly used for grid and it’s power retains as it provides the customized functionality also.
In Linq, partition operators are used to dividing the collection/list into two parts. There are various partition operators like Take(), TakeWhile(), Skip(), SkipWhile(). All have its unique use and we can use it in our demand basis.
In Linq, sorting operators are used when we have to change the sequence or order of the data. i.e. Ascending sort or Descending sort. There are many sorting operators like OrderBy(), OrderByDescending(), ThenBy(), ThenByDescending() etc.Each has its unique use.
Linq filtering operators are used to filter the collection or list. Filtering operator specifies the statement that should only take effect when the specified criteria meet. The where clause is optional and used to limit the number of data returned by the linq query.
The Linq projection operator is used to retrieve one or more from the tables. Its like select syntax of the standard SQL query. Select and Select many are two types of linq projection operators.
Today, we will learn about Linq aggregate functions. Linq provides various aggregate functions like Min(), Max(), Sum(), Count(), Average(), Aggregate().