.net

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

Posts in this series: Part 1: Hash tables Part 2: .NET implementation Part 3: Built-in GetHashCode Part 4: Custom GetHashCode General guidelines This is the last part in the series about the Dictionary class and the GetHashCode method. In this »

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

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

Posts in this series: Part 1: Hash tables Part 2: .NET implementation Part 3: Built-in GetHashCode Part 4: Custom GetHashCode Introduction In the previous two posts we looked at the basic concepts behind the hash map data structure, and checked »

Back to basics: Dictionary part 2, .NET implementation

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

Posts in this series: Part 1: Hash tables Part 2: .NET implementation Part 3: Built-in GetHashCode Part 4: Custom GetHashCode Introduction Last time we saw an overview about the basic concepts behind a hash map. In this post we will »

Back to basics: Dictionary part 1, hash tables

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

Posts in this series: Part 1: Hash tables Part 2: .NET implementation Part 3: Built-in GetHashCode Part 4: Custom GetHashCode Introduction Recently I came across a situation in which I should have known the details about how a .NET Dictionary »

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 »