Kevin Dockx / Ice Cream

wandering along the lines of another next big thing, remember: there’s always room for more ice cream

Latest Posts

shutterstock_313815854

Cleaner API Code with ResultFilter and ValueTuple

When building APIs the amount of code inside of controller actions has a tendency to spin out of control, become repetitive and not so easy to reuse.  For a recent client project I’m working on I tried a new approach: result filters combined with C#7’s value tuples.  I was quite happy with how it turned… Read more »

shutterstock_279800456

Announcing: Securing ASP.NET Core 2 with OAuth2 and OpenID Connect Course Published at Pluralsight

A while ago I created a Pluralsight course focused on securing ASP.NET Core with OAuth2 and OpenID Connect.  That one was built using ASP.NET Core 1.1.  I got a lot questions asking for a new course that would focus on ASP.NET Core 2, as quite a bit changed in regards to authentication/authorization between Core 1… Read more »

office-581131_1920

Solving Correlation Failed: State Property Not Found Errors (OpenID Connect Middleware / ASP.NET Core)

Recently we ran into an issue at one of my clients when integrating an ASP.NET Core application with an IDP using the OpenID Connect middleware.  When running the application locally everything worked as expected: the middleware takes care of most of the hard work as far as generating the calls the authorization & token endpoints,… Read more »

shutterstock_313815854

Techorama Session: OpenID Connect in Depth Code and Slides

I just finished my Techorama session on OpenID Connect in Depth.  It covered subjects like single sign-on and single sign-out, when to use reference tokens & how to revoke tokens, how to create a custom grant to let a user’s identity flow from API to API without having to create “one access token to rule… Read more »

shutterstock_613464041

Announcing: Building Business Applications with Angular and ASP.NET Core course at Pluralsight

I’m very happy to announce that my latest Pluralsight course, Building Business Applications with Angular and ASP.NET Core, went live. I a lot of fun creating this one!:-)  It’s aimed at those of you who already know a thing or two about Angular and ASP.NET Core – so it’s not a beginner course.  It only… Read more »

shutterstock_279800456

Figuring out Why Your Access Token is Invalid (OWIN/Katana)

I was doing some consultancy work for a client today and had to integrate with an IDP to secure an API.  Somehow however, the access tokens provided by the IDP couldn’t be validated.  For access token validation I by default use IdentityServer’s AccessTokenValidation middleware as it adds some nifty features to MS’s JWT Bearer Authentication… Read more »

Older posts

My Pluralsight Courses

ASP.NET Core 2 incorporates a few important changes and new features. This course will teach you how to upgrade your existing web API, built with ASP.NET Core 1.x, to ASP.NET Core 2.0.

  • Beginner

  • October 19th, 2017

When you’re building an ASP.NET Core MVC web app or API, you’ll want to secure it sooner than later. In this course, you’ll learn how to utilize OAuth2 and OpenID Connect, today’s widely-used standards, to help you achieve your goals efficiently.

  • Intermediate

  • August 7th, 2017

APIs should adhere to the constraints enforced by the REST architectural style. By doing that, you’ll end up with a stable, functional, and predictable API, standardized where possible.

  • Intermediate

  • March 13th, 2017

ASP.NET Core and Entity Framework Core signify the direction Microsoft is taking with its developer frameworks. In this course, you’ll learn about the important concepts of ASP.NET Core related to building an API.  Updated for ASP.NET Core 2.0, 2017/09.

  • Beginner

  • November 7th, 2016

OData V4, an open OASIS standard dubbed “The Best Way to REST,” aims to standardize the process of building RESTful APIs. Discover OData and how to build and consume a RESTful API that adheres to the OData V4 standard, using ASP.NET (Web API).

  • Beginner

  • May 11th, 2016

Older courses

Kevin Dockx / Ice Cream