Docker and Swarmkit – Part 6 – New Features of v1.13

In a few days version 1.13 of Docker will be released and among other it contains a lot of new features for the Docker Swarmkit. In this post I want to explore some of these new capabilities. In the last … Continue reading 

Posted in containers, docker, How To, introduction | Tagged , , | Leave a comment

Docker and SwarmKit – Part 5 – going deep

In this post we will work with the SwarmKit directly and not use the Docker CLI to access it. For that we have to first build the necessary components from source which we can find on GitHub. You can find … Continue reading 

Posted in containers, docker, How To, introduction | Tagged , , , | 1 Comment

How To Bootstrap Angular with Server Side Data

Today I needed to bootstrap our Angular 1.x Single Page Application (SAP) with some server side data. The data that I’m talking of is the set of feature toggles that are defined in our system. We need the value of … Continue reading 

Posted in AngularJS, How To | Tagged , | 2 Comments

CQRS/MediatR implementation patterns

Early on in the CQRS/ES days, I saw a lot of questions on modeling problems with event sourcing. Specifically, trying to fit every square modeling problem into the round hole of event sourcing. This isn’t anything against event sourcing, but … Continue reading 

Posted in CQRS, DomainDrivenDesign, MediatR | 11 Comments

Vertical Slice Test Fixtures for MediatR and ASP.NET Core

One of the nicest side effects of using MediatR is that my controllers become quite thin. Here’s a typical controller: Unit testing this controller is a tad pointless – I’d only do it if the controller actions were doing something … Continue reading 

Posted in ASPNetCore, MediatR, Testing | 8 Comments

Docker and Swarmkit – Part 4

So far we have experimented with Docker Swarmkit on our local development machine using VirtualBox as our playground. Now it is time to extend what we have learned so far and create a swarm in the cloud and run our … Continue reading 

Posted in containers, docker, How To, introduction | Tagged , , , | 2 Comments

Contoso University updated to ASP.NET Core

I pushed out a new repository, Contoso University Core, that updated my “how we do MVC” sample app to ASP.NET Core. It’s still on full .NET framework, but I also plan to push out a .NET Core version as well. … Continue reading 

Posted in ASPNetCore | 1 Comment

MediatR Pipeline Examples

A while ago, I blogged about using MediatR to build a processing pipeline for requests in the form of commands and queries in your application. MediatR is a library I built (well, extracted from client projects) to help organize my … Continue reading 

Posted in MediatR | 24 Comments

Docker and Swarm Mode – Part 3

Refresher In part 1 we have created a swarm of 5 nodes of which we defined 3 to be master nodes and the remaining ones worker nodes. Then we deployed the open source version of the Docker Registry v2 in … Continue reading 

Posted in containers, docker, Elasticsearch, How To, introduction | Tagged , , , , | 5 Comments

Use Docker to build, test and push your Artifacts

Sue is a software engineer at BetterSoft. She is in charge of starting a new project which includes building up the CI/CD pipeline for the new application her team will create. The company has established some standards and she knows … Continue reading 

Posted in CI/CD, containers, docker | Tagged , , , , | 2 Comments