Why I Chose React over Others
There are more than a dozen different tempting front-end frameworks out there, like React, Angular, Vue, Ember, and others. As a human being, we have limited time and we tend to choose the best(obviously,...
Many-To-Many Relation in Entity Framework Core (1.0.1)
In Entity Framework Core 1.0.1 Many-To-Many without creating relational entity is not supported and the easiest way to implement is creating the relational entity.
I will show that in a small example:
public class Course
{
...
Converting string to Nullable int
There are some scenarios when you extract a number from a text (it can be a text file or web page or etc...) and you need to convert it to a specific nullable type.
In this...
LINQ Aggregate Function
Aggregate is one of the extension methods which lives in System.Linq namespace, and applies to any object that implemented IEnumerable interface.
Aggregate is one of seven aggregation family functions which are:
Min
Max
Count
LongCount
Sum
Average
...
Null Coalescing Operator or ?? in c#
Null Coalescing Operator is the ?? operator
This operator has been added to C# since version 2.0, and it's one of the C# syntactic sugars that sometimes is more useful than you expect. Basically, this...