Presentation is loading. Please wait.

Presentation is loading. Please wait.

Developing for Windows 8/WinRT Session 6 Share Contract Kevin Stumpf.

Similar presentations


Presentation on theme: "Developing for Windows 8/WinRT Session 6 Share Contract Kevin Stumpf."— Presentation transcript:

1 Developing for Windows 8/WinRT Session 6 Share Contract Kevin Stumpf

2 Agenda Data Sharing in ancient days Data Sharing today Development Session Q&A + Homework Assignment

3 Data Sharing in ancient days App

4 Data Sharing today App Windows 8 Your App

5 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.

6 Meet me March 18 th for our 7 th session! Live Tiles and Background Tasks


Download ppt "Developing for Windows 8/WinRT Session 6 Share Contract Kevin Stumpf."

Similar presentations


Ads by Google