James Montemagno
James Montemagno

Live, Love, Bike, and Code.

Tags


James Montemagno
Author

5 Must Install NuGet Packages for New Xamarin Projects

Starting your first project can be a bit overwhelming. I mean heck, I wrote nearly 3,000 words breaking down every bit of what to select and what each option means. Oh, and I also have a full video series walking you through it step by step on my YouTube channel. Before I start writing code in my projects I take some time to configure my projects and then install essential NuGet packages that help me be super productive from the start. Yes, it is true that Xamarin.Forms and Xamarin.Essentials ar…

James Montemagno James Montemagno

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. However,…

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 creating a full solution…

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 that you can watch: Let's set some groundwork first by answering some frequent questions. What is .NET? .NET is a cross-platform, high-performant, and open-source runtime that is used with multiple…

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 rules: Targe…

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 each…

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 levels", you can fi…

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

I crush code and share it, publish NuGet packages, speak at conferences, upload videos, pretend I am good at playing video games, tweet up a storm, drink gallons of coffee, and ride my bike. Checkout my monthly newsletter that you should subscribe to!