michaelnthiessen.com · Jun 10, 2019
By Michael Thiessen
By Michael Thiessen
.NET Core provides a clean configuration system and in ASP.NET Core that code is automatically configured for you. In test and other non-Web projects however you have to manually configure the configuration provider yourself. In this post I look at a couple of ways to set up a configuration provider both using raw configuration objects or by explicitly configuring through the depedency injection system.
Learn how to quickly add a favicon to your Gatsby site by utilizing React Helmet
This post contains examples of how to generate a SHA 256 and SHA 512 hash key with the examples in C# and VB.NET. This solution matches the expected result for Ingenico's implementation for their payment gateway.
Adding strongly typed configuration settings and injected them through dependency injection.
If you are running an ASP.NET Core application from Docker and connecting to a SQL Server running on your PC then you might find you can't connect to it. In this post we'll look at what you need to do to make sure your containerized app can access SQL Server hosted on your own PC.
An exception is thrown when an error is encountered in a running application, whether from bad code or bad user input. This post describes when and how to raise the ArgumentException and InvalidOperationException standard .NET exception types.
Let's take an existing synchronous ASP.NET web app and begin refactoring it to use asynchronous programming. Sample C# project included.
You can now view clipboard ring history in Visual Studio 2019. Clipboard ring is all about copy multiple code block, and past them as and when need
A few days ago, we announced the general availability of Visual Studio 2019. But I’ve been using Visual Studio 2019 exclusively since the first internal build – long before the release of Preview 1 in December of 2018. During this time,