Announcing MicroBus 3

Awesome! MicroBus 3, what does that mean? Well, I've been using Semver (mostly, sometimes a little Ferver creeps in) for my package versions so it means in this release there's a few breaking changes. Now, first off, this is a much bigger update than 2.0 was and redefines a few…

Porting MicroBus to DotNetCore

When the new .net core reached RC it looked like the perfect time to start to port some of the Nuget packages I've made starting with MicroBus. I've been watching most of the aspnet standups so I've always been relatively familiar with what was going on, but there were still a…

Querying AD Groups with PowerShell

Getting the list of the AD groups if nice and easy in PowerShell. All the CmdLets are located in the module which you might not have installed on your system.To install the module you'll need these Windows featuresThen you can import the moduleThen query the user you want to see…

Building a MicroBus application

I often like to think of software architecture as the art of structuring software. It's goal being to meet requirements while at the same time being resistant to falling into the state most commonly referred to as a Big Ball of Mud. To fight back against this, applications can…

Generating Read Models with Event Sourcing

Event sourcing is a very powerful tool that allows you to capture information you didn't even know you wanted. One of the things you usually find yourself doing when event sourcing is applying the principle of CQRS. CQRS effectively splits your application into two parts, a read…

The Perfect Pot

Whether it's building software, a business, or some other project, chances are you'll almost never get it right the first time. Years ago, I heard a story of a pottery teacher that tried an experiment on the class to find out the best way to teach pottery to the students.A high…

Calling a Rest (Json) API with PowerShell

PowerShell makes working with rest API's easy. In PowerShell version 3, the cmdlets and where introduced. These cmdlets are a huge improvement coming from the .NET model you had to work with previously turning a request into a concise one liner similar to curl (Which is also an…

MVC Architecture

The typical scaffolding tool and sample applications for MVC web apps are usually based on simple CRUD like systems. They'll, usually, have Views written in a templating language, with some kind of ORM and Models for persistence and Controllers to tie the two together.But there's…

Avoid null with Containers

In C# It's often recommended that you should avoidi using nulls wherever possible. Avoiding nulls is a great concept that can simplify your code. Even so, nulls (or some such equivalent concept) will always have their place, such as to convey data is not available.However, one…

Example Web.Config files (3.5 and 4.5)

These are the default generated Web.Config files from Visual Studio 2013 Update 3.Web.Config for .NET Framework 4.5.1Web.Config for .NET Framework 3.5Other variations are all quite similar but if you think I'm missing one that's useful leave a comment.Web.Config for .NET…