James Montemagno
James Montemagno

Live, Love, Bike, and Code.

Tags


Twitter


James Montemagno

Live, Love, Bike, and Code.


Getting Started with Xamarin and Xamarin.Forms Q&A

Every day when I open my inbox or look on GitHub there is always a question or ten for me to answer. I recently got a nice long email from Clifton with a lot of questions and I thought that instead of emailing him back directly that I should write up a blog post with all of my answers for the world to enjoy and add some common questions I get all the time. Clifton wrote in and said he is investigating cross-platform development with Xamarin and Xamarin.Forms as it is one unified application plat…

James MontemagnoJames Montemagno

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 favor…

James MontemagnoJames Montemagno

Paste JSON as Code with quicktype.io in Visual Studio

quicktype! Yes that quicktype that I blogged about late last year on how to convert JSON to C# classes in the browser. I am back talking about it again because they have made tons of great enhancements and just today released a new extension for Visual Studio 2017! I should mention here that all of this is FREE. Watch Now, Questions Later Want to see it in action? Checkout my short video overview: Doesn't VS Do This? It is true that Visual Studio has a Paste JSON as Classes feature, but it basic…

James MontemagnoJames Montemagno

Building Xamarin.Android Apps in Team Services (VSTS) with Hosted Agents!

I recently wrote about how to build any Xamarin.iOS application inside of Visual Studio Team Services using Hosted macOS Agents for free! I have updated the guide a little bit if you are leveraging .NET Standard libraries to ensure that you build with MSBuild, which is pretty important seeing that all of the new templates will soon use these. That had me thinking "I wonder if there are any small tweaks that are needed for Xamarin.Android when building on the Hosted Agents?"... Which le…

James MontemagnoJames Montemagno

Building VSTS/TFS Tasks with TypeScript and VS Code

Over the last few years I have fallen in love with VSTS for handling all of my application and backend continuous integration, deployment, and release management. Each of these services offer a task based build and release definition that enable you to easily start automating anything. There are a ton of built in tasks, and a whole marketplace where you can install them into your VSTS/TFS project. At some point though, you may need to do something custom that isn't a task that has been built. Do…

James MontemagnoJames Montemagno

Data Caching Made Simple with Monkey Cache 🐒 for .NET

Let's be honest, every application needs to store data. Sometimes it is settings, configuration, HTTP requests, or a full database. What I was recently looking to accomplish was to make a web request, cache the request locally, and have it expire after a given amount of time. There are a lot of great solutions out there for storing data, but nothing seemed to fit exactly what I was looking for with a minimal amount of dependencies. So I figured I would tweet about it: What library should I use f…

James MontemagnoJames Montemagno