Blog posts

Vue Components

Components are Vue Instances

Keep reading
What is the Guid in .NET?

After having done some online reseach I found that a Guid in .NET is probably a UUID version 4. Let's put that to the test.

Keep reading
ASP.NET Core API Unit Tests

ASP.NET Core API Controllers are just classes, which means they can be unit tested.

Keep reading
Exception handling

A couple of weeks ago I had a discussion with one of my colleagues about exception handling. What we agreed on is that an exception should be thrown when an event occurs the system cannot recover from. Even so, exception handling is often used to pass.

Keep reading
ASP.NET Core integration tests

Integration tests ensure that an app's components function correctly at a level that includes the app's supporting infrastructure, such as the database, file system, and network. ASP.NET Core supports integration tests using a unit test framework with a test web host and an in-memory test server.1

Keep reading
ASP.NET Core seeding the database

It can be useful to seed the database with initial data. In this post we'll take a look at one way of achieving this.

Keep reading
Exception handling in UML Sequence Diagram

UML provides neither notation to model exception handling in sequence diagrams nor any reasoning why it is absent. Some clumsy approaches to model try-catch blocks are by utilizing combined fragments - alt (alternatives) and breaks, while adding stereotypes for reply messages representing thrown exceptions. There are several proposed notations for exception handling. 1

Keep reading
VS Code Extensions

One of the many great things about VS Code is it's extensibility, and the many extensions that are out there in the marketplace. This is a list of extensions I use and wanted to share with you.

Keep reading
VS Code Settings

VS Code is very configurable. In this post I'll share the configuration I like to use.

Keep reading
Useful links

This page contains some useful links that I personally use.

Keep reading
Wyam, Azure DevOps and GitHub Pages

Publishing a static site with a static content generator can be fully automated. In this case I'm using Wyam, a static site generator, GitHub Pages for hosting and Azure DevOps for build and deployment. Of course there are a ton of other ways to do this, but right now I'll show you the way that I chose to use.

Keep reading
Cake

This page contains some snippets and links I refer to when I'm creating Cake scripts. Most of this information can be found on the Cake website, but this should give a better overview of some things I personally use.

Keep reading
Creating styled boxes for a Wyam site

Sometimes you want to indicate a piece of information is more important then the rest. To do this you can create styled boxes with CSS. I used an example from madcapsoftware.com and applied it to Wyam.

Keep reading