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…

End-to-end with Selenium: Why you should UI-test

by Hallstein Brøtan

You want to be productive when building web applications. That means iterating fast and delivering continuously. As your application grows in complexity, how can you assure its quality - on each build? Say goodbye to manual regression testing and full mocked unit tests - get started with end-to-end automated UI-testing!…

Easier React Native upgrade with patch-package

by Christian Brevik

Anyone who has worked with React Native (RN) for some time know that the core contributors are not afraid of introducing breaking changes. So upgrading from one version to the next can sometimes be difficult. It became a lot easier when they introduced react-native-git-upgrade, which if you aren't using yet,…

NDC 2017 - What did I miss?

by Hallstein Brøtan

The purpose of this blog post is to give you a shortlist of talks that you might have missed during NDC (Norwegian Developer Conference) 12.-16. June 2017. Introduction NDC has just ended its 10th consecutive event in Oslo. As always, the speaker list contained big names like Troy Hunt…