James Montemagno - Page 18

Live, Love, Bike, and Code.


Using Visual Studio Mobile Center with a Azure DevOps (VSTS) Code Repo

So, this is pretty awesome! Today, the Mobile Center team rolled out a huge update to Visual Studio Mobile Center enabling you to build your iOS and Android apps in the cloud from any GitHub, BitBucket, or Azure DevOps (VSTS) code repository! This is great because VSTS offers FREE unlimited private repos for your code with a git backend. Mobile Center offers up build, test, distribute, analytics, and backend services …

James Montemagno

Device.OS is Obsolete in Xamarin.Forms... What to do?!?!

If you just updated to Xamarin.Forms 2.3.4 you may have noticed and be freaking out that you have tons of green squiggles that Device.OS and TargetPlatform are obsolete. This was all done in regards to the new changes for OnPlatform. We can see here that it says to use RuntimePlatform isntead, which is a string… but how do you use it??!?! If you hover over TargetPlatform, and enum, it doesn’t tell you what to replace …

James Montemagno

Twitter Lite - Progressive Web Apps - The Good, Bad, & Ugly

Twitter recently launched Twitter Lite a stripped down “faster” and more “data friendly” version of their mobile app and refresh to their mobile website. It is more than just a new mobile website, it really is a Progressive Web App (PWA) that offers up notifications, camera integration, and some of the common features of twitter such as timelines, tweeting, and direct messages. It also benefits from being really …

James Montemagno

Unit Testing Plugins for Xamarin

So you love unit testing…. said no one ever, but you are forced to write unit tests and you want to use Plugins for Xamarin which are all singletons and need platform specific implementations or they will throw an exception in your tests…. what to do?!?!? Plugins are all interface based, which means all we have to do is use standard practices to not directly call the singleton, and setup our code to return the …

James Montemagno

Colored Map Markers on Xamarin iOS and Android

I was getting ready for my next Tech Summit presentation and wanted to spice up my Maps for iOS and Android. I didn’t want to create any custom marker images or anything like that, but just wanted a little color flare on it. I knew there had to be an API out there to do it in each of the native frameworks and of course there was, so here is the quick and easy solution. (If you need this for Xamarin.Forms this would …

James Montemagno

Cleaning Up Space on Your Xamarin Development Machine

Today, I officially uninstall Visual Studio 2015 and upgrade to Visual Studio 2017!! Whenever I do a major upgrade I usually re-format my machine and get a fresh install, but this time I decided not to and just uninstall and clean up my machine as best as I can. While VS 2015 for sure installs tons of stuff all over the place and I can manually uninstall things, I figured it was a good time to help developers clean …

James Montemagno

Setting up Visual Studio 2017 for Xamarin Development

Visual Studio 2017 was just released yesterday, and it is awesome! You can re-live all the keynote and demo deep dives on Channel 9. There are tons of new features and a huge revamp to installation but things to me still aren’t absolutely perfect in the setup of how I like to develop. So in the spirit of my Cycle 8 and Cycle 9 installation guides I am proud to bring you the ultimate VS 2017 Setup Guide for Xamarin!

James Montemagno
James Montemagno
Author

James Montemagno

James Montemagno is a Principal Lead Program Manager for Developer Community at Microsoft. He has been a .NET developer since 2005, working in a wide range of industries including game development, printer software, and web services. Live, Love, Bike, and Code.

Milli the dog peeking up from the bottom of the page