Xamarin Blog

An open source mobile platform for building Android, iOS, macOS, watchOS, and tvOS apps with .NET.

Image Screen Recording 2020 01 13 at 16 38 45
Toggling Tabs with Triggers

Learn more about how Xamarin.Forms makes setting Tab Icons super easy and how using Triggers allow you to set a property or group of properties based on the value of another property.

Xamarin Developer Summit Monkeys
Xamarin and .NET Developer Events in February

A full list of Xamarin and .NET developer engagements this February! Find links to our Community page, local Meetups, Github projects, and StackOverflow accounts. As well as the developer Twitter, Gitter, and Facebook pages. Read on to discover your events of interest this month.

Xamarin Goes Dual Screen

Surface Duo introduces a whole new class of ultra-portable experiences running on dual screens. Today we are excited to announce our public preview of the SDK for Surface Duo. Xamarin developers can take advantage of the new SDK to enlighten existing apps and create innovative experiences for this new device that inspires creativity.

Android

Image of a web authenticator flow starting with the mobile app, calling the ASP.NET Backend, then to an external provider that handles the main oAuth flow and returns a token back to the ASP.NET controller and then back to the mobile application.
Social Authentication with Xamarin.Essentials and ASP.NET Core

Many apps require adding user authentication, and this often means enabling your users to sign in their existing Microsoft, Facebook, Google, and now Apple Sign In accounts. With Xamarin.Essentials' new WebAuthenticator and using ASP.NET Core on your backend it has never been easier. Learn more!

Image mushrooms
Android Image Classification with TensorFlow Lite & Azure Custom Vision Service

Image Classification allows our Xamarin apps to recognize objects in a photo. This article will walkthrough how to implement using Azure's Custom Vision Service, TensorFlow Lite (an open source machine learning platform) and Xamarin.Android.

Image customprofile
Faster Application Startup using Custom Profiles with Startup Tracing on Android

Developers today can already take advantage of Startup Tracing to improve the startup time of their Android apps. Today, I will show you a new feature that let's you build a custom profile to be used for your app with Startup Tracing that finely tunes and optimizes your apps startup.

Kotlin Bubble Picker Binding Demo
Binding Android Kotlin Libraries

The ability to reuse components built with Kotlin has become increasingly important to Xamarin developers as their popularity amongst developers continues to grow. This post describes a high-level process of binding a Kotlin framework. Additional information with a detailed walkthrough is now available at Microsoft documentation.

Image Jetpack logo 2
Xamarin.Forms & Xamarin.Essentials Go AndroidX

AndroidX is here! Find out our plans for integration into Xamarin.Forms, Xamarin.Essentials, and beyond. Also, if you are a library creator we recommend a migration strategy for you and your users.

Image AndroidXMigrator
AndroidX NuGet Packages are Stable!

Today we are happy to bring you stable AndroidX NuGet packages. Since AndroidX is a large change for your Android projects, we’ve introduced a number of ways for you to migrate your project. Learn more!

Xamarin Goes Dual Screen

Surface Duo introduces a whole new class of ultra-portable experiences running on dual screens. Today we are excited to announce our public preview of the SDK for Surface Duo. Xamarin developers can take advantage of the new SDK to enlighten existing apps and create innovative experiences for this new device that inspires creativity.

DevOps for Android App Bundles

Android App Bundle is a new app packaging format from Google for Android applications that dramatically reduces the install size for end users.

Visual State Manager in Action
Simplifying Visual State Manager with TargetName

The Visual State Manager (VSM) can now change a property on any child element within scope for our new Xamarin.Forms 4.5 pre-release version.

Publish smaller apps with the Android App Bundle

The Android App Bundle (.aab) is a new upload format that includes all of your app’s compiled code and resources, but defers APK generation and signing to Google Play at install time.

Announcements

Image of different Xamarin Live Streamers
Virtual Xamarin and .NET Events in April

Find an awesome virtual Xamarin community user group, live-stream, community stand-up, or binge past events this April. If you are a user group leader we also have great resources to help you start up a virtual event for your user group. Learn more!

Image modal registration
5 Things to be Excited About Xamarin.Forms 4.5

Today we are thrilled to share that Xamarin.Forms 4.5 is now available bringing you AndroidX, new capabilities for creating responsive UI, and controls "in the box" to speed your development!

Xamarin TV demo app running on a Surface Neo emulator
Xamarin.Forms Comes to Surface Duo and Surface Neo

Today we are announcing the preview availability of our cross-platform dual-screen support for the Surface Duo and Surface Neo, two new and amazing devices coming from the Surface team!

Xamarin Goes Dual Screen

Surface Duo introduces a whole new class of ultra-portable experiences running on dual screens. Today we are excited to announce our public preview of the SDK for Surface Duo. Xamarin developers can take advantage of the new SDK to enlighten existing apps and create innovative experiences for this new device that inspires creativity.

Plush monkeys around a laptop
January Events for Xamarin and .NET Developers

New Year, tons of awesome new ways to kick off your resolutions with Xamarin and .NET related events this January. Explore all the recent news and updates with your community at developer Meetups around the world. Including online, virtual events to watch from the comfort of your home!

What’s New for Xamarin Developers in Visual Studio 2019 version 16.4

The Visual Studio 2019 version 16.4 release brings major productivity enhancements including the GA release of XAML Hot Reload for Xamarin.Forms, smaller Android APKs, tooling to migrate your applications to Android X, and numerous performance and reliability improvements.

