James Montemagno
James Montemagno

Live, Love, Bike, and Code.

Tags


James Montemagno

Live, Love, Bike, and Code.


Indoor Cycling Stats Comparison - Peloton App vs Apple Watch Fitness

As winter approaches and the pandemic rages on and on I know I will be indoors even more than ever. Even though I am excited for cross-country skiing, I know I will miss the day (which is already here) that I am not going to be able to hop on my bike and go for a ride outside. I have always loved spin classes and pre-pandemic I used to go several times a month to in person classes for exercise. I have always thought about going all in on a Peloton, however I couldn't justify the price. Howev…

James Montemagno James Montemagno

Don't Put Android in Your Namespace in Xamarin Projects

One of the most common mistakes when creating a new project for Android is to put "Android" in the name. You want to because your app is going to run on Android, but it causes a series of pain immediately with namespace conflicts. When you create a new Xamarin.Forms project you may have noticed that the Assembly Name and Default Namespaces are different. If you name your Xamarin.Forms project "App37" you will see the following: This happens automatically because you are crea…

James Montemagno James Montemagno

Build Your First for iOS & Android App with Xamarin and Visual Studio

Let's start our journey together to build beautiful native cross-platform apps with .NET, Xamarin, and Visual Studio! In this blog I am going to guide you through the entire process and describe everything that is in File -> New for Xamarin. If you are a more visual learner, I have a full video [https://www.youtube.com/watch?v=zvp7wvbyceo] that you can watch: Let's set some groundwork first by answering some frequent questions. What is .NET? .NET [https://dotnet.microsoft.com?WT.mc_…

James Montemagno James Montemagno

Enabling C# 9 in Xamarin & .NET Standard Projects

Whoa! .NET 5 is out and C# 9 is out! This means you are ready to use records, new pattern matching, and more! But wait a second... your apps haven't been upgraded to .NET 5 yet or are a project type that don't support .NET  so you don't have access to the new C# 9 features :( Or do you!?!?!?! Yes, of course you do! Most new features in C# are compiler based and not necessarily runtime based.  When you create a new project the compiler determines a default C# language based on these r…

James Montemagno James Montemagno

Randomizing Lists in Power Automate Flow

Every Monday at 9:15 my team and I gather for our weekly team meeting to talk about our achievements from the previous week and what are plans are for the current week.  Traditionally during status updates people just go around the room, but in a virtual standup it is easy just to go down the list alphabetically. I don't feel like this is very fair to members in the meeting. When I became a new manager and setup the weekly meeting I knew I wanted to do something a bit different. That is why…

James Montemagno James Montemagno

Straightening Your Webcam with a $3 Level

If you have been working from home more recently and started to invest in a sweet new home setup you may have upgraded your webcam. Most webcams mount on top of a monitor, but if you are going the DSLR or GoPro route then it has a mount on a mount or sometimes an arm. All of this can lead to complications of "straightening" your video output. If you are using a monitor arm like I am then there is yet another complication in the mix. However, with these super simple $3 "bubble lev…

James Montemagno James Montemagno

Switching from Android to iPhone - 1 Month Later

Last month for my birthday I decided to make the big switch from Android to iPhone after being an Android exclusive user for nearly 11 years. My life has mostly been infused with Android/Google devices, which have included my long love of Android phones, Android TV, and Android based smart displays. For the last two years I have been rocking the Pixel 2 XL, which is been a solid device with an amazing camera. I have been waiting and waiting for Google to release something great in their main or…

James Montemagno James Montemagno

Hello iPhone & Apple Silicon DTK

It was a big exciting week for Apple at WWDC20 with some lovely announcements for iOS and some spectacular ones around macOS. I could not be more excited about Apple Silicon on macOS as an app developer as it will allow all of my existing iOS apps to just "work" on macOS. I really wasn't sure about running iOS apps on macOS, but with macOS 11 it is really bridging the gap and looks great. Apple also announced the Developer Transition Kit (DTK) and I was really lucky to be picked to…

James Montemagno James Montemagno