XML deserialize to abstract class, interface or base class

Playing around with the .NET XmlSerializer and deserialize a given XML to a abstract class, interface or a base class.

Posted on 25 Oct 2015 by robert.muehsig

Nothing to do next weekend? Come to Leipzig and join the Developer Open Space 2015

Quick Facts: 16.10 - 18.10.2015 in Leipzig, Germany = Nerd-Talk

Posted on 14 Oct 2015 by robert.muehsig

WPF, Chrome Embedded and WebApi Self-hosted

... or how to ditch XAML and use Web-Technologies for desktop apps.

Posted on 29 Sep 2015 by robert.muehsig

FAKE: Running MSTest Tests with FAKE without knowing a tiny bit of F#

Of course FAKE can also run MSTests just like xUnit tests.

Posted on 30 Aug 2015 by robert.muehsig

Reg.exe or how to import .reg files without admin privileges

Ever tried to import a registry key, but don't have admin privileges - reg.exe might help you.

Posted on 11 Aug 2015 by robert.muehsig

HowTo: Write to Azure Blob Storage

How to save a simple text file in Azure Blob Storage. As you might already know: It's easy.

Posted on 06 Aug 2015 by robert.muehsig

Semantic Versioning in a nutshell

TL;DR: Instead of Major.Minor.Patch say Breaking.Feature.Bugfix

Posted on 21 Jul 2015 by robert.muehsig

Using PCLs in ASP.NET

... or how to fix 'The type System.Object is defined in an assembly that is not reference'.

Posted on 14 Jul 2015 by robert.muehsig

FAKE: Create NuGet Packages without knowing a tiny bit of F#

After building and testing we take the next step: Building an actual NuGet Packages with FAKE.

Posted on 21 Jun 2015 by robert.muehsig

Create and read NuGet Packages via Code

NuGet all the things - but this time with code.

Posted on 03 Jun 2015 by robert.muehsig

Microsoft Web Camp Talk in German about ASP.NET now and ASP.NET 5

I did two sessions during the Web Camp in Zurich and just want to share my slides and code.

Posted on 19 May 2015 by robert.muehsig

Using Basic Authentication in ASP.NET WebAPI

Back to the roots: How to use Basic Authentication to protect your ASP.NET WebAPI

Posted on 17 Apr 2015 by robert.muehsig

JSON.NET deserialize to abstract class or interface

If you are using JSON.NET with interfaces or abstract classes and try to deserialize it you might know the lovely 'Type is an interface or abstract class and cannot be instantiated.'-exception. Let's try to fix this...

Posted on 30 Mar 2015 by robert.muehsig

Keep your test data with your tests

Unit Testing is great, but mocking the result of each 3rd party call can be a pain. Why not embedding actual real world test data inside your test data and keep you sane?

Posted on 03 Mar 2015 by robert.muehsig

FAKE: Running xUnit Tests with FAKE without knowing a tiny bit of F#

After building should be the next priority to run tests (which we all have, right?). So how can I run xUnit tests with FAKE?

Posted on 24 Feb 2015 by robert.muehsig

FAKE: Building C# projects without knowing a tiny bit of F#

I was looking for a alternative to pure MSBuild and heard of FAKE, which stands for 'F# Make - A DSL for build tasks.'. See how to get stuff running (... building...) even if you don't know anything about F# (like me).

Posted on 23 Feb 2015 by robert.muehsig

ESENT Database Viewer: ESENT Workbench

If you are working with the (very very old) ESENT Database and you are looking for a simple tool to get a look at the raw data ESENTWorkbench might be interesting for you.

Posted on 22 Feb 2015 by robert.muehsig

Developer Conference in Berlin: Spartakiade

If you are in Berlin around the date 21.-22. March you can attend a pretty nice conference.

Posted on 17 Feb 2015 by robert.muehsig

Human readable and editable config files with YAML

What is YAML and how to serialize and deserialize stuff with YamlDotNet.

Posted on 09 Feb 2015 by robert.muehsig

Using FontAwesome with WPF

How to get the beloved Icon-Font inside your WPF App.

Posted on 07 Jan 2015 by robert.muehsig