ScriptBytes
Tutorials and Tips for Software Development
Learn how to run SQL Server on your M1 or M2 Macbook using Docker and SQL Edge.

More Posts
Run a Postgres Database for Free on Google Cloud
Learn how to run a Postgres database for free on Google Cloud using Docker and Compute Engine.

Run Postgres in Docker!
Running your Postgres database inside a docker container on your local computer is a great way to test out changes to the database before you push them up to your dev or test environment.

Entity Framework Migrations with SQL Server
Entity Framework Migrations is a very powerful tool that helps you maintain your database so that the structure of that database matches the objects you are using in your API application.

Run SQL Server in Docker
Learn how to run SQL Server in a Docker container on your local development machine. This gives you the flexibility to quickly spin up and down database instances for testing.

Run Dotnet Tasks Concurrently
Learn how to improve application performance by running .NET tasks concurrently using Task.WhenAll. Reduce processing time significantly for independent, IO-bound operations.

Deploy a .Net Core API to Google Cloud Run
Learning how to Set up and deploy a .Net core API to Google Cloud Run seems daunting at first, but once you go through it you realize it is not too bad. I will show you how to utilize docker containers, Cloud Build, and Cloud Run to get your API up and running in no time.

Local PostgreSQL Database with Entity Framework Migrations
I like to run a local copy of my database when I am developing. Mostly so that I can quickly make changes, and so that I am not incurring charges for running a dev database somewhere in the cloud. I will quickly show you how to set up a .Net Core 6 API to use a Local PostgreSQL Database using Entity Framework Migrations.

Swagger 404 When Deployed
I recently put together a very quick proof of concept for a .Net Core 6 API. When I deployed it, in our case to Google Cloud Run, the swagger page was throwing a 404. It sadly took me and a coworker longer than I care to admit to find the problem.

Setup and Deploy Angular App to Google Cloud Run
Google Cloud Platform can be quite overwhelming at first. But once you start to understand how the services work together, you realize that it is actually not too bad. In this tutorial, I will show you how to set up and deploy an Angular application to Google Cloud Run using Cloud Build for continuous deployment.

Which Technology To Use For Your New Project
Often times when starting a new project, deciding which technology to use is the hardest part. Should you use that new fancy tech that everyone has been raving about? Should you use the same framework you have been using for the last 6 years?

Custom Angular Data Store
Learn how to create a custom Angular data store as an alternative to NGRX and NGXS for small to medium sized applications

Deploy NestJS API to Linux App Service on Azure
A step-by-step guide for deploying a NestJS API to Azure Linux App Service using Azure DevOps pipelines, including build and release configuration.

Angular Role Authorization Using Route Guards
Learn how to implement role-based authorization in Angular using route guards to restrict access to certain parts of your application based on user roles.

Internet Explorer toLocaleDateString Formatting
Quick summary and fix for toLocaleDateString not formatting dates correctly in Internet Explorer - specifically in calls to an API

Multi-line JSON Strings in Typescript
Learn how to handle long JSON strings in TypeScript when dealing with TSLint max-line-length rules and maintain valid JSON parsing.

Making a Custom Angular Quickstart Template
One of the most time consuming aspects of starting a new angular project is getting the app to a state where you can actually start doing real development. Making a custom Angular quickstart template can really kick start a new project.

Creating VS Code Snippets
Any time you find yourself typing the same code, or copying and pasting the same code, it might be worth the small amount of time to set up a VS code snippet.

VS Code Tips and Tricks
Of all the IDEs I have used, VS Code quickly became my favorite for web development. Here are a few tips and tricks on ways to improve your effectiveness using it and make your job easier.
