James Montemagno
James Montemagno

Live, Love, Bike, and Code.

Tags


James Montemagno

Live, Love, Bike, and Code.


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

Paste JSON as Code with quicktype.io in Visual Studio

quicktype! Yes that quicktype [http://quicktype.io] that I blogged about late last year [https://montemagno.com/convert-json-to-any-language-with-quicktype/] 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 [https://marketplace.visualstudio.com/items?itemName=typeguard.quicktype-vs]! I should mention here that all of this is FREE. Watch Now, Qu…

James Montemagno James Montemagno

Building Xamarin.Android Apps in Azure DevOps (VSTS) with Hosted Agents!

I recently wrote about how to build any Xamarin.iOS application inside of Visual Studio Team Services [https://montemagno.com/building-xamarin-ios-apps-in-team-services-vsts-with-hosted-macos-agents/] 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 sm…

James Montemagno James Montemagno

Building Azure DevOps (VSTS) Tasks with TypeScript and VS Code

Over the last few years I have fallen in love with Azure DevOps (VSTS) [http://visualstudio.com/team-services] 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 [https://marketplace.visualstudio.com/] where you can install them into your Azure DevOps (VSTS) pr…

James Montemagno James 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 shou…

James Montemagno James Montemagno

Building an ASP.NET Core Website with Xamarin.Forms, XAML, and Ooui

You read that correct, you can now totally build websites powered by XAML leveraging Xamarin.Forms and Frank Krueger [https://twitter.com/praeclarum]'s amazing Ooui library [https://github.com/praeclarum/Ooui]. If you haven't heard about Ooui yet, it is an amazing lightweight cross-platform UI library that brings the simplicity of native UI development to the web. For an in-depth overview take a listen to Merge Conflict [http://mergeconflict.fm] Episode 72 - Xamarin.Forms on the Web: To…

James Montemagno James Montemagno

My Top Nintendo Switch Games & Accessories

So, you just got a Nintendo Switch for the holidays, now what?!?! It can be overwhelming to navigate the eShop, which is full of goodies (and not so good junk), as well as trying to figure out what you actually need for your Nintendo Switch. If you are looking to get started be sure to head over to my original guide that still holds up on just Nintendo Switch accessories [https://montemagno.com/essential-accessories-for-nintendo-switch/], but after I tweeted about SnipperClips [http://amzn.to/2C…

James Montemagno James Montemagno

Introducing Azure DevOps (VSTS) Mobile App Tasks Extension for iOS and Android

This year I have made a big push towards making Visual Studio Team Services [http://visualstudio.com/team-services] my new continuous everything for my mobile apps, libraries, and any other project that I work on. While Azure DevOps (VSTS) has a lot of built in tasks for mobile applications, there are still a few essential things missing that would really make it a joy to use. The top that stuck out was having the ability to easily bump the version/build numbers for iOS and Android. The other wa…

James Montemagno James Montemagno