Sydney Mobile .NET Developers talk (April 2014)
-
Upload
craig-dunn -
Category
Technology
-
view
308 -
download
1
description
Transcript of Sydney Mobile .NET Developers talk (April 2014)
![Page 1: Sydney Mobile .NET Developers talk (April 2014)](https://reader034.fdocuments.in/reader034/viewer/2022052410/554a4ac5b4c9055a408b569d/html5/thumbnails/1.jpg)
Craig DunnDeveloper EvangelistXamarin
[email protected]@conceptdev
Mobile apps with C#//build update edition
Sydney, April 2014
![Page 2: Sydney Mobile .NET Developers talk (April 2014)](https://reader034.fdocuments.in/reader034/viewer/2022052410/554a4ac5b4c9055a408b569d/html5/thumbnails/2.jpg)
Mobile apps with C#
XamarinC# on iOS and Android
//build
build a cross-plat app
get a Xamarin t-shirt
PCLVS2013
![Page 3: Sydney Mobile .NET Developers talk (April 2014)](https://reader034.fdocuments.in/reader034/viewer/2022052410/554a4ac5b4c9055a408b569d/html5/thumbnails/3.jpg)
Modern language C#
Shared code
High performance
![Page 4: Sydney Mobile .NET Developers talk (April 2014)](https://reader034.fdocuments.in/reader034/viewer/2022052410/554a4ac5b4c9055a408b569d/html5/thumbnails/4.jpg)
You
Us
Them
![Page 5: Sydney Mobile .NET Developers talk (April 2014)](https://reader034.fdocuments.in/reader034/viewer/2022052410/554a4ac5b4c9055a408b569d/html5/thumbnails/5.jpg)
C# Development Environments
![Page 6: Sydney Mobile .NET Developers talk (April 2014)](https://reader034.fdocuments.in/reader034/viewer/2022052410/554a4ac5b4c9055a408b569d/html5/thumbnails/6.jpg)
Mac OS X WindowsWindows
IDE
iOS
Android
Windows Phone
Windows Store
XamarinBusiness Edition
+
Mac+
C# Development Environments
![Page 7: Sydney Mobile .NET Developers talk (April 2014)](https://reader034.fdocuments.in/reader034/viewer/2022052410/554a4ac5b4c9055a408b569d/html5/thumbnails/7.jpg)
iOS Apps in Visual Studio !?
![Page 8: Sydney Mobile .NET Developers talk (April 2014)](https://reader034.fdocuments.in/reader034/viewer/2022052410/554a4ac5b4c9055a408b569d/html5/thumbnails/8.jpg)
//build
![Page 9: Sydney Mobile .NET Developers talk (April 2014)](https://reader034.fdocuments.in/reader034/viewer/2022052410/554a4ac5b4c9055a408b569d/html5/thumbnails/9.jpg)
Miguel’s talk
http://channel9.msdn.com/Events/Build/2014/3-653
Go Mobile with C# and Xamarin
![Page 10: Sydney Mobile .NET Developers talk (April 2014)](https://reader034.fdocuments.in/reader034/viewer/2022052410/554a4ac5b4c9055a408b569d/html5/thumbnails/10.jpg)
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
![Page 11: Sydney Mobile .NET Developers talk (April 2014)](https://reader034.fdocuments.in/reader034/viewer/2022052410/554a4ac5b4c9055a408b569d/html5/thumbnails/11.jpg)
iOS UI Designer
Visual St
udio
coming..
.
![Page 12: Sydney Mobile .NET Developers talk (April 2014)](https://reader034.fdocuments.in/reader034/viewer/2022052410/554a4ac5b4c9055a408b569d/html5/thumbnails/12.jpg)
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)
![Page 13: Sydney Mobile .NET Developers talk (April 2014)](https://reader034.fdocuments.in/reader034/viewer/2022052410/554a4ac5b4c9055a408b569d/html5/thumbnails/13.jpg)
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
![Page 14: Sydney Mobile .NET Developers talk (April 2014)](https://reader034.fdocuments.in/reader034/viewer/2022052410/554a4ac5b4c9055a408b569d/html5/thumbnails/14.jpg)
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
![Page 15: Sydney Mobile .NET Developers talk (April 2014)](https://reader034.fdocuments.in/reader034/viewer/2022052410/554a4ac5b4c9055a408b569d/html5/thumbnails/15.jpg)
demo
![Page 16: Sydney Mobile .NET Developers talk (April 2014)](https://reader034.fdocuments.in/reader034/viewer/2022052410/554a4ac5b4c9055a408b569d/html5/thumbnails/16.jpg)
“NDCPortable”
code walkthrough
https://github.com/conceptdev/xamarin-samples/tree/master/NDCPortable
![Page 17: Sydney Mobile .NET Developers talk (April 2014)](https://reader034.fdocuments.in/reader034/viewer/2022052410/554a4ac5b4c9055a408b569d/html5/thumbnails/17.jpg)
go...
![Page 18: Sydney Mobile .NET Developers talk (April 2014)](https://reader034.fdocuments.in/reader034/viewer/2022052410/554a4ac5b4c9055a408b569d/html5/thumbnails/18.jpg)
“NDCCloud”
code walkthrough
https://github.com/conceptdev/xamarin-samples/tree/master/NDCCloud
![Page 19: Sydney Mobile .NET Developers talk (April 2014)](https://reader034.fdocuments.in/reader034/viewer/2022052410/554a4ac5b4c9055a408b569d/html5/thumbnails/19.jpg)
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!
![Page 20: Sydney Mobile .NET Developers talk (April 2014)](https://reader034.fdocuments.in/reader034/viewer/2022052410/554a4ac5b4c9055a408b569d/html5/thumbnails/20.jpg)
Cross-PlatformsGoogle Glass http://blog.xamarin.com/develop-for-google-glass-with-xamarin.android/
Google Chromecast http://www.knowing.net/index.php/2013/08/11/chromecast-xamarin-binding-and-sample-source-code-on-github/
Amazon Fire HDhttp://forums.xamarin.com/discussion/6647/how-to-set-up-kindle-hd-for-development
Amazon Fire TV...
![Page 21: Sydney Mobile .NET Developers talk (April 2014)](https://reader034.fdocuments.in/reader034/viewer/2022052410/554a4ac5b4c9055a408b569d/html5/thumbnails/21.jpg)
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
![Page 22: Sydney Mobile .NET Developers talk (April 2014)](https://reader034.fdocuments.in/reader034/viewer/2022052410/554a4ac5b4c9055a408b569d/html5/thumbnails/22.jpg)