Using split queries (AsSplitQuery) in Entity Framework Core to avoid the cartesian explosion problem

Without lazy loading in Entity Framework Core we must eagerly load related entities which means we can experience the ‘cartesian … Continue reading Using split queries (AsSplitQuery) in Entity Framework Core to avoid the cartesian explosion problem

Use Registered Servers in SQL Server Management Studio (SSMS) for easy access to multiple DB servers

Switching between multiple DB servers in SQL Server Management Studio can be a pain. Registered Servers in SQL Server Management … Continue reading Use Registered Servers in SQL Server Management Studio (SSMS) for easy access to multiple DB servers

Using ToLower() or ToUpper() in C# to compare strings is not safe in all cultures

If you’re using Resharper, Roslynator or similar you’ll likely see string comparisons using ToLower() or ToUpper() flagged. Why are these … Continue reading Using ToLower() or ToUpper() in C# to compare strings is not safe in all cultures