James Montemagno
James Montemagno

Live, Love, Bike, and Code.

Tags


James Montemagno

Live, Love, Bike, and Code.


AsyncCommand & More Come to MVVM Helpers

Having to write boilerplate code over and over again is not only annoying, but it is a time sink when trying to build apps. That is why nearly 4 years ago I created a small little open source library to get rid of MVVM boilerplate code that I called MVVM Helpers. It contains all sorts of goodies including an ObservableObject, BaseViewModel, ObservableRangeCollection, and all sorts of small utlilities. I use it in every app that I have ever built since its original release and it has been downloa…

James Montemagno James Montemagno

August Challenge: Support a Creator

In June, I gave a challenge to my readers to delete a social media app from their phone for a month. It has been two months and I am happy to say I will never install Twitter on my phone ever again! Heather has also gone strong and finds no need to install Facebook back on to her iPhone! I figured for August I would do something a little bit different and put out a challenge to give back to the community of creators out there. I have been using open source software for years, watching & read…

James Montemagno James Montemagno

Xamarin.Forms: How to Clip Images with Rounded Corners

I love watching trends in mobile design. Currently gradients are all the rage, but two trends that have been around for a while are rounded corners and circular images. A long time ago I created the Circle Image plugin for Xamarin.Forms that many developers know and love, but did you know that you can just use built in controls to get a circle or rounded corners? All you have to do is use a frame and set a few special properties! Let's start slow and just put a beautiful Red-shanked Douc Langur…

James Montemagno James Montemagno

Get Android Messages, Photos, and Notifications on Your Windows Desktop

As an Android user, I have always been jealous of iOS users that own a Mac, as iMessage is pretty much awesome. The ability to send and receive text messages from your phone or PC and keep them in sync is the dream. I actually lived it for many years as an Android user when I was went all in on Google Voice and after that Google Fi. As long as I had a browser I could easily text or even place a phone call and my phone was aware of everything that was happening. Then late last year I made the big…

James Montemagno James Montemagno

Add ASP.NET Core's Dependency Injection into Xamarin Apps with HostBuilder

Dependency injection(DI) and inversion of control (IoC), have been a recurring theme in questions that I have received over the last six years. Sometimes it is around using constructor injection(), simple service containers, and often around full frameworks such as Prism or MVVM Light. I will be honest with you, I have never been a fan of DI/IoC when building mobile apps. My main reason is that there has never been any official pattern or recommendations from Google or Apple (or Microsoft/Xamari…

James Montemagno James Montemagno

Optimizing Xamarin Apps & Libraries with the Linker

The Xamarin linker is one of the most important pieces of technology when building mobile apps, that no one knows exists. It does all of the hard work for you, stripping out all unused code from libraries that you include in your apps. It should only be used in release mode as it takes extra time to compile your app, but means that your app will be smaller: The linker has specific implementations for both iOS and Android and is completely customizable. Linking for App Developers Before I get…

James Montemagno James Montemagno

June Challenge: Delete a Social Media App

It is hard today not to hear about how social media is "ruining our lives" from a news report or article. While I don't think that is the case, I do think there are way too many signals and notifications that are distracting us daily. I have slowly been trying to step back from social media over the past few years. Thus far I have turned off all notifications on my phone, made Facebook only for Family and work purposes such as .NET Community Standups, and I disabled my Instagram accoun…

James Montemagno James Montemagno

Hangout, Drink Coffee, & Cycle with Me at Build 2019

Microsoft Build 2019 is right around the corner (not only from where I live, but also it starts next Monday), so what better time to plan some meetups with awesome .NET developers <3. There will be tons of awesome sessions, the Xamarin booth, but also tons of coffee drinking with me, and even a bike ride opportunity. Here is my schedule for Build! Monday May 6th 7am - 8am: Early Morning Coffee (pre-keynote): Monorail Espresso - (across the street from convention) 3pm - 3:30pm: Hub Theater…

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!