Category Archives: Uncategorized

A Ports and Adapters implementation in C#

I’m currently working on an application built with the ports and adapters pattern in mind, sometimes known as Hexagonal or Onion architecture. The application has both data side adapters and client side adapters. If you’ve not done so already, please … Continue reading

Posted in Uncategorized | Leave a comment

OAuth2 and Open ID Connect – Part 2

Demo Project Walkthrough In part 1 we looked at how to use OpenID Connect and OAuth2 with Thinktecture’s Identity Server and how to use an access token to access a protected resource.  In this part we’ll have a look at … Continue reading

Posted in Uncategorized | Leave a comment

OAuth2 and Open ID Connect – Part 1

Integrating with Thinktecture Identity Server v3 My current project is looking to use OpenID Connect (oidc) and OAuth2 for authentication and authorization.  We’ve decided to start out using the open source .Net implementation from Thinktecture. We’ve got to a point where we … Continue reading

Posted in Uncategorized | Leave a comment

When should I use Dependency Injection

Last night I went to the Brighton Alt.net meeting for the first time in a while. It was good to spend a couple of hours discussing various .net related topics with some friendly likeminded people. One of the topics was … Continue reading

Posted in Uncategorized | Tagged , , , , , , | 4 Comments

Why I LIke Whitebox Testing

A couple of weeks ago I had a discussion with a colleague about some Specflow acceptance tests we were writing.  These are for an Azure Service Bus based integration solution and the feature we were testing publishes messages to the … Continue reading

Posted in Uncategorized | Tagged , , , , | Leave a comment

Writing Unit Tests is Quick and Easy

Writing a unit test should be done before you write your implementation. It should be quick and easy. Sometimes it may feel like writing your unit test is taking a long time. If you are writing your test first (like … Continue reading

Posted in Uncategorized | Tagged , , , | Leave a comment