Development

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 29, 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 28, 2020|

Enum Entity Property in Entity Framework Core

I like working with enums, but I found I haven't used them much lately because I was fuzzy on how to use them in conjunction with Entity Framework. I've finally [...]

2020-10-27T15:45:34-03:00October 16, 2020|
Go to Top