So, you use Entity Framework Core, and you usually code your selects like the following, maybe you are getting too much data.

var products = Products
    .Where(p => p.UnitsInStock > 0)
    .OrderBy(p => p.ProductName)
    .ToList()

Running the query above, on my table, you'll get the following output, take a look …


Top Level Statement in C# 9

Hey folks, I'm coming along to tell you a few things about the new feature of C# 9. Every time you want to start a new project, you always have the same Main File, with the same structure. At the next version of C# (version 9), we'll have a new …