James Montemagno
James Montemagno

Live, Love, Bike, and Code.

Tags


Twitter


James Montemagno

PCL

Portable Class Libraries + HttpClient: So Happy Together!

I was recently on Channel 9’s VS Toolbox talking about Xamarin and Portable Class Libraries where I showed of an expense taking application called My Expenses. This little app uses a portable class library and a SQLite database to store and track all of your expenses. I built out a full app for Android, iOS, and Windows Phone using this single PCL that housed 80%+ of all my code! One feature in particular was a bit tricky which was that when the app starts up it calls out to a web service…

James MontemagnoJames Montemagno

Portable Class Library Tips and Tricks

There has been a recent explosion of PCL use since Microsoft and Xamarin added official support for Xamarin.Android and Xamarin.iOS. It is really amazing to have one project that is shared completely across Android, iOS, and all of the Windows platforms. I have blogged before about how to get “fake” PCL support, but I wanted to give an updated post on how to get up and running with a bunch of tips as well. It is important to remember that there is nothing special you need to do to g…

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

NuGets Everywhere! VS or XS!

Alright so a quick follow up to that huge blog I just wrote about PCLs. So PCLs are great for your core, but are also great because you can share PCLs with people and they will work everywhere. On Visual Studio there is a great Nuget Package Manager already that you can grab and install. If you are using Xamarin Studio you have a pretty great option as well with THIS Addin Our team here at Ceton does a bit of cross development on both Mac and on Visual Studio. If you are doing WP or Windows Stor…

James MontemagnoJames Montemagno

Xamarin + PCL + MAC Xamarin Studio + Visual Studio #LetsDoThis

This blog is now obsolete as official PCL support has been added to Xamarin.Android and Xamarin.iOS for both Visual Studio and Xamarin Studio. There is no longer a need to do any file copying or anything fancy, simply hit File->New Project -> PCL. I have a webinar: you can find here So last night at the Xamarin drinkup in Bellevue there was a lot of discussion about PCL and also bout MVVM frameworks such as the one I am using MVVMCross (Mvx). While PCL is “sorta”/“kinda”/“it should just w…

James MontemagnoJames Montemagno

I crush code and share it, publish NuGet packages, speak at conferences, upload videos, pretend I am good at playing video games, micro blog, tweet up a storm, drink gallons of coffee, and ride my bike. Checkout my monthly newsletter that you should subscribe to!