Tag: Dotnet

Creating a .NET Core 3.0 F# Console App

This is part 1 in a new tutorial series on creating a genetic algorithm in F# and .NET Core 3.0. This tutorial is focused on creating a new console application and learning some of the basics of F#. By the end of this tutorial you should be able to: Understand the […]

A Love Letter to .NET

With Microsoft’s official release of .NET Core 3 today, I want to give you my perspective on .NET and tell you how the platform continues to innovate solutions to modern problems. I’ve been using .NET since beta 2 of the framework back in 2001 and have seen a lot of change over the […]

Discriminated Unions in C# using OneOf

Ever wish you could act on different types of variables — effectively switching by object type and taking different action depending on which class is present? Discriminated Unions from functional programming languages offer an answer to this. In this article I explore the good and bad of Discriminated Unions in C# and […]

Safe .NET Feature Flags with FeatureToggle

Yesterday I wrote on Feature Flags in a largely language-neutral overview article. Today I want to discuss my library of choice for Feature Flags in .NET applications: FeatureToggle by Jason Roberts. Feature Toggle is a very small and dedicated library dedicated to a variety of flexible feature toggle variations. In Feature […]

Mocking Data with Bogus

Ever needed a bunch of random data for testing, UI prototyping, or even as part of an application? I did, and I found a good option to generate it for .NET applications. Bogus is loosely based off of the Faker library for PHP and differs from testing libraries like AutoFixture by […]

Creating a .NET Core API

This article will walk you through some simple steps in creating, running, and testing a new ASP .NET Core Web API. Prerequisites I will be using .NET Core 2.1 as it’s what I have installed on my machine, though today Release Candidate 1 of .NET Core 3 came out. To get started: Download […]

Action-Oriented C#

Five years ago I hit a plateau. My code hit a certain level of quality and flexibility and stopped improving. Here’s how I used aspects of functional programming to keep climbing. My code was pretty SOLID, but there was still a lot of very similar code, despite actively trying to […]