Using the Kentor.AuthServices SAML2 Service Provider with Thinktecture IdentityServer 3 bridges the gap between SAML2 and OAuth2/OpenID Connect. Thinktecture IdentityServer 3 support clients using the modern OAuth2 and OpenID Connect protocols. It can either have a local account database through e.g. ASP.NET Identity, or use external authentication services. By registering Kentor.AuthServices with IdentityServer, IdentityServer can… Continue reading SAML2 for Thinktecture IdentityServer 3 with Kentor.AuthServices
Three Years of Passion for Coding
In November 2011, I decided to try blogging and created the Passion for Coding blog. Three years and 186 published posts later, my blog has grown into a resource for programmers from all over the world. I would like to thank you all for reading, commenting and sharing my posts. Without readers, blogging would be… Continue reading Three Years of Passion for Coding
Internal Classes and Members
What’s the use for the internal access modifier in C#? It’s not as common to use as public, protected or private. It wasn’t until I started some serious stand alone library work that I fully started to appreciate and use internal. All was fine and I was happy with my use of internal. Until I… Continue reading Internal Classes and Members
Code Coverage and Nullable
Comparisons of Nullable<T> types and code coverage can give some unexpected, but logical results. Earlier this week I posted a small Puzzle showing the problem. The light blue shade of the return statements indicate that they have been executed. So both branches of the if statement have been covered. But the light pink shade of… Continue reading Code Coverage and Nullable
A Code Coverage Puzzle
A simple comparison is marked as not completely covered, although both branches of the if statement have been covered!?! How is that possible? This is a small function I’ve created, which is also covered by unit tests. The light blue shade of the return statements indicate that they have been executed. So both branches of… Continue reading A Code Coverage Puzzle