James Montemagno
James Montemagno

Live, Love, Bike, and Code.

Tags


James Montemagno

Live, Love, Bike, and Code.


Xamarin.Forms Design Time Data Tips & Best Practices

One of my favorite features of building applications with XAML is the ability to use design time data to preview it inside the IDE. Recently in Xamarin.Forms 4.0 the team introduced an official pattern to specify design time properties, controls, or just about anything else. It is a really neat feature that I have been using on my live streams and in my apps. There is some really great docs that you should read through, but I will repeat the core info here. Why Design Time Data? Xamarin.Forms…

James Montemagno James Montemagno

Free C# and Xamarin for Beginners Videos Series

Last week Hanselman announced all of the great new videos that are available at dot.net/videos. However, he forgot to mention that there is an entire new getting started series for iOS & Android development with Xamarin! The lovely developer advocate's and friends Matt Soucoup and Brandon Minnick just released the 11 part series! If you are new to C# then don't worry as there is a full C# 101 series. It has never beena better time to get started learning C# and building mobile apps with Xam…

James Montemagno James Montemagno

James on Tour - October 2019 Europe Edition!

I can't believe it is October already! What an amazing year with so many amazing announcements for Xamarin developers. Between Build, Xamarin Developer Summit, and .NET Conf there truly has been something for everyone. Now, I want to take this Xamarin goodness on the road for a two week Europe roadshow! I worked closely with user group leaders all over Europe to set up a great schedule where I am literally traveling just about every day! Oct 22nd - 23rd - DevReach - Sofia, Bulgaria To kick thin…

James Montemagno James Montemagno

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

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!