Nadeera Kuruppu·Mar 9, 2025What Really Happens in Program.csIf you’ve worked with modern ASP.NET Core applications, you’ve likely seen a `Program.cs` file that looks something like this:
Nadeera Kuruppu·Apr 4, 2024Flattening Collections in EF Core: Understanding the Impact of SelectMany on Your LINQ QueriesIn Entity Framework Core, the SelectMany operation is used to flatten collections. This can sometimes lead to unexpected results if not…
Nadeera Kuruppu·May 13, 2023Boost Your C# String Performance: Tips for Minimizing Overheads and Maximizing EfficiencyLet’s say you’re working on a project that involves large number of text files. You may have to read each file, perform some string…A response icon1A response icon1
InTowards DevbyNadeera Kuruppu·May 1, 2023Boosting PostgreSQL Performance with IndexingImage Credit: Types of Indexes in PostgreSQL — Highgo Software Inc.
Nadeera Kuruppu·Apr 27, 2023Gracefully Handling Empty Sequences with DefaultIfEmpty() in LINQHave you ever written a LINQ query and wondered what happens when the source sequence is empty? If so, you might want to consider using the…
Nadeera Kuruppu·Apr 23, 2023Exploring LINQ in C#: A Beginner’s GuideLanguage-Integrated Query, commonly referred as LINQ, is a powerful feature in C# that allows developers to perform queries on data…
Nadeera Kuruppu·Apr 2, 2023Exploring Collection Types in C#: Choosing the Right One for Your NeedsAre you tired of struggling with managing data in your C# projects? Look no further! C# has an array of powerful collection types that can…