James Montemagno
James Montemagno

Live, Love, Bike, and Code.

Tags


James Montemagno

Xamarin

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

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

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

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

Azure DevOps (VSTS) [http://visualstudio.com/team-services] is quickly becoming one of my favorite products that Microsoft creates for developers. It helps any developer writing apps in any language build, test, and deploy their applications. On top of that it has free unlimited private Git repos, work item tracking and kanban board, test, release management, and so much more! What is cool is you can use some of it or all of it, up to you. So if you have your code in GitHub, no problem, want to…

James Montemagno James Montemagno

Streamlined TestFlight Registration with fastlane

I think we all can agree that attempting to do beta testing on iOS is pretty terrible. You can't side load apps easily, provisioning profiles are terrible, and manually adding people to TestFlight is no fun. All I want to do is get my app in users hands! Why do I have to go through so much stress? Well you don't, because fastlane [http://fastlane.tools] comes in to save the day just like it simplifies provisioning in Visual Studio for Mac [https://channel9.msdn.com/Shows/XamarinShow/Epi…

James Montemagno James Montemagno

Xamarin Live Player - VS 2017 version 15.4 & 15.5 Awesomeness

Last week Visual Studio 2017 version 15.4 and VS for Mac 7.2 were released into the stable channel. They include the very first release of the Xamarin Live Player [http://xamarin.com/live] capabilities in Visual Studios. This means you can simply update Visual Studio, turn on Xamarin Live Player (Preview), and get started visualizing your mobile apps with nothing more than VS and your iOS or Android device! Whenever there is a stable release a new preview release of Visual Studio is not far b…

James Montemagno James Montemagno

iOS 11 Missing Marketing Icon

It is update season for iOS and Android applications with new versions of the operating systems being released. Today, I was on my way to push out a new version of the Xamarin Live Player [http://xamarin.com/live] to Test Flight users and hit this nasty error: > Missing Marketing Icon. iOS Apps must include a 1024x1024px Marketing Icon in PNG format. Apps that do not include the Marketing Icon cannot be submitted for App Review or Beta App Review. What is that?!?!? I swear I uploaded the i…

James Montemagno James Montemagno

Convert Json to C# (and More) with quicktype

How often do you run into the situation where you are reading data from a json file or hitting a RESTful endpoint and pulling down a huge json file that you then need to deserialize? I bet pretty often as I know I do all the time. The next issue of course is that you have this bug json file, but you need to generate the actual data types, POCOs, inside of your C# code. This can be extremely tedious if you try to do it by hand and other websites give you lack luster C# files where you have to add…

James Montemagno James Montemagno