1 introducing xamarin 2.0 michael hutchinson [email protected] @mjhutchinson

20
1 Introducing Xamarin 2.0 Introducing Xamarin 2.0 Michael Hutchinson [email protected] @mjhutchinson

Upload: berniece-page

Post on 24-Dec-2015

215 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 1 Introducing Xamarin 2.0 Michael Hutchinson mhutch@xamarin.com @mjhutchinson

1

Introducing Xamarin 2.0

Introducing Xamarin 2.0Michael Hutchinson

[email protected]@mjhutchinson

Page 2: 1 Introducing Xamarin 2.0 Michael Hutchinson mhutch@xamarin.com @mjhutchinson

2

What is Xamarin?

• C# and .NET for Android, iOS and Mac• Full native APIs – no compromise• Share code across Android, iOS, Mac,

Windows Phone, Windows RT, Windows• Only platform that allows sharing code across

these platforms while keeping native performance and UX

Page 3: 1 Introducing Xamarin 2.0 Michael Hutchinson mhutch@xamarin.com @mjhutchinson

3

What’s New in 2.0?

• Xamarin Studio– The best IDE for mobile development

• iOS for Visual Studio– Develop iOS apps from VS on Windows

• Component Store– Drop-in components to build apps faster

Page 4: 1 Introducing Xamarin 2.0 Michael Hutchinson mhutch@xamarin.com @mjhutchinson

4

What’s New in 2.0?

• New Pricing– An edition for every developer

• New Names– Xamarin.iOS, Xamarin.Android, Xamarin.Mac

• Developer Center– Massively revamped documentation website– World class tutorials and guides

Page 5: 1 Introducing Xamarin 2.0 Michael Hutchinson mhutch@xamarin.com @mjhutchinson

5

Xamarin Studio

Page 6: 1 Introducing Xamarin 2.0 Michael Hutchinson mhutch@xamarin.com @mjhutchinson

6

Xamarin Studio

• Streamlined development experience

• Responsive, beautiful user interface

• Unified global search

Page 7: 1 Introducing Xamarin 2.0 Michael Hutchinson mhutch@xamarin.com @mjhutchinson

7

Xamarin Studio

• Fast, smooth C# code navigation, completion and refactoring

• Git and subversion integration

• Powerful debugger• Available on Windows and

Mac

Page 8: 1 Introducing Xamarin 2.0 Michael Hutchinson mhutch@xamarin.com @mjhutchinson

8

iOS for Visual Studio

Page 9: 1 Introducing Xamarin 2.0 Michael Hutchinson mhutch@xamarin.com @mjhutchinson

9

iOS for Visual Studio

• You asked for it, we delivered!• Write, build, deploy and debug iOS apps from

Visual Studio• Take advantage of existing skills and

extensions, for example TFS and ReSharper• Develop for iOS, Android, Windows Phone

from a single solution

Page 10: 1 Introducing Xamarin 2.0 Michael Hutchinson mhutch@xamarin.com @mjhutchinson

10

iOS for Visual Studio

• Connects to Mac over network

• Seamlessly transfers compiled C# to Mac for native build, sign

• Launch and debug on simulator or device

Page 11: 1 Introducing Xamarin 2.0 Michael Hutchinson mhutch@xamarin.com @mjhutchinson

11

Component Store

Page 12: 1 Introducing Xamarin 2.0 Michael Hutchinson mhutch@xamarin.com @mjhutchinson

12

Component Store

• Paid and free components

• Add Components to your app directly from within XS or VS

• Submit your own!

Page 13: 1 Introducing Xamarin 2.0 Michael Hutchinson mhutch@xamarin.com @mjhutchinson

13

Developer Center

Page 14: 1 Introducing Xamarin 2.0 Michael Hutchinson mhutch@xamarin.com @mjhutchinson

14

New Pricing

Page 15: 1 Introducing Xamarin 2.0 Michael Hutchinson mhutch@xamarin.com @mjhutchinson

15

Xamarin Editions

• Free Starter Edition– 32kb of user IL, cannot link native code

• Indie Edition– Unrestricted size and native linking

• Business Edition– Visual Studio, WCF, email support

• Enterprise– App kickoff, priority support, free components

• Trial– 30 day trial of Business Edition

Page 16: 1 Introducing Xamarin 2.0 Michael Hutchinson mhutch@xamarin.com @mjhutchinson

16

Xamarin StudioTour and Demo

Page 17: 1 Introducing Xamarin 2.0 Michael Hutchinson mhutch@xamarin.com @mjhutchinson

17

What’s coming?

• F# Support– Create iOS and Android apps with your favorite

functional language• Portable Class Libraries– Build libraries that can be used from multiple

frameworks, e.g. .NET 4, Xamarin.iOS, WP7• Mono 3.0 runtime– C# 5 with async support– Upgraded GC and class libraries

• And more!

Page 18: 1 Introducing Xamarin 2.0 Michael Hutchinson mhutch@xamarin.com @mjhutchinson

18

C# 5 Async

async Task<List<Customer>> GetCustomers (string url){ var client = new HttpClient (); try { string text = await client.GetStringAsync (url); } catch (Exception ex) { throw new FailedToFetchCustomersException (ex); } List<Customer> list = await ParseCustomerList (text); return list ?? new List<Customer> ();}

Page 19: 1 Introducing Xamarin 2.0 Michael Hutchinson mhutch@xamarin.com @mjhutchinson

19

Page 20: 1 Introducing Xamarin 2.0 Michael Hutchinson mhutch@xamarin.com @mjhutchinson

20

Questions?