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.
Working with Extension Attributes Using Microsoft Graph
Introduction It is not possible to specify custom attributes for a user using the Azure portal for Azure AD (at least at the time of writing). Custom attributes (called extension attributes in Azure AD) for a user can only be set using Microsoft’s Graph API. Luckily, Microsoft makes it easy to use the API by using the Graph… Continue reading Working with Extension Attributes Using Microsoft Graph
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
Running a .NET 6 ASP.NET Application on Azure Cloud Services
I have a project where I need to migrate a large and complicated ASP.NET application running on .NET Framework to .NET 6. This migration is further complicated by the fact that the application is currently running in production using Microsoft Azure’s Cloud Services offering. This is an older form of deployment which predates the newer App Service. Unfortunately, Cloud Services does not ship with native .NET… Continue reading Running a .NET 6 ASP.NET Application on Azure Cloud Services
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
Compressing Data in Entity Framework Core
I recently had an issue where the size of the database for one of my projects was increasing, leading to increased storage requirements and associated costs with Azure SQL. This was a good problem to have because it was occurring because the project was getting used more. However, I investigated the data and how it… Continue reading Compressing Data in Entity Framework Core
Using Multiple Namespaces to Increase Active Devices with Azure Notification Hubs
Introduction This is a follow up to my previous 3-post blog series on Learning Azure Notification Hubs. At the time of writing, on the free tier, there is a limit of only 500 active devices per namespace. The basic plan increases this to 200 000 devices for about $10 (USD) a month. While $10 is not… Continue reading Using Multiple Namespaces to Increase Active Devices with Azure Notification Hubs
Implementing Azure Notification Hubs – Part 3 (API Project and Testing)
The complete solution for this can be found on my GitHub account. In launchSettings.json, remove the IIS settings as well as Launch Browser, Launch Browser URL and the HTTPS URL. I prefer to run the application directly instead of through IIS and using HTTPS can sometimes cause issues while testing UWP applications. You could use HTTPS by installing and trusting the development certificate provided by ASP.NET… Continue reading Implementing Azure Notification Hubs – Part 3 (API Project and Testing)
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)