Hacktoberfest PRs
Announcing the 2019 Xamarin Hacktoberfest Awards

Announcing Hacktoberfest 2019 contributors and swag awards with a grand total of 178 pull requests opened by 72 contributors this year alone!

WeatherColors using CollectionView
Xamarin.Forms 4.3 is live! Introducing CollectionView

Announcing the stable release of Xamarin.Forms 4.3.0! Marking the removal of the experimental flag from CollectionView as it moves into stable status. Along with this, comes a number of enhancements and contributions from the community including SourceLink support, the ability to display HTML on Labels, and more!

Welcome to Partly Cloudy!

Announcing a new series on Xamarin YouTube Channel called “Partly Cloudy“ with Matt Soucoup: Exploring topics around Azure, DevOps, and Xamarin to learn how to build an app from scratch - all the way through deployment to the App Stores!

Hacktoberfest 2019 – Xamarin Edition

Code for cotton or from your love for Xamarin in this year's Hacktoberfest! Here are the guidelines to get you started. Be sure to tag your pull requests with the "Hacktoberfest" label to be considered for a reward.

Case Studies

diabetes care iphone app
Customer Showcase: Transforming Diabetes Management with the BD Diabetes Care app

Xamarin Showcase: BD is a leading healthcare safety and technologies company here to talk about their Diabetes Care app and vision to bring diabetes management to the 21st century. Read on to learn how it all started and what the future holds for the DC app.

Xamarin Customer Showcase: Little Cupid Transforms TV into Augmented Reality

Today's customer showcase story shows how aspiring developers are using the Little Cupid Xamarin App to transform the way we watch and interact with our favorite shows using mobile phones.

Appy Weather - Xamarin Weather Award Winning App
Customer Showcase: Third Culture Apps’ Award Winning Xamarin Apps

Third Culture Apps build beautiful and simple, yet powerful apps using .NET and Xamarin such as Ruff, the 2019 Google Material Design Award recipient, and Appy Weather, 2019 Best of Google Play award winning apps.

Customer Showcase: BBVA – Augmented Reality House Hunting

Customer Showcase - BBVA discusses Valora View and the use of various Microsoft technologies to address business needs for a mobile app that helps customers look for houses to rent or buy using Augmented Reality, Big Data, and 2D heat map features with .NET and Xamarin.

Customer Showcase: Aggreko

We are excited to announce a new inclusion to our Xamarin Showcase gallery:,The Aggreko Technician App - A key objective of Aggreko’s company-wide Aggreko18 digital transformation program was to streamline field operations and revolutionize their technician processes.

Iowa Caucuses Launch Inaugural Polling Apps with Xamarin
DuPont Diagnostics Takes Test Results Mobile with Xamarin
Los Angeles Department of Building and Safety Goes Mobile with Xamarin
Storytelling App Storyo Goes Cross-Platform with Xamarin
World Bank App Makes Complex Surveys Accessible Anywhere

Cloud

Announcing the Xamarin + Azure Functions Challenge!

A new developer coding challenge has emerged. Do you have what it takes to build and run a simple Xamarin app that uses Azure Functions to run tasks in the cloud? Choose to enter and you'll find yourself in a draw for some really cool prizes. Read the blog for details - your challenge awaits.

Upgrade Your App with Sentiment Analysis

Azure's Text Analytics Service makes it easy to add sentiment analysis to our cross-platform apps. Let's see how with this to implement it in a Xamarin app!

Using Object Detection from inside your Xamarin app

Microsoft Cognitive Services provide a great way to get started with AI without being a machine learning or data science expert. A common favorite of cognitive services is the Custom Vision Service. The first version of this service allowed you to easily build an image classifier model that you could access either via a REST API (with an SDK available for Xamarin apps), or by downloading a model that can be run on your device using either CoreML, TensorFlow or WindowsML (we looked at using TensorFlow in an Android app in an earlier blog post).

Developers

Image of different Xamarin Live Streamers
Virtual Xamarin and .NET Events in April

Find an awesome virtual Xamarin community user group, live-stream, community stand-up, or binge past events this April. If you are a user group leader we also have great resources to help you start up a virtual event for your user group. Learn more!

Image customprofile
Faster Application Startup using Custom Profiles with Startup Tracing on Android

Developers today can already take advantage of Startup Tracing to improve the startup time of their Android apps. Today, I will show you a new feature that let's you build a custom profile to be used for your app with Startup Tracing that finely tunes and optimizes your apps startup.

Image xamarin preemptive logos
Dotfuscator Comes to Visual Studio for Mac to Help Protect Apps

Dotfuscator from PreEmptive helps .NET developers all over the globe protect their apps from reverse-engineering and hacking. Dotfuscator has been available for Xamarin developers using Visual Studio 2019 on Windows, but now with the release of Professional 6 is available on Visual Studio for Mac and cloud builds!

Image 3 Visible Options repeating for ios android uwp
Every Xamarin.Forms Layout is a Repeater Control

Repeating content and controls has never been easier by leveraging the built in Bindable Layout support in Xamarin.Forms to help create beautiful apps.

Plush monkeys around a laptop
Xamarin and .NET Developer Events in March

This March, discover the world of Xamarin and .NET development through in-person and virtual opportunities all month long. Explore recent news and updates with your community at local developer Meetups, or online from the comfort of your home!

Image Jetpack logo 2
Xamarin.Forms & Xamarin.Essentials Go AndroidX

