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

.NET + MSBuild - C# Project File (.csproj) in a Nutshell

A .NET project file is an XML document containing MSBuild code that executes when you run the dotnet build command
Published:

.NET 5.0 - CRUD API Example and Tutorial

Tutorial on how to build a .NET 5.0 API that supports CRUD operations.
Published:

React + Fetch - Logout on 401 Unauthorized or 403 Forbidden HTTP Response

A quick example of how to automatically logout of a React app if a fetch request returns a 401 Unauthorized or 403 Forbidden response
Published:

Vue 2/3 + Axios - Interceptor to Set Auth Header for API Requests if User Logged In

A quick example of how to automatically set the HTTP Authorization header for axios requests from Vue.js (v2 or v3) to an API when the user is authenticated
Published:

React + Axios - Interceptor to Set Auth Header for API Requests if User Logged In

A quick example of how to automatically set the HTTP Authorization header for axios requests from React to an API when the user is authenticated
Published:

Angular - HTTP Interceptor to Set Auth Header for API Requests if User Logged In

A quick example of how to automatically set the HTTP Authorization header for HTTP requests from Angular to an API when the user is authenticated
Published:

React Hook Form - Reset form with default values and clear errors

An example of how to reset a React Hook Form with default values and clear form validation error messages.
Published:

Fetch + Vanilla JS - Check if HTTP Response is JSON in JavaScript

This is a quick example of how to check that the response type is JSON for an HTTP request sent the Fetch API (fetch()) which comes bundled with all modern browsers.
Published:

Fetch - HTTP DELETE Request Examples

A quick set of examples to show how to send HTTP DELETE requests to an API using fetch
Supported by