cross-platform mobile development with pcls

13
Cross-Platform Mobile Development with PCLs Seth Valdetero

Upload: sparkhound-inc

Post on 28-Nov-2014

344 views

Category:

Technology


1 download

DESCRIPTION

Portable class libraries are a great way to maximize code sharing across platforms. With Xamarin having full support for it, there is no reason not to use them. At SQL Saturday Baton Rouge, Seth created a cross-platform application using PCLs and MVVM to maximize code sharing. If you've never created a mobile application and would like to know where to start or maybe you have but just haven't used any of these new technologies, watch this presentation and see how to do it all in C#.

TRANSCRIPT

Page 1: Cross-Platform Mobile Development with PCLs

Cross-Platform Mobile Development with PCLsSeth Valdetero

Page 2: Cross-Platform Mobile Development with PCLs

2

Seth Valdetero

Senior Development Consultant@[email protected]/in/valdeterogithub.com/valdeterosparkhound.com/pages/blogs.aspx

Page 3: Cross-Platform Mobile Development with PCLs

Agenda

3

1. Portable Class Libraries2. Shared Projects3. Demo4. ???5. PROFIT!!!!

Page 4: Cross-Platform Mobile Development with PCLs

File Linking

4

Page 5: Cross-Platform Mobile Development with PCLs

Portable Class Library

5

• Least Common Denominator• Target Frameworks• Profiles

Page 6: Cross-Platform Mobile Development with PCLs

Portable Class Library

6

slodge.blogspot.com/2012/05/portable-class-libraries-in-mvvmcross.html

Page 7: Cross-Platform Mobile Development with PCLs

Portable Class Library

7

Page 8: Cross-Platform Mobile Development with PCLs

Portable Class Library

8

twitter.com/JamesMontemagno/status/472968183301697536

Page 9: Cross-Platform Mobile Development with PCLs

Shared Project

9

Page 10: Cross-Platform Mobile Development with PCLs

DEMO

10

Page 11: Cross-Platform Mobile Development with PCLs

Questions?

11

Page 12: Cross-Platform Mobile Development with PCLs

Links• twitter.com/JamesMontemagno/status/472968183301697536• danrigby.com/2014/05/14/supported-pcl-profiles-xamarin-for-visual-studio-2/ • developer.xamarin.com/guides/cross-platform/application_fundamentals/pcl/

introduction_to_portable_class_libraries/ • msdn.microsoft.com/en-us/library/windows/apps/dn609832.aspx• msdn.microsoft.com/en-us/library/gg597391%28v=vs.110%29.aspx• embed.plnkr.co/03ck2dCtnJogBKHJ9EjY/preview• slodge.blogspot.com/2012/05/portable-class-libraries-in-mvvmcross.html • blogs.msdn.com/b/dsplaisted/archive/2012/08/27/how-to-make-portable-class-

libraries-work-for-you.aspx • blogs.msdn.com/b/dotnet/archive/2014/04/21/sharing-code-across-platforms.aspx

12

Page 13: Cross-Platform Mobile Development with PCLs

13

Seth Valdetero

Senior Development Consultant@[email protected]/in/valdeterogithub.com/valdeterosparkhound.com/pages/blogs.aspx