Development

Working As a Team with Migrations in Entity Framework Core

The official Microsoft documentation for using Migrations in Team Environments covers the basics. However, they neglect to mention one very important thing: Removing Migrations in a Team Environment Can Be [...]

2021-02-18T10:26:22-04:00February 17th, 2021|

Force Strings to use VARCHAR in Entity Framework Core

The nvarchar data type requires twice as much space to store as an equivalent-length varchar. For that reason, it is usually recommended to use varchar when you don't have a [...]

2020-10-30T05:10:59-03:00October 29th, 2020|

Seed Identity Data in ASP.Net Core

When using Identity in ASP.Net Core, it can be useful to seed some data for testing purposes. How to go about that is not entirely obvious, given that the tables [...]

2020-10-28T01:41:27-03:00October 28th, 2020|

Entity Framework Core Model in .NET Framework 4x Project

Because .NET Standard is implemented by later versions of the .NET Framework and .NET Core, these two very different project types can actually play nicely together. (I think of .NET [...]

2020-11-04T17:53:27-04:00October 23rd, 2020|
Go to Top