Developing for Windows 8/WinRT Session 6 Share Contract Kevin Stumpf
Agenda Data Sharing in ancient days Data Sharing today Development Session Q&A + Homework Assignment
Data Sharing in ancient days App
Data Sharing today App Windows 8 Your App
Homework Assignment Develop a Share Source that shares instances of a custom class to your own Share Target The custom class could represent a person and carry properties such as FirstName and LastName Leverage the Framework classes DataContractSerializer, MemoryStream and Encoding, to transform your.NET object into a byte array (Serializer -> MemoryStream), encode the byte array as a string (MemoryStream -> Encoding) and finally send the string over to your Share Target, which executes the same process in reverse.
Meet me March 18 th for our 7 th session! Live Tiles and Background Tasks