Nov 30, 2021Blazor WASM PWA — Adding a “New Update Available” notificationIn this article, I want to explain why and how we can add a “New Update Available” notification to a Blazor WebAssembly PWA project in some sort of step-by-step guide. In this article, we will make use of .NET6 and the dotnet command-line, no specific IDE is required. If you…Blazor7 min read
Jan 21, 2021Generate HTML based PDF reports from Azure App ServiceImagine having an ASP.NET Core based application deployed to Azure App Service when suddenly the customer wants you to add PDF reporting to the application. Now what? There are a lot of libraries, tools and even SaaS solution to reach that goal, so we’ll have to pick a feasible solution…Dotnet Core7 min read
Nov 29, 2020Printing PDF files silently from a Windows serviceAgreed, printing is a thing from the past and we should think about the environment and save as much 🌳🌳🌳 as possible. However, if you’re like me, developing software for production environments, sooner or later you’ll have to get something out on paper. Preferably fully automated. So how do we…Windows3 min read
Jan 25, 2020Running .NET on ESP32Introduction It’s that time of year again to tidy up my desk. Always a nice period in which to find back some lost treasures. I just came across this HUZZAH32 feather board which I bought +/- a year ago. This is a tiny programmable board hosting an ESP32 System-on-Chip (SoC) micro-controller. …Esp 325 min read
May 3, 2019Simplify certificate renewal in Azure DevOpsCertificate renewal can be a tedious job, especially when deploying multiple IIS Web applications. The reason for this is because the IIS Web App Manage task in the release pipeline needs the SSL certificate thumbprint to know which certificate to use in the HTTPS binding. …Ssl2 min read
Feb 8, 2019Securing your Single-Page application Anno 2019Introduction In this blog post, we will take a look at how we can securely authorize and authenticate our users in a Single-Page application (SPA). We’re specifically talking about browser-based JavaScript applications running on the same domain as the API. First we had cookies, then we had tokens and now it…Security7 min read
Nov 5, 2018From Query to Mutation with GraphQL.Conventions and ASP.NET CoreIntroduction In this post we will see how to create a GraphQL endpoint with GraphQL.Conventions and ASP.NET Core 2.1. We will cover creating a project from scratch until the point where we add our own queries and mutations. In GraphQL, a query is a request for data, while a mutation is…Graph QL5 min read
Nov 3, 2018Unit-testing ILogger in ASP.NET CoreASP.NET Core makes it extremely easy to log information, warnings, errors and the like by injecting the generic ILogger<T> interface. However, unit-testing becomes a little bit harder, so let us see why and how we can solve this with ease. In the examples below, we will be using the mocking…Unit Testing2 min read
Sep 12, 2018Gitflow, Versioning & CI/CDUpdate as of 29 February 2020 The article below was written 2 years ago. During the last 2 years, a lot has changed regarding the tooling I have been using. I’m currently using Azure DevOps on a daily basis and it has completely replaced the need for using BitBucket, Jenkins, Octopus Deploy, own private npm or…Git7 min read