AndroidX is here! Find out our plans for integration into Xamarin.Forms, Xamarin.Essentials, and beyond. Also, if you are a library creator we recommend a migration strategy for you and your users.

Image NET Conf Xamarin Small
Announcing .NET Conf: Focus on Xamarin

Join us on March 23rd, 2020 at 08:00 PST for .NET Conf: Focus on Xamarin! A one-day, live-streamed event featuring speakers from the Xamarin product team and the Xamarin community.

Xamarin TV demo app running on a Surface Neo emulator
Xamarin.Forms Comes to Surface Duo and Surface Neo

Today we are announcing the preview availability of our cross-platform dual-screen support for the Surface Duo and Surface Neo, two new and amazing devices coming from the Surface team!

diabetes care iphone app
Customer Showcase: Transforming Diabetes Management with the BD Diabetes Care app

Xamarin Showcase: BD is a leading healthcare safety and technologies company here to talk about their Diabetes Care app and vision to bring diabetes management to the 21st century. Read on to learn how it all started and what the future holds for the DC app.

DevOps for Android App Bundles

Android App Bundle is a new app packaging format from Google for Android applications that dramatically reduces the install size for end users.

DevOps

Introducing the DevOps for Mobile Video Series

Introducing the DevOps for Mobile video series now streaming on YouTube and Channel 9. We tackle a wide range of topics including continuous integration, user interface testing, provisioning, distribution, and a lot more. We guide you through each topic with easy to follow demos, but more importantly we have conversations around each area.

The C# Developer’s Guide to Shipping Better Apps with Visual Studio App Center

At our annual Microsoft Connect event in November, we announced the General Availability of Visual Studio App Center, combining our best developer services, incuding Xamarin Test Cloud and HockeyApp, into one free, easy-to-use cloud service to help you ship better apps, faster. From building in the cloud to automatically testing on thousands of real devices, distributing to testers and app stores, and monitoring real-time crash and analytics data, Visual Studio App Center fully supports Xamarin apps.

Simplified App Signing with Secure Files in Azure Devops

Education

Plush monkeys around a laptop
Xamarin and .NET Developer Events in March

This March, discover the world of Xamarin and .NET development through in-person and virtual opportunities all month long. Explore recent news and updates with your community at local developer Meetups, or online from the comfort of your home!

Plush monkeys around a laptop
January Events for Xamarin and .NET Developers

New Year, tons of awesome new ways to kick off your resolutions with Xamarin and .NET related events this January. Explore all the recent news and updates with your community at developer Meetups around the world. Including online, virtual events to watch from the comfort of your home!

All Things Xamarin at Microsoft Ignite 2019

This year at Microsoft Ignite the Xamarin team was everywhere! In addition to being all around the Developer Architecture Center booths, there were sessions and workshops throughout the conference - all available on-demand!

Xamarin Podcast: .NET Conf Recap!

Co-hosts Matt Soucoup and James Montemagno cover a range of topics relevant to Xamarin developers from designing mobile apps to identity management. This month’s Xamarin Podcast episode features a full .NET Conf 2019 recap!

Welcome to Partly Cloudy!

Announcing a new series on Xamarin YouTube Channel called “Partly Cloudy“ with Matt Soucoup: Exploring topics around Azure, DevOps, and Xamarin to learn how to build an app from scratch - all the way through deployment to the App Stores!

Introducing the DevOps for Mobile Video Series

Introducing the DevOps for Mobile video series now streaming on YouTube and Channel 9. We tackle a wide range of topics including continuous integration, user interface testing, provisioning, distribution, and a lot more. We guide you through each topic with easy to follow demos, but more importantly we have conversations around each area.

Keep Up to Date With the Latest Xamarin Docs

The Xamarin documentation portal is home to everything you need to know about building apps with Xamarin and Xamarin.Forms. There you will find great quickstarts, tutorials, and deep-dive content. The docs are always updating and can easily be contributed to, so here are a few things on how to keep up with docs.

Illustration of two Xamarin learning path trophies from Microsoft Learn, one showing a stack of three mobile devices and one showing an app being painted with a roller
Get Started with Free Xamarin Training on Microsoft Learn

Learn how to build cross-platform mobile applications with the new Xamarin.Forms content on Microsoft Learn; A new and completely free platform where you can earn points and badges, level up, and advance your development skills.

The Next Evolution of Xamarin Training: Microsoft Learn

The Xamarin University team has joined Microsoft Learn to incorporate many of the great features Xamarin University has, to announce building Xamarin apps in Microsoft Learn: a free and interactive learning portal.

The New & Improved Xamarin Developers YouTube Channel!

We are excited to re-launch our Xamarin Developers YouTube channel where you will find fresh content on building amazing mobile apps directly from the Xamarin team at Microsoft. We have teamed up with our community and built a video to show off this channel.

Events

Image of different Xamarin Live Streamers
Virtual Xamarin and .NET Events in April

Find an awesome virtual Xamarin community user group, live-stream, community stand-up, or binge past events this April. If you are a user group leader we also have great resources to help you start up a virtual event for your user group. Learn more!

Xamarin Conf 6 Days Aways
.NET Conf: Focus On Xamarin is Next Week!

We are just one week away from the largest Xamarin digital event of the year, .NET Conf: Focus on Xamarin! Join us live on Channel 9, YouTube, & Twitch for a full day of Xamarin awesome!

