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.
Published:

.NET - Startup Class in a Nutshell

The Startup class configures the services available to the .NET Dependency Injection (DI) container in the ConfigureServices() method, and configures the .NET request pipeline for the application in the Configure() method.
Published:

.NET - Program Class and Main Method in a Nutshell

The Main method is the entry point for a .NET application, when an app is started it searches for the Main method to begin execution. The method can be located anywhere in a project but is typically placed in the Program class.
Supported by