Skip to main content

Recently Updated Pages

Using Visual Studio with Git

.NET

Visual Studio brings in lots of files and folders that don't belong in a checked in repository. ...

Updated 4 months ago by glwhite

Unit Testing Conventions

.NET

Suppress Async Warning Project-Wide Since we have several calls to base classes for diagnostics ...

Updated 5 months ago by glwhite

EF - Backend vs .NET Datatypes

.NET

Here's a list of what datatypes that Entity Framework uses to store .NET datatypes in a couple di...

Updated 5 months ago by glwhite

EF - DataContext Attributes

.NET

When creating a provider-scoped data context (one for a specific backend), you need to decorate t...

Updated 5 months ago by glwhite

Unit Tests with PostgreSQL Backends

.NET

In order to easily stand up a Postgres database for unit and integration testing, we need a class...

Updated 5 months ago by glwhite

HowTo Make .Net Desktop App DPI Aware

.NET

For a better desktop UI experience, it is necessary to have access to the current screen size and...

Updated 5 months ago by glwhite

HowTo Access DI Services

.NET

NOTE: If you are looking for how to generate an instance of ServiceProvider, outside of NET Core ...

Updated 5 months ago by glwhite

Net Core DI Truths

.NET

References: NET Core DI Best Practices Here’s a list of behaviors of the NET Core DI registry: ...

Updated 5 months ago by glwhite

IServiceProvider vs IServiceScopeFactory

.NET

References: Net Core DI Truths Internet’s Claim of Anti-Patterns Contrary to what the internet ...

Updated 5 months ago by glwhite

How to Create IOptions Instance

.NET

It’s pretty standard for classes to require configuration in their constructors in the IOptions f...

Updated 5 months ago by glwhite

Overview

Object Management Stack

This is a series of pages that describe a generic object management stack. The idea being that i...

Updated 6 months ago by glwhite

Object Ids

Object Management Stack

Every object is uniquely identifiable, by a standardized UUIDv7. This datatype works across MSSQ...

Updated 6 months ago by glwhite

URIService Behind Hostname Separated NGINX Server Blocks

.NET

If you have an API service that is called by multiple server blocks of an NGINX proxy, and the se...

Updated 6 months ago by glwhite

Getting Correct Scheme, Host, Port Behind a Proxy

.NET

When running an API behind a reverse proxy, such as NGINX, the service will not, by default, see ...

Updated 6 months ago by glwhite

NGINX: Deploy SSL Certificate

System Administration

Here's quick instructions for deploying an SSL key/cert pair to an NGINX instance. NOTE: These s...

Updated 6 months ago by glwhite

How to Setup SSH Key Authentication to Linux

System Administration Ubuntu Server Setup

This how to consolidates several aspects of setting up SSH key access to a Linux server. NOTE: W...

Updated 6 months ago by glwhite

Vault as Root CA

System Administration HashiCorp Vault

Here are steps you can follow to setup a vault instance as a Root CA. NOTE: This page assumes th...

Updated 6 months ago by glwhite

How to Add Root CAs to Ubuntu

System Administration

Reference: https://ubuntu.com/server/docs/install-a-root-ca-certificate-in-the-trust-store Insta...

Updated 6 months ago by glwhite

Docker Commands

System Administration

Here’s a list of commands to remember for docker administration. List Containers To list all do...

Updated 6 months ago by glwhite

Target Host Errors

HowTo Ansible

Missing Python Libraries If you have an Ansible playbook that is failing on a target host, it's ...

Updated 6 months ago by glwhite