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
Category: Xamarin
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
Failed to resolve forward links for Apple Developer Portal client
I recently got this error in Visual Studio for Mac when setting everything up for iOS development: Failed to synchronize xxx@xxx.xxx account with Apple Developer Portal. “Failed to resolve forward links for Apple Developer Portal client. Reason: Please check your internet connection or try again later.” After receiving it, I did the usual process of… Continue reading Failed to resolve forward links for Apple Developer Portal client
Fix Xamarin Android Issue – “Access to the path ‘adb.exe’ is denied.
I have seen this issue occur now and again with a Xamarin Android installation on Windows. It seems to occur after a Visual Studio update which also updates the Xamarin Android installation. Often, the SDK installation gets corrupted, and when trying to repair it, this error is raised. Usually, it’s possible to fix the issue… Continue reading Fix Xamarin Android Issue – “Access to the path ‘adb.exe’ is denied.
Custom Components in .NET MAUI / Xamarin Forms
When designing an application, we must often build user-interface (UI) elements which are used in more than one place. When writing code, we usually try to follow the DRY (Don’t Repeat Yourself) principle, and we should strive to do the same when working with the user-interface. In .NET MAUI/Xamarin Forms, we can build a user… Continue reading Custom Components in .NET MAUI / Xamarin Forms
Windows Dev Center: Invalid Package Family Name and Invalid Package Publisher Name
When submitting an application, or an update to one in the Windows Dev Center, you may come across the following two errors after uploading your application package: Invalid Package Family Name Invalid Package Publisher Name There appears to be a bug within Visual Studio or the Windows Dev Center where the correct certificate is not used when… Continue reading Windows Dev Center: Invalid Package Family Name and Invalid Package Publisher Name
Implementing Azure Notification Hubs – Part 2 (Shared and App Projects)
The complete solution for this can be found on my GitHub account. We will start work in the shared project as the classes we create here will be required by both the API and the Xamarin application projects. DTOs In the root directory of the project, create a folder called Dtos which will contain DTO classes that will be… Continue reading Implementing Azure Notification Hubs – Part 2 (Shared and App Projects)
Implementing Azure Notification Hubs – Part 1
Introduction Sending push notifications to devices is a requirement of most applications. Unfortunately implementing this is not as simple as you would expect. Azure offers a service called Notification Hubs which makes implementing this feature easier, but there is still a fair bit of manual work involved. Azure Notification Hubs offers a free tier that… Continue reading Implementing Azure Notification Hubs – Part 1
Create Apple Developer Certificates on Windows
Microsoft App Center supports building an iOS application in release mode for devices. This build can then be submitted to the App Store. I have found this useful as I do most of my development on a Windows machine, and then do the final release build on App Center. I recently had an issue, where I was away from my office, meaning I did… Continue reading Create Apple Developer Certificates on Windows