Jumpstart F# web development: F# with Suave.IO on classic .NET

February 11, 2017 · f# suave .net

In the second part of the series we take a look at how we can develop a web application using Sauve on the classic .NET Framework. Suave is a lightweight web framework and server, which was implemented in F# from »

Stubbing service dependencies in .NET using Stubbery

June 12, 2016 · .net .net-core asp.net asp.net-core testing integration-testing

Introduction When writing integration tests for a service (especially if we are running a long, end-to-end test), it often causes a problem that the external dependencies of our service fail. Let's say we have a service handling customer payments and »

ASP.NET Core 1.0: hints to get started

February 14, 2016 · asp.net c# .net .net-core asp.net-core dnx

I recently started working on implementing a Web Api application using ASP.NET Core 1.0, running it on Linux with the CoreCLR. There have been many changes introduced in this new version of ASP.NET, and there are also »

Simple client-side compression for Couchbase - with benchmarks

January 16, 2016 · c# .net couchbase

Introduction In the last post I described the quirks and problems I encountered during getting started with using Couchbase Server in a production environment. When we are storing complex objects, by default the .NET Couchbase SDK uses Json.NET serialization. »

Couchbase Server: tips for troubleshooting issues

January 10, 2016 · c# .net couchbase

Recently at work we started using Couchbase Server to replace a rather outdated caching solution in our architecture. This was the first time I had to use Couchbase and its .NET SDK, and I have encountered a couple of issues »

Back to basics: Dictionary part 4, custom GetHashCode

October 25, 2015 · c# .net basics computer science

General guidelines This is the last part in the series about the Dictionary class and the GetHashCode method. In this post we'll take a look at what to look out for when implementing a custom GetHashCode method. In the previous »

Back to basics: Dictionary part 3, built-in GetHashCode

August 29, 2015 · c# .net basics computer science

In the previous two posts we looked at the basic concepts behind the hash map data structure, and checked out how it is implemented in the Dictionary class of the .NET Framework. Today we'll take a look at a very »

Back to basics: Dictionary part 2, .NET implementation

August 15, 2015 · c# .net basics computer science

Introduction Last time we saw an overview about the basic concepts behind a hash map. In this post we will take a look at the .NET Dictionary class, and see what type of hash map it is and how the »

Back to basics: Dictionary part 1, hash tables

July 25, 2015 · c# .net basics computer science

Recently I came across a situation in which I should have known the details about how a .NET Dictionary (and hashmaps in general) worked under the hood. I realized that my knowledge about this topic was a bit rusty, so »

How to store state during SpecFlow tests?

June 6, 2015 · visual studio specflow c# .net

Introduction SpecFlow is an implementation of the Gherkin language for the .NET Framework. SpecFlow is to .NET what Cucumber is for the JavaScript ecosystem. It is a way to write tests in a DSL that is easily readable (and maybe »