Plush monkeys around a laptop
Xamarin and .NET Developer Events in March

This March, discover the world of Xamarin and .NET development through in-person and virtual opportunities all month long. Explore recent news and updates with your community at local developer Meetups, or online from the comfort of your home!

Image NET Conf Xamarin Small
Announcing .NET Conf: Focus on Xamarin

Join us on March 23rd, 2020 at 08:00 PST for .NET Conf: Focus on Xamarin! A one-day, live-streamed event featuring speakers from the Xamarin product team and the Xamarin community.

Xamarin Developer Summit Monkeys
Xamarin and .NET Developer Events in February

A full list of Xamarin and .NET developer engagements this February! Find links to our Community page, local Meetups, Github projects, and StackOverflow accounts. As well as the developer Twitter, Gitter, and Facebook pages. Read on to discover your events of interest this month.

Plush monkeys around a laptop
January Events for Xamarin and .NET Developers

New Year, tons of awesome new ways to kick off your resolutions with Xamarin and .NET related events this January. Explore all the recent news and updates with your community at developer Meetups around the world. Including online, virtual events to watch from the comfort of your home!

Xamarin swag including stickers, monkeys, and shirts
Xamarin Challenge: Santa Talk – Build an Intelligent, Serverless Xamarin App

This Winter Solstice, give the Xamarin holiday challenge a spin for a chance to win awesome Xamarin swag by forking or cloning the Santa Talk repo and submitting to GitHub!

Xamarin Developer Summit Monkeys
December Xamarin and .NET Events

December is a wonderful time to discover Xamarin and .NET development. Explore all the latest news and updates with your community at developer events around the world, as well as find a bunch of virtual events to watch online!

Relive Xamarin Developer Summit with On-Demand Videos

The Xamarin Developer Summit was a two-day event packed full of deep technical content from the Xamarin team and amazing community members. For those that couldn’t attend, the main sessions were recorded and available today on-demand!

All Things Xamarin at Microsoft Ignite 2019

This year at Microsoft Ignite the Xamarin team was everywhere! In addition to being all around the Developer Architecture Center booths, there were sessions and workshops throughout the conference - all available on-demand!

Integrations

Image xamarin preemptive logos
Dotfuscator Comes to Visual Studio for Mac to Help Protect Apps

Dotfuscator from PreEmptive helps .NET developers all over the globe protect their apps from reverse-engineering and hacking. Dotfuscator has been available for Xamarin developers using Visual Studio 2019 on Windows, but now with the release of Professional 6 is available on Visual Studio for Mac and cloud builds!

Send Surveys, Collect Feedback, and Smash Bugs with One Line of Code with Instabug

In this Guest Blog post learn why having in-app feedback is important to application success and how Instabug can enable a super simple way to stream line user feedback and crash reporting.

Animation of a contact application on Android built with Xamarin.Essentials
Add Contact Features in 4 Lines of Code with Xamarin.Essentials

See how you can create a contact application to send an sms, email, place a phone call, and navigate to a location with just 4 lines of code with Xamarin.Essentials.

Xamarin.Essentials welcomes tvOS, watchOS, and Tizen

Xamarin.Essentials, your favorite cross-platform library to access native features from shared code adds new file bases APIs for sharing, email, and opening. It also adds watchOS, tvOS, and Tizen platform support in the 1.3 pre-update!

Persisting Settings and Preferences in Mobile Apps with Xamarin.Essentials

An essential part of any mobile application is the ability to persist data. Sometimes that is a large amount of data that requires a database, but often it is smaller pieces of data such as settings and preferences that need to be persisted between application launches. This is where Xamarin.Essentials can help out with its wide range of cross-platform APIs for mobile apps.

Easily Check Mobile Device Connectivity with Xamarin.Essentials

As a mobile app developer, it's great to be able to pull data from the server to our apps to provide users with a delightful experience. Of course, until your user puts their device on airplane mode or hits a rough patch with no cell reception. To provide the best user experience we need access to the current network state of our users' device. Better yet, be able to register for changes to that network state. Doing this will allow our mobile apps to react to different network conditions to provide users with instant feedback. With the connectivity API in Xamarin.Essentials, we can do just that with a few lines of code.

Protect your Xamarin.Android Apps at Runtime with Dotfuscator

n a previous blog we discussed obfuscating your Xamarin application with Dotfuscator Community to protect it from reverse-engineering. That kind of protection is an important and necessary layer in your application's security posture, but it shouldn't be the only layer. The application also needs to react to threats at runtime in order to protect its own integrity, and to protect the data that it accesses.

Upgrade Your App with Sentiment Analysis

Azure's Text Analytics Service makes it easy to add sentiment analysis to our cross-platform apps. Let's see how with this to implement it in a Xamarin app!

Using Object Detection from inside your Xamarin app

Microsoft Cognitive Services provide a great way to get started with AI without being a machine learning or data science expert. A common favorite of cognitive services is the Custom Vision Service. The first version of this service allowed you to easily build an image classifier model that you could access either via a REST API (with an SDK available for Xamarin apps), or by downloading a model that can be run on your device using either CoreML, TensorFlow or WindowsML (we looked at using TensorFlow in an Android app in an earlier blog post).

Guest Post: Visual UI tests on iOS simulator using Xamarin and Appium

In this tutorial, you will learn how to integrate automated visual user interface tests into a development toolchain that includes Xcode iOS simulator using Xamarin, Appium, Applitools, and macOS.

iOS

