Published: October 26 2021
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: October 21 2021
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: October 15 2021
Some quick examples of how to convert a string to a number in JavaScript
Published: October 12 2021
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: October 09 2021
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: October 07 2021
How to register and unregister a location change listener in a React component with React Router v5.
Published: October 05 2021
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: October 04 2021
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: October 03 2021
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: October 02 2021
Some quick examples of how to generate a range of numbers in an array in JavaScript.
Published: October 01 2021
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.