Manually testing APIs using Client Credentials and bearer tokens with REST Client for Visual Studio Code

by Johan Grønstad

The REST Client for Visual Studio Code is an excellent tool for testing HTTP based endpoints. In my opinion it's one of the smoothest ways to test any endpoint behind an HTTP interface. But there are some use cases where Postman felt like it had a somewhat less finicky workflow,…

Elastomania takes the stand, NDC 2018

by Lars Alexander Jakobsen

Winter 2018 we put on our cross-country skis and went to a cabin in the woods. Our boss told us not to come back until we had come up with an idea for our stand for NDC Oslo ;) After a lot of discussion, arguing and beer we came up with…

You're a designer, Harry or: Four handy tricks using Zeplin

by Johan Grønstad

I'm not a designer, but for a brief period of time I got to feel like I knew how it feels to be one. It all started when a new designer was brought on to a previous client project I worked on and introduced us to Zeplin. Or to be…

Your first VS Code extension

by Christian Brevik

It's not a secret that VS Code is becoming a very popular choice as editor for many developers[1]. I like the editor because it is snappy, and has extensions for pretty much any language or framework I dive into. One feature I love using with VS Code is "…

Sanity CMS - headless CMS for the people

by Ingve Vikan Sund

A headless CMS is free of the presentation layer, and focuses entirely on the content. It does not ship with any frontend template structure or middleware for hijacking the pipeline. By choosing a headless CMS you can more freely choose which technology you wish to build your application with, since…

A first look at the SBanken Open Banking API

by Anders Austad

Due to the PSD2 directive and Open Banking initiatives, Norwegian banks have started to make their data available to external parties and customers through APIs. Several banks have now launched their first versions of APIs and developer portals. Nordea seems to be the one with the most functionality exposed (https:…

Angular pitfall: Multiple HTTP requests with RxJS and observable$ | async

by Hallstein Brøtan

I recently discovered that our Angular app was making multiple HTTP requests unintentionally to the same REST API endpoint. The app was using the HttpClient introduced in Angular 4.3, which enables direct access to the JSON response when subscribing to the Observable from the HTTP request. The HTML markup…

C# Code Style in Visual Studio 2017

by Olav Nybø

The Code Style options for C# in Visual Studio 2017 have improved a lot since Visual Studio 2015. In Visual Studio 2015 there wasn't a lot of options to choose from, there were only 4 settings. I don't think I ever changed any of them from their defaults. The Visual…

Parameter count mismatch between X-Forwarded-For and X-Forwarded-Proto

by Anders Austad

These are my fieldnotes from experimenting with the ForwardedHeaders middleware on ASP.NET Core 1.1 and 2.0 - sparked by having a production log full of Parameter count mismatch between X-Forwarded-For and X-Forwarded-Proto warnings. I've set up a github repo and a simple Postman example here. Background The…

End-to-end with Selenium: Writing your first UI-test

by Hallstein Brøtan

This is a basic example of how to write your first automated UI-test using C#, Visual Studio 2017 and the NUnit Framework (xUnit can also be used). The purpose of this blog post is to give you a clean and easy example to get started with UI testing. For implementation…