Image of a web authenticator flow starting with the mobile app, calling the ASP.NET Backend, then to an external provider that handles the main oAuth flow and returns a token back to the ASP.NET controller and then back to the mobile application.
Social Authentication with Xamarin.Essentials and ASP.NET Core

Many apps require adding user authentication, and this often means enabling your users to sign in their existing Microsoft, Facebook, Google, and now Apple Sign In accounts. With Xamarin.Essentials' new WebAuthenticator and using ASP.NET Core on your backend it has never been easier. Learn more!

Xamarin.iOS Swift Binding Gigya
Binding iOS Swift Libraries

The ability to reuse components built with Swift has become increasingly important to Xamarin developers as their popularity amongst developers continues to grow. This post describes a high-level process of binding a Swift framework. Additional information available through Microsoft documentation.

Visual State Manager in Action
Simplifying Visual State Manager with TargetName

The Visual State Manager (VSM) can now change a property on any child element within scope for our new Xamarin.Forms 4.5 pre-release version.

Build Great Xamarin Apps with App Center

Visual Studio App Center offers integrated and end-to-end developer services for building, managing and powering your Xamarin iOS and Android apps. Easily integrate globally scalable backend services with just a few lines of code. Automate your build, test, and distribution pipelines, while continuously monitoring real-time performance.

Xamarin Announcements from .NET Conf 2019

Today at .NET Conf 2019, we shared some exciting announcements for Xamarin and Visual Studio developers, enabling you to be more productive and use the full power, performance, and capabilities of iOS/Android in your applications.

Get Ready for iOS 13 and Xcode 11

Support for iOS 13 and Xcode 11 to accompany Apple’s Xcode Gold Master (GM) release has just been announced! Now, build your Xamarin.iOS (and Xamarin.Forms for iOS) apps with Xcode 11 GM and submit your iOS 13, tvOS 13 and watchOS 6 apps to the Apple App Store.

Modernizing iOS Apps for Dark Mode with Xamarin

Xamarin.iOS and Xamarin.Forms deliver native iOS experiences for iOS 13 Apple which introduces dark mode: A system-wide option for light and dark themes to choose themes or allow iOS to dynamically change appearance based on the environment and time of day.

Send Surveys, Collect Feedback, and Smash Bugs with One Line of Code with Instabug

In this Guest Blog post learn why having in-app feedback is important to application success and how Instabug can enable a super simple way to stream line user feedback and crash reporting.

Snppts – Beautiful UI Snippets for Xamarin.Forms

Guest Post: Snppts allows you to contribute your user interface designs created in Xamarin to benefit other community members and to show off your work. Contributing is as simple as creating a PR on our repository with your author and snippet information. Learn more...

iOS 13 Preview Release Now Available

Today, we are excited to share our first preview containing support for iOS 13 and Xcode 11! With today's preview, you can begin building applications using Xcode 13 and begin integrating existing new APIs for iOS 13 such as Sign in with Apple, along with support for iPadOS 13, watchOS 6, tvOS 13, and macOS 10.15.

Leadership

Bringing Communities Together: Xamarin MVPs Join Microsoft MVPs
Save the Date for Xamarin Evolve 2016
Creating Your First WatchKit App
300 Components and Counting
New Xamarin Profiler Preview
Eight Reasons C# is the Best Language for Mobile Development

macOS

Get Ready for iOS 13 and Xcode 11

Support for iOS 13 and Xcode 11 to accompany Apple’s Xcode Gold Master (GM) release has just been announced! Now, build your Xamarin.iOS (and Xamarin.Forms for iOS) apps with Xcode 11 GM and submit your iOS 13, tvOS 13 and watchOS 6 apps to the Apple App Store.

iOS 13 Preview Release Now Available

Today, we are excited to share our first preview containing support for iOS 13 and Xcode 11! With today's preview, you can begin building applications using Xcode 13 and begin integrating existing new APIs for iOS 13 such as Sign in with Apple, along with support for iPadOS 13, watchOS 6, tvOS 13, and macOS 10.15.

Migrating MacOS Apps to 64-bit Before the Apple Transition

Apple has been moving towards 64-bit only applications on macOS for a number of releases. Though new Xamarin.Mac applications target 64-bit by default, any existing Xamarin.Mac applications that target 32-bit must be migrated to 64-bit to continue working in the future. Learn more.

Getting Ready for macOS’s Hardened Runtime and Notary

With macOS Mojave, Apple introduced support for Hardened Runtime and Notary service. These two services are designed to improve application security on macOS. Recently Apple has stated:

“Beginning in macOS 10.14.5, all new or updated kernel extensions and all software from developers new to distributing with Developer ID must be notarized in order to run. In a future version of macOS, notarization will be required by default for all software.”

CoreML Programming with Xamarin.Mac and F#

Although Xamarin technologies are most commonly used to develop mobile applications, Xamarin.Mac makes it easy to use your preferred .NET language to develop desktop Mac apps. There are many C# examples in Xamarin’s mac-samples directory on Github, but it's also easy to use F# to develop desktop Mac apps as well.

Supercharge Your Xamarin.Mac Application Startup Time

Podcasts

Xamarin Podcast: Let’s Focus on Xamarin!

Keeping up with the latest in .NET, C#, Xamarin, and Azure is easier than ever. Co-hosts Matt Soucoup and James Montemagno cover a range of topics relevant to Xamarin developers from designing mobile apps to identity management. In this month’s episode James and Matt pull out all the stops and really Focus on Xamarin.

