IdentityServer3 with WindowsAuthentication with ASP.NET WebApi & ASP.NET & WPF App

In the recent month I was working on our identity system. The main problem was that we have larger range of application types. This blogpost demonstrate how to use a WindowsAuth IdentityProvider in ASP.NET MVC and WebApi and inside a WPF App in combination with IdentityServer3.

Posted on 30 Aug 2017 by Robert Muehsig


How to convert .crt & .key files to a .pfx

If you are dealing with SSL certificates and want to use them with IIS you will need a .pfx file. Some cert companys will just issue a .crt and .key file, but don't worry: Converting them to a PFX is easy.

Posted on 31 Jul 2017 by Robert Muehsig


Non-cryptographic hash functions for .NET

If you are using crypto-hash functions for non-crypto purposes you might want to take a look at faster and 'better' alternatives.

Posted on 30 Jun 2017 by Robert Muehsig


Using Visual Studio Code & Team Foundation Version Control (TFVC)

See how to use Visual Studio Code with a TFVC based repository.

Posted on 29 May 2017 by Robert Muehsig


.NET CultureInfo in Windows 10

See how the .NET CultureInfo behavior has changed with Windows 10

Posted on 23 Apr 2017 by Robert Muehsig


How we moved to Visual Studio 2017

Luckily this is just a short recap post how we moved successfully to Visual Studio 2017

Posted on 27 Mar 2017 by Robert Muehsig


HowTo: Get User Information & Group Memberships from Active Directory via C#

This blogpost shows how to read data from an Active Directory - including all group memberships of a given user via the Token-Group attribute.

Posted on 02 Mar 2017 by Robert Muehsig


Create NuGet packages with Cake

After building & running tests we might want to take a look at creating actual NuGet packages with Cake.

Posted on 13 Feb 2017 by Robert Muehsig


Build & run xUnit tests with Cake

Let's have a look deeper look at Cake and build some xUnit tests with it!

Posted on 07 Feb 2017 by Robert Muehsig


GitHub API: Create or update files

Let's explore Octokit.NET and changing some files in our GitHub Repos.

Posted on 02 Jan 2017 by Robert Muehsig


DbProviderFactories: Write database agnostic ADO.NET code

If you need to write 'low-level' database code and don't know the target database, the DbProviderFactory might help you.

Posted on 31 Dec 2016 by Robert Muehsig


Enable SSL with custom domains on GitHub Pages via Cloudflare

Encryption is important these days, but is not out of the box possible with a custom domain on GitHub Pages. I will show you how to enable SSL with Cloudflare - it is super easy and free.

Posted on 14 Nov 2016 by Robert Muehsig


Writing loops in T-SQL

This blogposts shows how to use CURSORS in T-SQL to iterate over results in T-SQL.

Posted on 31 Oct 2016 by Robert Muehsig


Lets convert a WPF app to the Universal Windows Platform

If you heard about 'Project Centennial' and wonder how to convert your WPF app to an UWP you might want to take a look at this post.

Posted on 30 Sep 2016 by Robert Muehsig


TFS 2015: Adding a new Windows Build Agent

I stumbled upon the new (now more or less sane) TFS 2015 build system and needed some minutes to grasp how to get started - time for a blog post.

Posted on 10 Aug 2016 by Robert Muehsig


CAKE: Building solutions with C# & Roslyn

Instead of writing MSBuild-XML or F# build scripts with FAKE, let's see how a C# based build system works. So, let's play with CAKE - C# Make.

Posted on 09 Jul 2016 by Robert Muehsig


FAKE: Build ASP.NET projects with web.config transformation (and without knowing a tiny bit of F#)

Using FAKE to build console or desktop applications is quite easy, but for ASP.NET projects a web.config transformation might be needed. This post will show you an easy solution with FAKE.

Posted on 12 Jun 2016 by Robert Muehsig


Copy to clipboard with Javascript

It's 2016 and even if we don't have a proper Clipboard API in the modern browser world there are ways to copy text to the users clipboard with pure Javascript.

Posted on 12 May 2016 by Robert Muehsig


Get the Windows 10 or 8 accent color in WPF

With Windows 8 and 10 users can choose a 'accent color' and this blogpost will show you how you can use the color in your WPF application.

Posted on 26 Apr 2016 by Robert Muehsig


Debugging .NET based Windows Error Reports (WER)

Every time a Windows App crashes a 'Windows Error Report' is generated. The report contains some useful information for debugging your application. The blogpost will show you how to read the report data.

Posted on 23 Mar 2016 by Robert Muehsig