Author Archives: maz100

About maz100

I'm interested in the music called jazz, photography, my wife and two daughters, food, wine, software design and furniture...to name but a few.

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 OpenID Connect – Part 3

Accessing a Protected Resource In this third and final article we’ll have a look at how to access a protected resource using an access token. In part 1 and part 2 we looked at how to authenticate and obtain an … Continue reading

Posted in Security | Tagged , | 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

Logging using Aspect Oriented Programming

In this article I’d like to discuss how to implement consistent logging as a cross cutting concern via Aspect Oriented Programming.  We’ll look at some code that achieves this and we’ll also consider some of the implications of using this … Continue reading

Posted in Aspect Oriented Programming | Tagged , , | 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

Test First Design Benefits

Why you should test implementation details. Continue reading

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

No, TDD isn’t dead, it just takes a bit of practice

In the recent ‘is TDD Dead‘ debates, DHH said that he felt TDD could lead to test induced damage particularly when using mocks. He said that it can lead to layers of indirection in the codebase. I’m a long time … Continue reading

Posted in Opinion | Tagged , , | 1 Comment