Plush monkeys around a laptop
Xamarin and .NET Developer Events in March

This March, discover the world of Xamarin and .NET development through in-person and virtual opportunities all month long. Explore recent news and updates with your community at local developer Meetups, or online from the comfort of your home!

Xamarin Podcast: It’s a Brand New Decade!

It’s a new decade, and in this inaugural pod of the roaring 20s, James and Matt cover some holidays hacks, and the brand new version of Xamarin.Essentials!

Plush monkeys around a laptop
January Events for Xamarin and .NET Developers

New Year, tons of awesome new ways to kick off your resolutions with Xamarin and .NET related events this January. Explore all the recent news and updates with your community at developer Meetups around the world. Including online, virtual events to watch from the comfort of your home!

Xamarin Podcast: All The New 4’s: Xamarin Forms 4.4 and Visual Studio 16.4!

Keep up with the latest in .NET, C#, Xamarin, and Azure with co-hosts Matt Soucoup and James Montemagno! Covering a range of topics relevant to Xamarin developers from designing mobile apps to identity management.

This month’s episode we’re all about the new 4’s! Xamarin.Forms 4.4 and Visual Studio 16.4!

Xamarin Podcast: .NET Conf Recap!

Co-hosts Matt Soucoup and James Montemagno cover a range of topics relevant to Xamarin developers from designing mobile apps to identity management. This month’s Xamarin Podcast episode features a full .NET Conf 2019 recap!

Welcome to Partly Cloudy!

Announcing a new series on Xamarin YouTube Channel called “Partly Cloudy“ with Matt Soucoup: Exploring topics around Azure, DevOps, and Xamarin to learn how to build an app from scratch - all the way through deployment to the App Stores!

Visual Studio

What’s New for Xamarin Developers in Visual Studio 2019 version 16.5

Visual Studio 2019 version 16.5 is available today and packed full of awesome new features for Xamarin developers including Hot Restart, Apply Changes, Multi-target XAML Hot Reload, faster Android startup, and tons more!

GIF displaying multi-target reloading in XAML Hot Reload for Xamarin.Forms.
What’s New for Xamarin Developers in Visual Studio 2019 for Mac Version 8.5 Preview 2

This week, Visual Studio 2019 for Mac version 8.5 Preview 2 was released, bringing several new features and improvements for mobile developers in Visual Studio for Mac to help you build better mobile apps, faster.

What’s New for Xamarin Developers in Visual Studio 2019 version 16.5 Preview

This week, Visual Studio 2019 version 16.5 Preview 2 was released, bringing several new features and improvements for Xamarin Developers including Xamarin Hot Restart, Android apply changes, faster Android startup, XAML online documentation, and more!

Visual State Manager in Action
Simplifying Visual State Manager with TargetName

The Visual State Manager (VSM) can now change a property on any child element within scope for our new Xamarin.Forms 4.5 pre-release version.

What’s New for Xamarin Developers in Visual Studio 2019 version 16.4

The Visual Studio 2019 version 16.4 release brings major productivity enhancements including the GA release of XAML Hot Reload for Xamarin.Forms, smaller Android APKs, tooling to migrate your applications to Android X, and numerous performance and reliability improvements.

Xamarin Announcements from .NET Conf 2019

Today at .NET Conf 2019, we shared some exciting announcements for Xamarin and Visual Studio developers, enabling you to be more productive and use the full power, performance, and capabilities of iOS/Android in your applications.

Announcing Xamarin Hot Restart

Today at .NET Conf 2019, we announced Xamarin Hot Restart which enables you to test changes made to your app, including multi-file code edits, resources, and references, using a much faster build and deploy cycle.

.NET Conf and Local Events!

.NET Conf: a FREE, 3-day virtual developer event co-organized by the .NET community and Microsoft, is live-streaming to a device near you on September 23-25 with local events around the world through October! .NET Core 3.0 will also launch at .NET Conf 2019 - You won't want to miss this.

What’s New for Xamarin Developers in Visual Studio 2019 Previews

Visual Studio 2019 version 16.3 Preview 2 and Visual Studio 2019 for Mac version 8.3 Preview 2 released with major productivity enhancements: XAML Hot Reload for Xamarin.Forms, improvements to the XAML Previewer, along with support for the latest Android Q APIs.

Visual Studio 2017 Version 15.6 Now Available!

watchOS

Get Ready for iOS 13 and Xcode 11

Support for iOS 13 and Xcode 11 to accompany Apple’s Xcode Gold Master (GM) release has just been announced! Now, build your Xamarin.iOS (and Xamarin.Forms for iOS) apps with Xcode 11 GM and submit your iOS 13, tvOS 13 and watchOS 6 apps to the Apple App Store.

Xamarin.Essentials welcomes tvOS, watchOS, and Tizen

Xamarin.Essentials, your favorite cross-platform library to access native features from shared code adds new file bases APIs for sharing, email, and opening. It also adds watchOS, tvOS, and Tizen platform support in the 1.3 pre-update!

iOS 13 Preview Release Now Available

Today, we are excited to share our first preview containing support for iOS 13 and Xcode 11! With today's preview, you can begin building applications using Xcode 13 and begin integrating existing new APIs for iOS 13 such as Sign in with Apple, along with support for iPadOS 13, watchOS 6, tvOS 13, and macOS 10.15.

Get Your Apps Ready for Apple’s New Watch Processor Architecture

