James Montemagno
James Montemagno

Live, Love, Bike, and Code.

Tags


Twitter


James Montemagno

Awesome

My Favorite C# 7 Feature: More expression-bodied members

I can’t help myself, I love Expression-Bodied Members from C# 6! Combined with other powerful C# features it took this code: public void OnPropertyChanged(string name) { var changed = PropertyChanged; if(changed == null) return; changed(this, new PropertyChangedEventArgs(name)); } to this: public void OnPropertyChanged(string name)=> PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(name)); This is amazing! However, in C# 7 things get even better. Take our good old fr…

James MontemagnoJames Montemagno

Build Apps Faster with Plugins for Xamarin!

One of my favorite parts of mobile development with Xamarin is that I am not only creating fully native mobile application on iOS and Android, but that I also have 100% API access on those platforms. That means if I want to do something I can do something. However, after four years of mobile development I found myself doing the same things over and over again to access native APIs from shared code. If I wanted to adjust a setting, vibrate the device, or check connectivity I would abstract out an…

James MontemagnoJames Montemagno

Debug with the Xamarin Android Player from Visual Studio in VMWare or Parallels

I simply love using my Mac when combined with VMWare for development. I consider it the ultimate setup for mobile development with Visual Studio. Since everything is on the same machine the iOS simulator and Build Host just work. For Windows Phone nested virtualization with Hyper-V seems to just work (as long as you you follow the special setup guide from Nokia). However, my favorite platform, Android, seems to have fallen by the wayside. If you are inside of VMWare or Parallels it might seem li…

James MontemagnoJames Montemagno

Xamarin Studio + NuGet PCL Support!

From @SharpDevelop comes a long awaited update to the Xamarin Studio NuGet Manager Plugin. I wrote about this plugin before, but with this update brings updated support for NuGet including PCLs for Xamarin.Android and Xamarin.iOS. It is extremely easy to add this functionality to Xamarin Studio and I made a short video to get you going. Unable to display content. Adobe Flash is required.…

James MontemagnoJames Montemagno

Azure Mobile Services + Xamarin + PCL

You might have noticed that both @ChrisNTR and myself have been on the .NET Rocks Roadshow. We have been talking to awesome devs all over the US about Xamarin, PCL, and Azure all wrapped up into an amazing demo (full source code there). One common question that has come up is that while a lot of people have the demo up and running they are having a hard time getting Azure + PCL integrated into their own project. So let’s set one up from scratch. Pre-requisites: I am going to be using VS 20…

James MontemagnoJames Montemagno