Microsoft And Xamarin Collaborate To Bring Native iOS and Android To Visual Studio
Written by Mike James   
Wednesday, 13 November 2013

Xamarin, best known for championing .NET when Microsoft's interests moved elsewhere, is being embraced by Microsoft as a way of bringing Android and iOS development into Visual Studio. 

The collaboration is being announced at the Visual Studio Live 2013 launch event in New York. On the face of it there isn't much, if anything, new in the technology; more a cozying up of Microsoft to something that could do it a lot of good. 

The three points of the collaboration are:

  • to better integrate Xamarin technology with Microsoft developer tools and services

  • Xamarin’s recently launched Xamarin University is now free to MSDN subscribers

  • MSDN subscribers have exclusive trial and pricing options to Xamarin subscriptions for individuals and teams

Xamarin announced the availability of support for Visual Studio 2013 and for Microsoft's .NET Portable Class Library. This is a .NET framework that allows you to create libraries that work on a wide range of .NET platforms without having to recompile. Reference assemblies needed to use PCL on other platforms were made available in October and this allows Xamarin to make use of the technology on both iOS and Android. 

 

xamlogos

 

The availability of deals for both the Xamarin University and for its professional products is welcome, and might well pull in some additional "serious" .NET developers who might otherwise be suspicious of using a non-Microsoft .NET.

Xamarin started out by developing Mono, a .NET system for Linux and only more recently focused its efforts on cross-platform mobile development. Using Xamarin's .NET implementation you can write iOS and Android apps in C# - and, of course, you can already write Windows Phone 8 apps in C#.  You can also target Mac OSX if you want to. This makes .NET and C# the only widely-supported cross platform development environment. Most of the latest C# features are supported including anonymous types, lambdas and, perhaps most importantly LINQ. 

You can't reuse 100% of your code because the UI frameworks for each of these platforms are very different. However, you can access the native APIs via a set of standard class libraries. Xamarin claims that anything you can do in Objective C or Java you can do using C#.

On iOS your application is compiled to native ARM machine code. Xamarin estimates that 75% of the code can be shared - but of course it depends on the application.  On Android the compiler creates Intermediate Language (IL)  which is  JIT is compiled by the runtime to run natively.  

 

xamiosand

 

You can make use of either Xamarin Studio or Visual Studio and it is the Visual Studio integration that seems to be at the core of the collaboration. Being able to develop for the three major phone platforms using a familiar IDE is a big attraction for existing .NET developers. 

To quote Microsoft's Corporate Vice President Somasegar: 

"The broad collaboration between Microsoft and Xamarin which we announced today is targeted at supporting developers interested in extending their applications across multiple devices.With Xamarin, developers combine all of the productivity benefits of C#, Visual Studio 2013 and Windows Azure with the flexibility to quickly build for multiple device targets.”

Well you would have guessed that Azure would get a mention somewhere. 

Xamarin claims to have a community of over 430,000 developers with more than 20,000 paying accounts. Given that a subscription costs from $299 for an indie license to $1899 for an enterprise license, and that's per platform per developer per year, you can see that Xamarin probably has a good level of financial security. If you want to try it out there there is a free starter version, which you can use to create real deployable apps.

It is nice to see Xamarin being accepted and promoted by Microsoft. We can only hope that this relights the fires of enthusiasm for .NET in general within Microsoft.  

xamlogo

 

 

More Information

Xamarin

Xamarin University

MSDN Offers

Related Articles

Xamarin Brings Async To Mono       

Microsoft v The Developers       

Xamarin iOS Development in Visual Studio        

Xamarin Designer for Android 

Mono Lives On

NET for Ice Cream Sandwich

Xamarin's First Mono Release 

 

To be informed about new articles on I Programmer, install the I Programmer Toolbar, subscribe to the RSS feed, follow us on, Twitter, FacebookGoogle+ or Linkedin,  or sign up for our weekly newsletter.

 

espbook

 

Comments




or email your comment to: comments@i-programmer.info

 

Banner


Visual Studio 17.12 Released Along With Aspire
25/11/2024

Visual Studio 2022 v17.12 is now available. The release can be used for .NET 9 projects and has a range of other improvements.



Sequin - Open Source Message Stream Built On Postgres
31/10/2024

Sequin is a tool for capturing changes and streaming data out of your Postgres database, guaranteeing exactly once processing. What does that mean?


More News

 

Last Updated ( Wednesday, 13 November 2013 )