Important changes are coming to watchOS! Checkout our support for Apple Watch Series 4 new processor architecture, ARM64_32 based on the Xamarin.iOS SDKs shipping with Visual Studio 2019 and Visual Studio 2019 for Mac.

Get Ready for iOS 12 and Xcode 10

Support for iOS 12 and Xcode 10 to accompany Apple’s Xcode Gold Master (GM) release has just been announced! We have also published updated documentation and samples to help you quickly get started with all the latest new features. Now, build your Xamarin.iOS (and of course Xamarin.Forms for iOS) applications with Xcode 10 GM and submit your iOS 12, tvOS 12, and watchOS 5 applications to the Apple App Store.

Xamarin

Image of a web authenticator flow starting with the mobile app, calling the ASP.NET Backend, then to an external provider that handles the main oAuth flow and returns a token back to the ASP.NET controller and then back to the mobile application.
Social Authentication with Xamarin.Essentials and ASP.NET Core

Many apps require adding user authentication, and this often means enabling your users to sign in their existing Microsoft, Facebook, Google, and now Apple Sign In accounts. With Xamarin.Essentials' new WebAuthenticator and using ASP.NET Core on your backend it has never been easier. Learn more!

Image mushrooms
Android Image Classification with TensorFlow Lite & Azure Custom Vision Service

Image Classification allows our Xamarin apps to recognize objects in a photo. This article will walkthrough how to implement using Azure's Custom Vision Service, TensorFlow Lite (an open source machine learning platform) and Xamarin.Android.

Xamarin Podcast: Let’s Focus on Xamarin!

Keeping up with the latest in .NET, C#, Xamarin, and Azure is easier than ever. Co-hosts Matt Soucoup and James Montemagno cover a range of topics relevant to Xamarin developers from designing mobile apps to identity management. In this month’s episode James and Matt pull out all the stops and really Focus on Xamarin.

Image customprofile
Faster Application Startup using Custom Profiles with Startup Tracing on Android

Developers today can already take advantage of Startup Tracing to improve the startup time of their Android apps. Today, I will show you a new feature that let's you build a custom profile to be used for your app with Startup Tracing that finely tunes and optimizes your apps startup.

Xamarin Conf 6 Days Aways
.NET Conf: Focus On Xamarin is Next Week!

We are just one week away from the largest Xamarin digital event of the year, .NET Conf: Focus on Xamarin! Join us live on Channel 9, YouTube, & Twitch for a full day of Xamarin awesome!

What’s New for Xamarin Developers in Visual Studio 2019 version 16.5

Visual Studio 2019 version 16.5 is available today and packed full of awesome new features for Xamarin developers including Hot Restart, Apply Changes, Multi-target XAML Hot Reload, faster Android startup, and tons more!

Image xamarin preemptive logos
Dotfuscator Comes to Visual Studio for Mac to Help Protect Apps

Dotfuscator from PreEmptive helps .NET developers all over the globe protect their apps from reverse-engineering and hacking. Dotfuscator has been available for Xamarin developers using Visual Studio 2019 on Windows, but now with the release of Professional 6 is available on Visual Studio for Mac and cloud builds!

Kotlin Bubble Picker Binding Demo
Binding Android Kotlin Libraries

The ability to reuse components built with Kotlin has become increasingly important to Xamarin developers as their popularity amongst developers continues to grow. This post describes a high-level process of binding a Kotlin framework. Additional information with a detailed walkthrough is now available at Microsoft documentation.

Xamarin.iOS Swift Binding Gigya
Binding iOS Swift Libraries

The ability to reuse components built with Swift has become increasingly important to Xamarin developers as their popularity amongst developers continues to grow. This post describes a high-level process of binding a Swift framework. Additional information available through Microsoft documentation.

Image modal registration
5 Things to be Excited About Xamarin.Forms 4.5

Today we are thrilled to share that Xamarin.Forms 4.5 is now available bringing you AndroidX, new capabilities for creating responsive UI, and controls "in the box" to speed your development!

Xamarin.Forms

Screenshot of the iOS Simulator showing an example of custom font usage with embedded fonts on iOS
Embedded Fonts: Custom Fonts in Xamarin.Forms

Embedded fonts means no more platform-specific handling of fonts or adding font files in three different projects. In this post we will see how to use this in Xamarin.Forms 4.5.530 and up.

Image of a web authenticator flow starting with the mobile app, calling the ASP.NET Backend, then to an external provider that handles the main oAuth flow and returns a token back to the ASP.NET controller and then back to the mobile application.
Social Authentication with Xamarin.Essentials and ASP.NET Core

Many apps require adding user authentication, and this often means enabling your users to sign in their existing Microsoft, Facebook, Google, and now Apple Sign In accounts. With Xamarin.Essentials' new WebAuthenticator and using ASP.NET Core on your backend it has never been easier. Learn more!

Increase Binding Possibilities with RelativeSource

RelativeSource is a markup extension that is used to bind a property of a given element to another property of the element itself. This articles shares examples, documentation, and more!

Image customprofile
Faster Application Startup using Custom Profiles with Startup Tracing on Android

Developers today can already take advantage of Startup Tracing to improve the startup time of their Android apps. Today, I will show you a new feature that let's you build a custom profile to be used for your app with Startup Tracing that finely tunes and optimizes your apps startup.

Xamarin Conf 6 Days Aways
.NET Conf: Focus On Xamarin is Next Week!

