Running integration tests for ASP.NET Core apps

One of the things I really disliked about the previous versions of ASP.NET is that there’s no real good way to run integration tests on your web application. You basically have to set up a full webserver to run integration tests.

Of course if you use Web API 2 or MVC 5 you have the official testhost. It solves a lot of problems, but the API is a mess to work with and very inflexible.

The story for ASP.NET Core is quite different. You can now do a lot more in your testcode and it’s a lot easier to set up. Let’s take a look at what integration testing in ASP.NET core looks like.

Read More

Why you should try F#

A few weeks ago I gave F# a shot, I have my personal reasons for doing this. But I can imagine you are confused about this sudden move. Why should you even try this weird language? Almost nobody uses it!

You are right, not a lot of people use F# in their projects. But there are a few reasons why I think you should give it a shot for a hobby project.

Read More

Getting started with F# on your mac

Functional programming is becoming a thing. More and more people are talking about it. I used to use Scala for a lot of projects, but always wondered about F#.

Last week I swallowed the blue pill and dived into this remarkable language. As with with all languages I tried to get F# up and running on my Macbook.

Here’s what happened and what you need to know if you want to give F# a try on your own mac computer.

Read More