Posts for March 2023

Published: March 31 2023

Next.js 11 + MongoDB - Connect to Mongo database with Mongoose

How to connect from Next.js to MongoDB using Mongoose, and automatically create/update the Mongo database from code.
Published: March 30 2023

React Router v6 - Redirect with Navigate and useNavigate

A quick post on how to redirect with React Router v6 using the Navigate component and useNavigate hook.
Published: March 29 2023

Angular - Add Bearer Token Authorization Header to HTTP Request

A quick example of how to add a Bearer Token Authorization Header to an HTTP request in Angular with the HttpClient
Published: March 28 2023

.NET 7.0 + Postgres - Connect to PostgreSQL Database with Dapper in C# and ASP.NET Core

How to connect to a PostgreSQL database with C# in ASP.NET Core using Dapper and ADO.NET
Published: March 27 2023

Fix for GitHub Error - WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!

I tried pushing some changes to a GitHub repo and got the error: WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!
Published: March 27 2023

Postgres + Dapper - Create database if it doesn't exist on startup with C# and ASP.NET Core

How to auto create a database and tables in PostgreSQL with C#, ASP.NET Core and the Dapper ORM
Published: March 23 2023
Last updated: April 13 2023

.NET 7.0 + Dapper + PostgreSQL - CRUD API Tutorial in ASP.NET Core

How to build a .NET 7.0 CRUD API with Dapper and a PostgreSQL database.
Published: March 17 2023

Quick fix for Docker not starting on Windows with error "Docker Desktop stopped"

I tried to start Docker Desktop this morning on my Windows machine and was getting the error "Docker Desktop stopped" before the application automatically closed.
Published: March 16 2023

Redux Toolkit createAsyncThunk - Dispatch a Redux Action from an Async Thunk in React with RTK

How to dispatch a new Redux action inside an async thunk created with Redux Toolkit's createAsyncThunk.
Published: March 14 2023

.NET + VS Code + XUnit - Setup Unit Testing & Code Coverage in ASP.NET Core

Steps to configure automatic unit testing and code coverage report generation in ASP.NET Core with VS Code and XUnit
Published: March 02 2023
Last updated: March 30 2023

React 18 + Redux - User Registration and Login Example & Tutorial

Tutorial with example of how to implement user registration, login and CRUD functionality with React 18 and Redux.
Supported by