sydney mobile .net developers talk (april 2014)

Post on 07-May-2015

308 Views

Category:

Technology

1 Downloads

Preview:

Click to see full reader

DESCRIPTION

Introduction to Xamarin, //build update and how to architect cross-platform applications using PCLs and Shared Projects

TRANSCRIPT

Craig DunnDeveloper EvangelistXamarin

craig@xamarin.com@conceptdev

Mobile apps with C#//build update edition

Sydney, April 2014

Mobile apps with C#

XamarinC# on iOS and Android

//build

build a cross-plat app

get a Xamarin t-shirt

PCLVS2013

Modern language C#

Shared code

High performance

You

Us

Them

C# Development Environments

Mac OS X WindowsWindows

IDE

iOS

Android

Windows Phone

Windows Store

XamarinBusiness Edition

+

Mac+

C# Development Environments

iOS Apps in Visual Studio !?

//build

Miguel’s talk

http://channel9.msdn.com/Events/Build/2014/3-653

Go Mobile with C# and Xamarin

Roslyn & Xamarin

http://tirania.org/blog/archive/2014/Apr-09.html

• Keep track of Roslyn... ‘works’ now tho’ :-)

• Incorporate C# 6.0 features into Mono

• “The second one is that our compiler powers our Interactive C# Shell and we are about to launch something

very interesting with it. This functionality is not currently available on the open sourced Roslyn stack.”

• “Roslyn really shines for IDEs” so we’ll look at how to use it in Xamarin Studio / NRefactory

iOS UI Designer

Visual St

udio

coming..

.

Shared Projects• File Linking / VS 2012 Project Linker extension “on steroids”

• Viable alternative to Portable Class Libraries for some uses

• PCLs still great for component builders (esp with NuGet)

• Shared Projects might be better for app builders

• Coming to Visual Studio (download preview now) and Xamarin Studio (soon)

Portable Class Libraries• “PCL assembly” is

generated, shared

• limited framework code (predetermined by PCL profile)

• Dependency Injection for platform-specific features

• #if compiler directives not allowed

Shared Projects

• no separate “output assembly”, C# is compiled into the referencing apps

• use any framework code available on your target platforms

• use #if compiler directives

demo

“NDCPortable”

code walkthrough

https://github.com/conceptdev/xamarin-samples/tree/master/NDCPortable

go...

“NDCCloud”

code walkthrough

https://github.com/conceptdev/xamarin-samples/tree/master/NDCCloud

Xamarin t-shirt

1. Visit http://xamarin.com/sharp-shirt

2. Download, build & run

3. “fix” app and run again

4. Order your shirt - FREE!

https://github.com/conceptdev/xamarin-samples/NDCPortable https://github.com/conceptdev/xamarin-samples/NDCCloud

https://github.com/xamarin/mobile-samples/

LinksToday’s demo

General samples

top related