With a single solution in Visual Studio, build native cross-platform apps for iOS, Android, and Windows all in C#.
James Montemagno, Developer Evangelist at Xamarin, as he shows you how Xamarin and Visual Studio 2013 give you the best environment for developing native cross-platform apps.
5. Why Portable Class Libraries?
• Centralized Code Sharing
• How you expect it to work
• Debug seamlessly into and out of PCL
• Project/Assembly Sharing
• NuGet
6. Platform Independent APIs
• Platform-specific libraries can’t
be referenced
• E.g. No Silverlight Control Toolkit
• No P/Invoke to C/C++
• PCL is a subset of .NET
9. Microsoft NuGet Libraries
•
•
•
•
•
•
•
•
•
Async for .NET Framework 4, Silverlight 4 and 5, and WP 7.5 & 8
Microsoft BCL Build Components
Microsoft BCL Portability Pack
Microsoft Composition
Microsoft Compression
Microsoft HTTP Client Libraries
Microsoft Immutable Collections
Microsoft ASP.NET SignalR .NET Client
ODataLib
10. Available to Everyone!
• Easier to use
• Easier to create
• True Cross
Platform Portable
Class Libraries
Platform-specific libraries cannot be referenced (eg. Community.Csharp.Sqlite.WP7)
PCL is a subset and may not include classes that might be available in full class library.
Change to httpclient
Let’s look at Xamarin and VS 2013 to build modern apps on
iOS, Android, and Windows
Let’s start with something familiar
Platform-specific libraries cannot be referenced (eg. Community.Csharp.Sqlite.WP7)
PCL is a subset and may not include classes that might be available in full class library.
Platform-specific libraries cannot be referenced (eg. Community.Csharp.Sqlite.WP7)
PCL is a subset and may not include classes that might be available in full class library.
Let’s look at Xamarin and VS 2013 to build modern apps on
iOS, Android, and Windows
Let’s start with something familiar