James Montemagno
James Montemagno

Live, Love, Bike, and Code.

Tags


James Montemagno

PCL

How to Convert a Portable Class Library to .NET Standard and Keep Git History

I have had a lot of developers telling me that they have wanted to switch to .NET Standard Libraries, but that they are worried about losing git history. I have also heard fears of compatibility with existing packages. Do not fear! It is so simple to switch over to .NET Standard and takes minutes! Why .NET Standard 2.0 There is simply no reason not to be using .NET Standard 2.0 at this point (you can still target 1.4 if you need older UWP support, but just do 2.0!). It supports all of your favo…

James Montemagno James Montemagno

Cross Platform Photos with Media Plugin

After months of work, contributions, code reviews, testing, new operating system releases, and tons of awesome new features the brand new Media Plugin for Xamarin and Windows [http://github.com/jamesmontemagno/mediaplugin] is ready for mass consumption. Not matter how your developing your applications with Xamarin or Xamarin.Forms you can easily have your users take or pick photos and videos from shared code! Here is the easiest example of taking a photo and displaying it in a Xamarin.Forms i…

James Montemagno James Montemagno

More Plugins for Xamarin: Vibrate, Device Info, Connectivity, & Battery

I hope that everyone has been having a wonderful holiday season. Over the last month I have had one large goal; to create a plethora of Plugins for Xamarin [http://motzcod.es/post/104507063997/what-exactly-is-a-plugin-for-xamarin]. This desire to create plugins started a long time ago when I created my very first NuGet packages for cross platform settings [http://motzcod.es/post/102974754207/an-improved-cross-platform-settings-library-for] . Once I iterated on the plugin and saw how successful a…

James Montemagno James Montemagno

What Exactly is a Plugin for Xamarin?

I am so glad that you asked! I recently blogged about creating reusable plugins for Xamarin.Forms [http://blog.xamarin.com/creating-reusable-plugins-for-xamarin.forms/], and it might have caught you a bit off guard. Does Xamarin.Forms or Xamarin itself have plugins? The short answer is YES with the power of PCLs and NuGet. Component vs. Plugin For a long time, Xamarin developers have been able to add rich functionality to their mobile applications by adding Components from the Component Store […

James Montemagno James Montemagno

An Improved Cross-Platform Settings Library for iOS, Android, and Windows

If you follow me at all on GitHub [http://www.github.com/jamesmontemagno] or Twitter [http://www.twitter.com/jamesmontemagno] than you probably know that I love portable class libraries. I know this might sound odd, but I also love settings inside of mobile applications. NSUserDefault, SharedPreferences, IsolatedStorage… yup I love it. A few years back when I was doing a lot of MVVMCross development I created Mvx.Plugins.Settings to enable developers to save settings and preferences extremely e…

James Montemagno James Montemagno

Shared Code Projects in VS: Windows Phone, Windows Store, and Xamarin!

At Build, Microsoft announced Shared Code Projects to simplify how developers are sharing code between platforms. We have had official portable class library support for Xamarin apps since late last year and it has been wonderful, however once you mix WP8 into the mix the PCL profiles get a bit limited. Shared Code Projects attempt to fix this by allowing you to create a project that are a shell for code that can be added into any project. It is basically glorified file linking with a nice UI to…

James Montemagno James Montemagno

Cross Platform Settings for Everyone!

If you haven’t figure it out by now, I simply love portable class libraries. I have been blogging about them, talking about them on Channel 9 [http://channel9.msdn.com/Shows/Visual-Studio-Toolbox/Using-Portable-Class-Libraries-with-Xamarin] , and I even did a 18 city roadshow [http://blog.xamarin.com/a-look-back-at-the-.net-rocks-roadshow/] discussing PCLs and Azure Mobile Services. On my GitHub [http://www.github.com/jamesmontemagno] I have started to build out a lot of applications, someti…

James Montemagno James Montemagno