Introduction This post is a follow up to my previous post on How to use Playwright with multiple browsers in headless or headless mode. It covers how to use Playwright to test a solution containing two separate projects – a Blazor WASM project, and an ASP.NET Web API project. I will demonstrate how to create a… Continue reading Playwright for integration (end-to-end) testing of a Blazor WASM and ASP.NET API application
Category: .NET
How to use Playwright with multiple browsers in headless or headless mode
Playwright is a testing tool developed by Microsoft that provides reliable end-to-end cross-browsing testing for modern web applications. At the time of writing, it can be used to automate Chromium, Firefox, and WebKit. It is a similar tool to Selenium, but aims to be more reliable, resulting in less flaky tests. Playwright is also less… Continue reading How to use Playwright with multiple browsers in headless or headless mode
Setting up a Blazor and .NET MAUI Blazor solution from scratch
Introduction .NET MAUI is Microsoft’s cross-platform desktop and mobile application framework that is the evolution of Xamarin. One major feature introduced in MAUI is MAUI Blazor. This allows you to run a Blazor WebAssembly (WASM) application within an embedded MAUI WebView component, making it run the same as a native application. This application also uses… Continue reading Setting up a Blazor and .NET MAUI Blazor solution from scratch
PowerShell Script to Update a Cloud Service (Extended Support) Deployment
Overview This post is a continuation of my previous post on Updating a Cloud Service (Extended Support) and Powershell Script to create a new Cloud Services (Extended Support) Deployment. In the previous posts, I covered all the steps necessary to manually update a Cloud Services resource from the Azure Portal as well as create a… Continue reading PowerShell Script to Update a Cloud Service (Extended Support) Deployment
PowerShell Script to create a new Cloud Service (Extended Support) Deployment
As a follow-on to my previous post that covered Creating a Cloud Service (Extended Support) Deployment, this post covers doing the same thing but using a PowerShell script to automate it. To follow along, first, create a Cloud Service project that you can deploy to Azure. You can follow along until just before the heading… Continue reading PowerShell Script to create a new Cloud Service (Extended Support) Deployment
Supporting .NET 6+ in Cloud Services (Extended Support)
Overview Microsoft has announced that Cloud Services (classic) will be retired on 31 August 2024. Their recommendation is to move to a new deployment model based on ARM called Cloud Services (extended support). Before you get started following this guide, I recommend looking into moving to App Services or Kubernetes instead. I have doubts about… Continue reading Supporting .NET 6+ in Cloud Services (Extended Support)
Updating a Cloud Service (Extended Support) Deployment
Overview This post is a continuation of my previous post where I explained how to Create a Cloud Service (Extended Support) Deployment. In this post, I’ll walk you through the steps to update that deployment using another “swappable” Cloud Service resource. If you do not know how to deploy a Cloud Service (Extended Support) resource… Continue reading Updating a Cloud Service (Extended Support) Deployment
Creating a Cloud Service (Extended Support) Deployment
Overview Microsoft has announced that Cloud Services (classic) will be retired on 31 August 2024. Their recommendation is to move to a new deployment model based on ARM called Cloud Services (extended support). While many things remain the same in the new deployment model, there is one notable and major difference – Cloud Service resources… Continue reading Creating a Cloud Service (Extended Support) Deployment
Xamarin.Android CERTIFICATE_VERIFY_FAILED
I’ve recently updated my Xamarin.Android applications to target Android 13. While testing applications on an Android 13 emulator, I noticed that some network calls kept failing with an exception message of “Ssl error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED”. This also included calls made to a test server with ngrok which I use extensively. After troubleshooting and searching, I found… Continue reading Xamarin.Android CERTIFICATE_VERIFY_FAILED
Error and Exception Handling in an ASP.NET Core API Project
Error and Exception Handling in an ASP.NET Core API Project There are various places within an ASP.NET Core API project that an error, or exception can occur. This can make figuring out how best to handle them confusing. ASP.NET Core does come with some basic error handling out-of-the-box with its default templates, but this can… Continue reading Error and Exception Handling in an ASP.NET Core API Project