Development

Ignore First Render in React’s useEffect()

Sometimes you want to use useEffect() to catch a change in a state, but only after the initial value has been set. For example, you have a state called selectedId, [...]

2023-10-16T13:43:04-03:00October 16th, 2023|

Relationships in Entity Framework Core 7

One to Many Relationships This article does not yet include information about One-To-Many relationships in Entity Framework Core 7. However, One-To-Many relationships have not changed much since Entity Framework Core [...]

2023-10-10T20:27:38-03:00October 10th, 2023|

React Component with Children

Creating a React component that contains children can be as easy as including a children property and including {props.children} in the Return function. But knowing the proper type to use [...]

2023-05-05T11:18:20-03:00May 5th, 2023|

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|
Go to Top