Imagine a world where the .NET developer can create and compile code that will run on multiple .NET platforms. The same code runs on WP, WPF, SL, XBox, and Windows Store apps. You can, and there are a few options available to you, such as linked files and the little hidden gem in Visual Studio 2012 (available also for Visual Studio 2010) called Portable Class Libraries.
Iris Classon is an appreciated speaker, writer, blogger, Microsoft C# MVP and member of MEET (Microsoft Extended Experts Team) with a tremendous passion for programming. She has had a remarkable career path that proves that nothing is impossible- switching from being a licensed and registered clinical dietitian to a software developer with a dozen certifications and a full time developer job with renowned companies.
Introduction to Cross-Platform Development in .NET and WinRT Hi, and welcome to the course Cross-platform development with. NET and WinRT. This module is an introduction to Cross-platform development with. NET and WinRT. My name is Iris Classon, and I get the honor to talk about something I am very passionate about, and that is cross-platform development. In this module, we are going to cover the following things. We are going to talk about what cross-platform development is, why we want to have reusable components, and why will I cross-platform. We're going to talk about design patterns, principles, and best practices. We're going to discuss a little bit about user interface and user experience. Then we're going to proceed on talking about platform differences. Then we're going to have an introduction to linked files, Portable Class Libraries, and Windows Runtime third-party components.
Linked Files Hi, and welcome to the module Add as Link. We're going to spend the whole module just talking about linked files. In this particular module we will cover how you add files as link, how you can tell if a file is being linked, and what the benefits are. We're going to take a look at how you can handle platform differences, but using, for example, partial classes. We're also going to have a look at how you handle platform differences by using inheritance, interfaces, and pre-processor directives. We're going to look at the pros and cons for each one of those.
Portable Class Libraries - Part 1 Hi. This is Iris Classon, and welcome to the module Portable Class Libraries Part 1. In this module, we will cover the following things. We are going to talk about the difference between libraries, frameworks, and toolkits. I know we've talked about this before, but I want to cover it one more time, and this time talk about why it is so important to differentiate between the three things. We're going to talk about what Portable Class Libraries are just before we start up our very first Portable Class Library project. Then we're going to take a deep dive into Portable Class Libraries and have a look at how they actually work and what happens when they don't work to have a look at some errors. We're going to talk about supportive features and NuGet packages in Portable Class Libraries. You will need them, and I'm going to show you how to use them. Then we're going to talk about the future of Portable Class Libraries and end it with a summary at the end.
Portable Class Libraries - Part 2 Hi. It's Iris, and welcome to the module Portable Class Libraries Part 2. In this module, we will talk about the following things. I am going to spend some time and explain MVVM. Now, the MVVM pattern is incredibly important when you're working with Portable Class Libraries, and in particular when you're targeting XAML technologies. I will also talk about the Portable Class Library support for MVVM, and then we're going to have a look at demonstration how you use MVVM with Portable Class Libraries. Now, we're going to do this without using any frameworks or external libraries. We are just going to use the code that is provided for us with Portable Class Libraries and the applications. We will then talk about handling platform differences with adapters and service locators. We're also going to talk about the alternatives and some of the problems that you might have with, in particular, service locators. We're going to then demonstrate how you do an implementation for handling platform differences with adapters and service locators. At the end we'll wrap it all up with a nice little summary and also some advice on whether to use linked files or Portable Class Libraries for your next project.