The Singleton Pattern is one of the most popular design patterns in software development. In large part, this is due to two key points. First, it is… Read more “Implementing the Singleton Pattern in ASP.NET Core”
Tag: .NET
Decompiling Syntactic Sugar in C#
Over the last couple years, there have been a few new features introduced into C# that are considered “syntactic sugar”. These types of enhancements are great as… Read more “Decompiling Syntactic Sugar in C#”
.NET Fundamentals, the Curious Case of the String Type
Strings are a fundamental component in software development. Most programming languages have the concept of a string. In .NET, strings are different than any other primitive type.… Read more “.NET Fundamentals, the Curious Case of the String Type”
Injecting a Factory Service in ASP.NET Core
As one of the original patterns outlined in the book “Design Patterns: Elements of Reusable Object-Oriented Software” by the “Gang of Four”, the factory pattern is the… Read more “Injecting a Factory Service in ASP.NET Core”
Building a Compatibility Shim with .NET Standard 2.0
Dying to get started with .NET Core but, have a couple lingering .NET framework libraries? Well there is hope. With .NET Standard 2.0, libraries that are compiled… Read more “Building a Compatibility Shim with .NET Standard 2.0”
Inject Multiple Service Implementations in ASP.NET Core
Most people are familiar using an IOC container to facilitate dependency injection in their applications. But have you come across a situation where you wanted to inject… Read more “Inject Multiple Service Implementations in ASP.NET Core”
Dependency Injection in ASP.NET Core with Scrutor
When registering types with an IOC container, configuration can get pretty unruly depending on the size of your project. One of the things I typically look for… Read more “Dependency Injection in ASP.NET Core with Scrutor”
Testing All the Things!
There have been a couple of times where I cut some of my unit testing short. Not because something wasn’t testable. Merely for the fact that my… Read more “Testing All the Things!”
3 Reasons to use Azure App Services
There are many different ways to host your web applications in Azure. The two most popular are Azure App Services (PaaS) and Azure VMs (IaaS). Whenever hosting… Read more “3 Reasons to use Azure App Services”
.NET, Docker, and Swarm OH MY! – Pt 2
This is the second post of a two part series on ASP.NET Core, Docker, and Docker Swarm. In our previous post, we created an ASP.NET Core Docker… Read more “.NET, Docker, and Swarm OH MY! – Pt 2”