Featured Articles

Featured Articles

Introduction As APIs and web services become more and more prevalent, particularly in the Enterprise, there is an increasing need to look at ways to secure the more important interfaces, particularly if they enable access to sensitive data. Recently, I’ve been investigating ways to secure ASP.NET Web APIs using Active […]

Securing a Web API with ADFS 3.0 and JWT tokens

Introduction In this post, we’ll look at configuring a Windows Failover Cluster and then install an MSMQ role onto the cluster.  If you’re looking for how to configure MassTransit 2.x against an existing clustered MSMQ role, you might want to skip ahead to Part 3 (coming soon). Disclaimer: I’ve personally […]

High Availability: MassTransit 2.x with Clustered MSMQ – Part 2

So this article isn’t going to be for everyone, however I suspect it will be somewhat appealing for anyone who is looking at Windows Server 2012 R2’s Failover Clustering capability.  Introduction I’m going to write this in a series of posts, as I think there’s also some merit in looking […]

High Availability: MassTransit 2.x with Clustered MSMQ – Part 1

image_thumb.png 3
    +   In this article, I’m going to take a look at some ways you could generate documentation for ASP.NET Web API.  Unless you’ve never generated a Web API website, you’ll be aware that the default templates already include functionality to generate documentation for the API which you might implement, […]

Documenting a ASP.NET Web API with Swagger

Introduction In recent times, I’ve become very intimately acquainted with OpenID Connect, OAuth2 as well as SAML, JWT, WS-Federation and more.  It’s a complicated world. Since I dwell amongst the Microsoft ecosystem, I’m very experienced with Active Directory Federation Services (AD FS) which in its latest version supports OAuth2 endpoints […]

Identity Server – An Introduction

image_thumb.png 2
Today I went on an unusual journey, and it involved paying the price for configuring Microsoft’s web server (specifically, IIS 8.0 and 8.5) with scant regard for why it works the way it does.  Let me start at the beginning.. As of Internet Information Services (IIS) 8.0 (Windows Server 2012) […]

Server Name Indication (SNI) – a journey

image_thumb.png 4
Windows Server 2012 R2 comes with IIS 8.5, and in this release an issue has been found in relation to the Dynamic Compression module.  The module sets the “Vary” header which is used to specify caching properties that the browser uses to determine whether the response should be cached or […]

IIS 8.5 Dynamic Compression Issue

Welcome, 2015 – may you be an improvement on your predecessor. Today’s article focuses on the deceptively non-trivial task of reading from the Windows Event Logs using the Microsoft .NET Framework.  For those who haven’t looked there in a while, here’s a quick look at the Event Viewer: The Windows […]

Programmatically Reading Event Logs

Hello there.  I’ve been spending a lot of time of late trying to develop a solution to a very obscure problem scenario.  The entire problem itself is outside the scope of this article – and to be honest, probably wouldn’t be terribly relevant to many – however, I felt there […]

Getting to know Cross-Origin Resource Sharing (CORS)

Introduction We have a requirement at the moment to modify AD FS 3.0 (which is a role in Windows Server 2012 R2) to allow users to authenticate without having to specify the domain name.  This is for two reasons – the current external system doesn’t have a requirement to prefix […]

Using alterative AD attributes to authenticate to AD FS 3.0

image_thumb.png 3
Introduction Hello and apologies for the long delay between articles, I am now returning to the Entity framework.  Following on from the previous article (Entity Validation) I’m back to review the latest edition of the generic data access class. In the time between my original series of articles concerning disconnected […]

Update: Entity Framework Generic Data Access