Upload
seth-valdetero
View
107
Download
0
Tags:
Embed Size (px)
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. In this session we will be creating a cross-platform application using PCLs and MVVM to maximize our code sharing. We will also be utilizing HttpClient, async/await, and SQLite.
Citation preview
Cross-Platform Mobile Development with PCLsSeth Valdetero
2
Seth Valdetero
Senior Development Consultant@[email protected]/in/valdeterogithub.com/valdeterosparkhound.com/pages/blogs.aspx
Agenda
3
1. Portable Class Libraries2. Shared Projects3. Demo4. ???5. PROFIT!!!!
File Linking
4
Portable Class Library
5
• Least Common Denominator• Target Frameworks• Profiles
Portable Class Library
6
slodge.blogspot.com/2012/05/portable-class-libraries-in-mvvmcross.html
Portable Class Library
7
Portable Class Library
8
twitter.com/JamesMontemagno/status/472968183301697536
Shared Project
9
DEMO
10
Questions?
11
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
13
Seth Valdetero
Senior Development Consultant@[email protected]/in/valdeterogithub.com/valdeterosparkhound.com/pages/blogs.aspx