James Montemagno
James Montemagno

Live, Love, Bike, and Code.

Tags


James Montemagno
Author

Developing & Working with .NET Containers on Windows ARM Devices

I am by no means a cloud-native developer, I am a client developer. I have spent some time though to get a general understanding about microservices, images, containers, docker, and all the buzz words that surround the topic. I recently got really into DevContainers and using them on GitHub Codespaces and Visual Studio Code to create an environment to run apps in. From there, I went down a rabbit hole of educating myself more by taking Microsoft Learn training courses, watching the new container…

James Montemagno James Montemagno

Using Java SDK 11 on Xamarin Android Builds on Azure DevOps & GitHub Actions

Everything is building great in your CI/CD pipeline and then BOOM your build fails for no reason. You didn't change anything in your code!?!?! That was me this morning as I was updating my InAppBilling Plugin for .NET. I got hit with this beauty: error XA0031: Java SDK 11.0 or above is required when using $(TargetFrameworkVersion) v13.0 What is going on?!?!? Starting with Visual Studio 2022 17.8, which was just released, the Xamarin.Andriod tooling requires Java SDK 11.... but the default…

James Montemagno James Montemagno

Developing Android Apps on Windows Arm Devices

I have gone all in on Arm devices! My main MAC machine is a Mac Book Air M1 and now my main driver at work is a Windows Dev Kit 2023 (aka Project Volterra). One tricky thing for developers is getting all the software we use to work properly on Arm. Things have come a long way since the original release of Arm devices for Mac and Windows. I have a full setup guide for my M1 for Xamarin and now .NET MAUI development, but what about Windows? Visual Studio 2022 recently released a full native Arm v…

James Montemagno James Montemagno

Automate Posting to Mastodon via Web Requests

One of my favorite applications that I use for automation is If This Then That [https://ifttt.com/join?referral_code=zDOzZRwhLMAQuF36U5nEfTwxbLPyRAdA] aka IFTTT. I have been using it forever and it allows you to automate a plethora of things when something happens. For example, maybe you want ot create a spreadsheet of every favorited tweet you have, or maybe save them to a list somewhere, or maybe automatically turn on your lights at sunset. All of this is possible with IFTTT and is crazy easy…

James Montemagno James Montemagno

Enabling Users to Manage Subscriptions on iOS/Android

You know I love talking about in app purchases and subscriptions. Due to my InAppBilling [https://github.com/jamesmontemagno/InAppBillingPlugin] library I get all the "fun" updates when Apple or Google force developers to make changes to stay compliant. Upcoming is a nice large change from Google to push Android developers to use Billing v4 (which my library does!) and another is that we must now give users a way to easily manage and cancel their subscriptions. You may have recently s…

James Montemagno James Montemagno

App Configuration Settings in .NET MAUI (appsettings.json)

.NET MAUI is right around the corner and Preview 13 is out right now! There are so many great features packed into .NET MAUI and my favorite has to be all of the great Dependency Injection and configuration that goes into the MauiProgram startup. If you want to know more checkout my most recent YouTube video breaking down Preview 13 [https://www.youtube.com/watch?v=2Dkk-74x-V8] and all of the configuration that is built in including Essentials, Blazor, and more. But, what if you want to do oth…

James Montemagno James Montemagno

Implementing In-App Subscriptions in iOS & Android with no backend servers

Over the years I have created several apps [https://montemagno.com/my-apps/] that I am super proud of, and for the most part, I have always put them out for free onto the app stores. More recently I have been experimenting with different monetization strategies for the apps so users can unlock features or just leave a tip. For the longest time I kept things simple with a "non-consumable" one-time purchase. The strategy is straight forward, they either purchased the item or they didn&#…

James Montemagno James Montemagno

Goodbye Android Emulators, the Windows Subsystem for Android is Here!

Android Emulators have been a pain in everyone's side for pretty much ever [https://docs.microsoft.com/xamarin/android/get-started/installation/android-emulator/?WT.mc_id=friends-0000-jamont] . Intel HAXM is great, but limited to Intel, then there were custom emulators like Xamarin Android Player and Genymotion, but required additional installs, and finally Hyper-V support, which brought with it AMD support, and side by side Docker support as well. But now, Windows 11 is here and so is a bra…

James Montemagno James Montemagno