Send your application errors to Slack!
Why send errors to Slack? And how does it work? I'll show you why and how to send application errors from Azure Application Insights to Slack, and how this gives you a lot of easy accessible insights to what's happening in your solution.
Azure Functions: ServiceBusTrigger using Managed Identity doesn't wake up when running on consumption plan
Setup: - .NET 6.0 - In-process/isolated v4 function apps - Consumption plan - Managed Identity Background Previously, I wrote a blog post "Azure Function secretless access to Azure Service Bus using Managed Identity [https://blog.novanet.no/azure-function-secretless/]", which describes
Passwordless connection string to Azure SQL database using Azure managed identity
Traditionally, the connection string to the Azure SQL database contains both username and password. Even if you store these credentials in KeyVault, a password needs maintenance/rotation and it might end up in the wrong hands (for instance if sloppy developers keep the password
Implementing BankID on .NET Core using OpenID Connect
This blog post will guide you on how to implement Norwegian BankID and BankID on mobile, using a BankID provider named Signicat [https://www.signicat.com], which is one of the partners recommended by BankId [https://www.bankid.no/en/company/get-started/partners]. Signicat
Julekalender 2019 - Løsningsforslag
This post is written in Norwegian only. Julekalenderen finnes på https://julekalender.novanet.no [https://julekalender.novanet.no/] Tradisjon tro arrangerte Novanet julekalender også i 2019. Den besto av 15 luker i økende vanskelighetsgrad, der hver luke var et bilde fra et sted i
NDC 2019 - Our recommendations
NDC (Norwegian Developer Conference) has just ended its 12th consecutive event in Oslo. As always, the speaker list contained some big international names combined with some local talent. The agenda contained 185 talks divided in 10 simultaneous tracks, ranging through 45 different technologies. It&
ASP.NET Core Memory Cache - Is the GetOrCreate method thread-safe?
In this blog post I will be researching a common question raised on forums like StackOverflow: "Is the GetOrCreate method thread safe?". This blog post also contains an interview with the creator of LazyCache, Alastair Crabtree
Angular pitfall: Multiple HTTP requests with RxJS and observable$ | async
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
End-to-end with Selenium: Writing your first UI-test
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
End-to-end with Selenium: Why you should UI-test
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 -
Novanet Christmas calendar 2016 (Open sourced)
Christmas is closing in, and during this last month of the year we've been running a company Christmas calendar quiz. The calendar has been a success internally, but also attracted attention from customers and colleagues from other consultant firms (who wants to
Make Selenium wait for ajax calls using AngularJS (and TypeScript)
Acceptance tests for GUI are commonly regarded as painful, mainly caused by two factors: * They have a long feedback loop * Their stability is poor A common stability issue is dealing with asynchronous requests. Because ajax calls takes an unknown amount of time to complete,
How many work days are there per month for a given year?
True story: I got a request from our economy guy, he asked me if I knew some online service to give him the number of work days for a given month. Turned out that he was manually counting the number on his calendar (probably
Code on the beach 2015 - Review
This summer, Hans Arne [http://novanet.no/menneskene/hans-arne-vartdal] and Hallstein [http://novanet.no/menneskene/hallstein-brotan] attended the Code on the beach [https://www.codeonthebeach.com/] conference in Atlantic Beach, Florida. This is our thoughts about the Code on the beach experience, the conference
AngularJS with JSONP and how I get to work on time
My every morning challenge is reaching the bus to get to work on time. And the bus schedule is not something to rely on. Fortunately, the bus company in Oslo (called "Ruter" from now on) has its own REST API with real
Creating multilingual support using AngularJS
"Create multilingual support for the web site". I just got this task for a client project, and I think it’s fair to assume that others will get this task in the future, so this blog post shows how I implemented this for my project.