Skip to main content

Recently Updated Pages

Unit Test Cheat Sheet

.NET

Here’s a list of elements for unit testing in Visual Studio using MSTest. Documentation for Visu...

Updated 2 months ago by glwhite

C# Unit Tests with Async Task Signature

.NET

When writing unit tests, it’s good to standardize as much as possible.This includes the method si...

Updated 2 months ago by glwhite

Unit Testing for an Exception

.NET

Sometimes, a unit test needs to ensure a particular exception type occurs. Here’s how to check t...

Updated 2 months ago by glwhite

NET Core Test API

.NET

We have a standing REST API with various endpoints for simulating different method types, return ...

Updated 2 months ago by glwhite

Long Numbered List Randomly Changes

TODO-InBox

Documentation Open the Network VLANs listing, and add a new entry for the VLAN. Main Sw...

Updated 2 months ago by glwhite

WYSIWYG Numbered List Resetting Issue

TODO-InBox

Some list number text, starting a numbered list. More list number text, continuing the same nu...

Updated 2 months ago by glwhite

#nullable Warning

.NET

If the compiler is giving you warnings about nullable reference types, then you may need to enabl...

Updated 2 months ago by glwhite

VS IDE Suppress Compiler Warnings Project Wide

.NET

There are some cases where it is necessary to suppress IDE compiler warnings that apply to the en...

Updated 2 months ago by glwhite

Unit Testing Conventions

.NET

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

Updated 2 months ago by glwhite

NET Core Background Services

.NET

NOTE: Refer to this page for how to register and consume a background service: Consuming NET Core...

Updated 2 months ago by glwhite

Unit Testing with IServiceProvider

.NET

When you create unit tests for class types that directly use DI to retrieve dependencies, you wil...

Updated 3 months ago by glwhite

Duplicating .NET Core DI

.NET

NOTE: If you are looking for how to access DI services, see this: HowTo Access DI Services Here ...

Updated 3 months ago by glwhite

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 3 months ago by glwhite

Consuming Services Inside Startup

.NET

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

Updated 3 months 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 3 months ago by glwhite

Docker Space Full

System Administration

Here are some things to check on when the disk on a docker host gets full sudo docker system p...

Updated 3 months 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 3 months 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 3 months 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 3 months ago by glwhite

PostgreSQL Permissions

PostgreSQL

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

Updated 3 months ago by glwhite