We are just one week away from the largest Xamarin digital event of the year, .NET Conf: Focus on Xamarin! Join us live on Channel 9, YouTube, & Twitch for a full day of Xamarin awesome!

Image 3 Visible Options repeating for ios android uwp
Every Xamarin.Forms Layout is a Repeater Control

Repeating content and controls has never been easier by leveraging the built in Bindable Layout support in Xamarin.Forms to help create beautiful apps.

Image modal registration
5 Things to be Excited About Xamarin.Forms 4.5

Today we are thrilled to share that Xamarin.Forms 4.5 is now available bringing you AndroidX, new capabilities for creating responsive UI, and controls "in the box" to speed your development!

Xamarin Podcast: Xamarin.Forms Trigger Mania!

In this month’s episode, there’s news about every type of Xamarin.Forms Trigger, and they cover it all. And did you know Xamarin.Forms has dual screen support for the new Surface New and Duo? Tune in to find out more!

Image Jetpack logo 2
Xamarin.Forms & Xamarin.Essentials Go AndroidX

AndroidX is here! Find out our plans for integration into Xamarin.Forms, Xamarin.Essentials, and beyond. Also, if you are a library creator we recommend a migration strategy for you and your users.

Xamarin TV demo app running on a Surface Neo emulator
Xamarin.Forms Comes to Surface Duo and Surface Neo

Today we are announcing the preview availability of our cross-platform dual-screen support for the Surface Duo and Surface Neo, two new and amazing devices coming from the Surface team!

Xamarin Platform

Image of a web authenticator flow starting with the mobile app, calling the ASP.NET Backend, then to an external provider that handles the main oAuth flow and returns a token back to the ASP.NET controller and then back to the mobile application.
Social Authentication with Xamarin.Essentials and ASP.NET Core

Many apps require adding user authentication, and this often means enabling your users to sign in their existing Microsoft, Facebook, Google, and now Apple Sign In accounts. With Xamarin.Essentials' new WebAuthenticator and using ASP.NET Core on your backend it has never been easier. Learn more!

Xamarin Conf 6 Days Aways
.NET Conf: Focus On Xamarin is Next Week!

We are just one week away from the largest Xamarin digital event of the year, .NET Conf: Focus on Xamarin! Join us live on Channel 9, YouTube, & Twitch for a full day of Xamarin awesome!

What’s New for Xamarin Developers in Visual Studio 2019 version 16.5

Visual Studio 2019 version 16.5 is available today and packed full of awesome new features for Xamarin developers including Hot Restart, Apply Changes, Multi-target XAML Hot Reload, faster Android startup, and tons more!

Image AndroidXMigrator
AndroidX NuGet Packages are Stable!

Today we are happy to bring you stable AndroidX NuGet packages. Since AndroidX is a large change for your Android projects, we’ve introduced a number of ways for you to migrate your project. Learn more!

GIF displaying multi-target reloading in XAML Hot Reload for Xamarin.Forms.
What’s New for Xamarin Developers in Visual Studio 2019 for Mac Version 8.5 Preview 2

This week, Visual Studio 2019 for Mac version 8.5 Preview 2 was released, bringing several new features and improvements for mobile developers in Visual Studio for Mac to help you build better mobile apps, faster.

DevOps for Android App Bundles

Android App Bundle is a new app packaging format from Google for Android applications that dramatically reduces the install size for end users.

Tips and Tricks for XAML Hot Reload

Kick start your productive new year with some tips and tricks for XAML Hot Reload for Xamarin.Forms. Such as making changes to your XAML files, saving, and instantly seeing those changes reflected on your app!

Plush monkeys around a laptop
Top Xamarin Blog Posts of 2019

Let's take a look back at the top blog posts for Xamarin developers from 2019 packed full with new releases, exciting events, product announcements, and brand new features to boost productivity and accelerate mobile development!

What’s New for Xamarin Developers in Visual Studio 2019 version 16.4

The Visual Studio 2019 version 16.4 release brings major productivity enhancements including the GA release of XAML Hot Reload for Xamarin.Forms, smaller Android APKs, tooling to migrate your applications to Android X, and numerous performance and reliability improvements.

November Xamarin and .NET Developer Events

This November, explore Xamarin and .NET development with your community at developer events all around the world. Find endless opportunities including conferences like She Sharp Conference, as well as virtual events online like Ignite!

XAML

Image 3 Visible Options repeating for ios android uwp
Every Xamarin.Forms Layout is a Repeater Control

Repeating content and controls has never been easier by leveraging the built in Bindable Layout support in Xamarin.Forms to help create beautiful apps.

Image Screen Recording 2020 01 13 at 16 38 45
Toggling Tabs with Triggers

Learn more about how Xamarin.Forms makes setting Tab Icons super easy and how using Triggers allow you to set a property or group of properties based on the value of another property.

GIF displaying multi-target reloading in XAML Hot Reload for Xamarin.Forms.
What’s New for Xamarin Developers in Visual Studio 2019 for Mac Version 8.5 Preview 2

This week, Visual Studio 2019 for Mac version 8.5 Preview 2 was released, bringing several new features and improvements for mobile developers in Visual Studio for Mac to help you build better mobile apps, faster.

Tips and Tricks for XAML Hot Reload

Kick start your productive new year with some tips and tricks for XAML Hot Reload for Xamarin.Forms. Such as making changes to your XAML files, saving, and instantly seeing those changes reflected on your app!