Containerizing Blazor Apps
By: Jeremy Morgan
Blazor is a hot new front-end development framework from Microsoft. Since it contains two different hosting models, deploying them to a container can be different depending on the type.
Moving to .NET Core: HttpModules to Middleware
By: Neil Sorensen
With .NET Core, Microsoft introduced a new way to build pipeline behavior—middleware. Middleware solves many of the challenges with HttpModules, and makes building a custom request pipeline easy. Converting our custom behavior to middleware was fairly easy, but there were a few surprises waiting for us.
Different Types of Unit Tests
By: Jonathan Turner
There are lots of different types of tests. There are lots of different types of automated tests. In this post we'll talk about unit tests, specifically a few different types of unit tests and when you might want to use each.
Testing HTTP Calls
By: Allan Stewart
Making HTTP calls to get resources or call APIs is a staple of software development. But if you do not properly abstract the request construction and response handling from the HTTP library that you use, it can be extremely difficult to test.
Property-based TDD
By: Matt Baker
Property-based testing is a type of testing that uses randomly generated inputs to test an attribute or characteristic of the subject under test. You can contrast this with the more traditional example-based testing approach, where you provide specific test cases for your subject under test. Typically, TDD is done using example-based testing. What happens when we use property-based testing in a TDD workflow?
Immutable Objects in C#
By: Justin Hewlett
You may have heard about the benefits of immutable objects, especially from the functional programming crowd. But creating and working with immutable objects in a language like C# can be tricky.
Removing Null from C#
By: Eric Andres
Null references can be a source of subtle bugs in software. Maybe is a tool that, while deceptively similar, provides much greater safety.