Skip to main content

Recently Updated Pages

Consuming NET Core Background Service with DI

.NET

To properly consumes a background service from a controller or another service, it must be regist...

Updated 1 year ago by glwhite

Consuming Services Inside Startup

.NET

During Startup.ConfigureServices During application startup, the Startup.ConfigureServices metho...

Updated 1 year ago by glwhite

C# Disposed in Derived Types

.NET

People make lots of references to Microsoft articles about how to properly handle Dispose in deri...

Updated 1 year ago by glwhite

Layout Service

Angular Component Book

The layout service provides the means to display and swap in outer-frames of an app. This servic...

Updated 1 year ago by glwhite

Strongly Typed Constant Parameters

.NET

You will eventually run into the need for a function to accept a restricted set of value for a pa...

Updated 1 year ago by glwhite

PostGreSQL .NET DateTime Usage

PostgreSQL

.NET EF Core 6 made a breaking change to how DateTime is stored in PostGreSQL. This article expl...

Updated 1 year ago by glwhite

PostgreSQL Permissions

PostgreSQL

Here are three major points you need to understand about object ownership: Only a superuser ...

Updated 1 year ago by glwhite

Return Multiple Values from Async Method

.NET

Async method cannot have Ref or an Out parameters. So, we cannot pass back data from them through...

Updated 1 year ago by glwhite

Create PFX Cert File (for IIS)

System Administration

Windows IIS requires a pfx file when importing an SSL certificate. This can be created from a cr...

Updated 1 year ago by glwhite

HowTo Retrieve Key and Cert from PFX

System Administration

Here’s a good article on how to export SSL certificates, extract the key and certificate, and imp...

Updated 1 year ago by glwhite

Six Ways to Multi-Thread

.NET

Six ways to initiate tasks on another thread in .NET

Updated 1 year ago by glwhite

Kali in VMWare

System Administration

Here are some things for installing Kali in a VMWare VM. Adapted from here: https://www.kali.org...

Updated 1 year ago by glwhite

NET Core Error Responses

.NET

Here’s a decent mechanism for returning useful errors from a WEB API. Aside: We have a standing ...

Updated 1 year ago by glwhite

Dotnet Dev on Linux

.NET

To create a new project at the current folder: dotnet new console --framework net6.0 --use-progr...

Updated 1 year ago by glwhite

Process Logging Behavior

.NET

Here’s my current conventions for logging in application processes. Logging features, here are i...

Updated 1 year ago by glwhite

Linux Disk Usage

System Administration

Linux has a few means to analyze a disk for space usage. One way, is a package called, ncdu. It...

Updated 1 year ago by glwhite

Jenkins References

Jenkins

Jenkins Tutorial — Part 5 — When Conditions Conditionals in a Declarative Pipeline Jenkinsfile ...

Updated 1 year ago by glwhite

Regex Notes

Other

Good site for testing Regex matching strings: https://regex101.com/r/iY5hU9/1

Updated 1 year ago by glwhite

NET Core Func Variables

.NET

Here are some use cases for a Func. Func as Method Callback If you want to have a lambda that y...

Updated 1 year ago by glwhite

Raspberry PI Notes

Raspberry PI

Here’s some references and notes for PI service and IO stuff. NET Core and GPIO on the Raspberry...

Updated 1 year ago by glwhite