Published:

.NET 5.0 - Connect to MySQL Database with Entity Framework Core

In this post we'll go through the steps to connect a .NET API to MySQL using Entity Framework Core, and to create a MySQL database from code using EF Core migrations.
Published:

.NET 5.0 - Connect to SQL Server with Entity Framework Core

In this post we'll go through the steps to connect a .NET API to SQL Server using Entity Framework Core, and to create a SQL Server database from code using EF Core migrations.
Published:

Vanilla JS - 7 ways to convert a string to a number in JavaScript

Some quick examples of how to convert a string to a number in JavaScript
Published:

.NET - Return Enum as String from API

This is a quick post to show how to serialize enum values as strings so enum values are returned in API responses instead of the enum indexes.
Published:

Fetch - Error Handling for Failed HTTP Responses and Network Errors

A quick example of how to handle both network errors and HTTP errors (4xx or 5xx) for fetch requests in a single catch block
Published:

React - history listen and unlisten with React Router v5

How to register and unregister a location change listener in a React component with React Router v5.
Published:

React Hook Form 7 - Dynamic Form Example with useFieldArray

This is a quick example of how to build a dynamic form with validation in React with version 7 of the React Hook Form library.
Published:

Axios vs Fetch - HTTP GET Request Comparison by Example

Examples of HTTP GET requests sent with axios side by side with the same requests sent with fetch so you can compare the two and decide which you prefer.
Published:

Axios vs Fetch - HTTP POST Request Comparison by Example

Examples of HTTP POST requests sent with axios side by side with the same requests sent with fetch so you can compare the two and decide which you prefer.
Published:

Vanilla JS - Create an array with a range of numbers in a JavaScript

Some quick examples of how to generate a range of numbers in an array in JavaScript.
Supported by