James Montemagno
James Montemagno

Live, Love, Bike, and Code.

Tags


Twitter


James Montemagno

Visual Studio

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

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 things to me still aren’t absolutely perfect in the setup on how I like to develop. So in the spirit in my Cycle 8 and Cycle 9 installation guides I am proud to bring you the ultimate VS 2017 Setup Guide for Xamarin! (adsbygoogle = window.adsbygoogle || []).push({}); InstallationThe installation…

James MontemagnoJames Montemagno

New Xamarin.Forms Item Templates!!

I just installed the latest RC for Cycle 9 and was extremely surprised and happy to find some brand new Item Templates for Xamarin.Forms including:Carousel PageList View PageMap PageTabbed PageAlong with the awesome new project template creation! When you add a page it will scaffold out your entire ViewModel too!!! Amazing! Just by adding the ListView Page you get this: (adsbygoogle = window.adsbygoogle || []).push({}); New Tabbed Page: I did a little Motz Codes Live walkthrough, check it o…

James MontemagnoJames Montemagno

Visual Studio - Unable to launch Google Android Emulators

When developing with Xamarin in Visual Studio you have a lot of options for Android Emulators. You can go with the VS Emulators for Android powered by Hyper-V, Genymotion, or the out of the box x86 HAXM powered Android Emulators from Google (a few are installed for you already). It looks though that with some of the latest updates to Windows and VS when you go to launch them you get an error message that they can’t be launched. If you look at the logs you will see something like this: Error mess…

James MontemagnoJames Montemagno

Getting Started With & Learning C#

In 2006, after years of writing C++ and Java code, while attending UAT an instructor named Phil Miller introduced me to this amazing language called C# and changed my life. It was love at first “Hello World” and I have never looked back. C# is an extremely powerful, mature, and extremely cross-platform programming language that I have been using for decades. The beauty of C# of course is that you get this amazing cross-platform framework called .NET, which gives developers ability to…

James MontemagnoJames Montemagno

Visual Studio Code, your new Markdown editor

I feel like I have been spoiled for a long time using macOS as there have been a plethora of great Markdown editors. Now that I am full time on a Surface Book and Windows 10 it saddened me that a version of Mou wasn’t coming or planned at all. I write Markdown just about every day between the libraries on my GitHub and writing blogs and documentation. I have always used VS Code for just light weight text editing and now that it not only runs everywhere, but also supports all sorts of extensions…

James MontemagnoJames Montemagno