There’s a lot of identity providers for ASP.NET. One of the easiest (and cheapest, if you’re under 50k MAU) option is to use Azure AD B2C. Here’s the quickest was to get up and running with an ASP.NET Core MVC app and Azure AD B2C identity. Create a B2C directory…
Category: C# / .NET
Global and persistent query filters for Entity Framework Core
Occasionally, you may want to apply a filter to all queries for an entity type. For example, you may want to ensure that some records are not returned in any query, such as when an entity is soft-deleted. Now I probably should have been familiar with this, but it can…
Persist a list of integers with Entity Framework Core
I had to persist a list (or array) of integers in a database table using Entity Framework Core. I was surprised to find that EF Core does not support this out of the box. I found a few solutions online, but they all seemed to be overly complicated, here’s a…