build metro sharepoint applications with windows 8
DESCRIPTION
TRANSCRIPT
![Page 1: Build Metro SharePoint Applications with Windows 8](https://reader034.vdocuments.site/reader034/viewer/2022042623/54c85b5b4a7959d7758b47b1/html5/thumbnails/1.jpg)
Edin Kapić
Build SharePoint Metro Applications with Windows 8
#SPSBE
#SPSBE32
![Page 2: Build Metro SharePoint Applications with Windows 8](https://reader034.vdocuments.site/reader034/viewer/2022042623/54c85b5b4a7959d7758b47b1/html5/thumbnails/2.jpg)
A big thanks to our sponsors
Venue Sponsor
Platinum Sponsors
Gold Premium Sponsors
Gold Sponsors
![Page 3: Build Metro SharePoint Applications with Windows 8](https://reader034.vdocuments.site/reader034/viewer/2022042623/54c85b5b4a7959d7758b47b1/html5/thumbnails/3.jpg)
About me
• Edin Kapić
• Key Consultant in pasiona consulting (Barcelona)
• Co-founder of the Catalan SharePoint User Group SUG.CAT
• Speaker
• EuropeanSP 2011, CEUS, MS NetWork 2.0
• Contact Me
• http://www.edinkapic.com (English)
• http://spblogedin.blogspot.com (Spanish)
• @ekapic
![Page 4: Build Metro SharePoint Applications with Windows 8](https://reader034.vdocuments.site/reader034/viewer/2022042623/54c85b5b4a7959d7758b47b1/html5/thumbnails/4.jpg)
Agenda
• Introduction
• WinRT / Metro Apps
• Demo 1
• Interacting with SharePoint
• Demo 2
![Page 5: Build Metro SharePoint Applications with Windows 8](https://reader034.vdocuments.site/reader034/viewer/2022042623/54c85b5b4a7959d7758b47b1/html5/thumbnails/5.jpg)
Introduction
• Windows 8 is a great leap forward
• New, streamlined UI
• New application execution model
• Designed for touch
• “It’s Windows 7 + other things”
![Page 6: Build Metro SharePoint Applications with Windows 8](https://reader034.vdocuments.site/reader034/viewer/2022042623/54c85b5b4a7959d7758b47b1/html5/thumbnails/6.jpg)
Windows 8 Application Modes
• Desktop
• “Classic” Windows 7 Applications
• Metro
• Windows Runtime (WinRT) Applications
![Page 7: Build Metro SharePoint Applications with Windows 8](https://reader034.vdocuments.site/reader034/viewer/2022042623/54c85b5b4a7959d7758b47b1/html5/thumbnails/7.jpg)
Windows 8 Architecture
![Page 8: Build Metro SharePoint Applications with Windows 8](https://reader034.vdocuments.site/reader034/viewer/2022042623/54c85b5b4a7959d7758b47b1/html5/thumbnails/8.jpg)
Metro-style Applications Quick Facts (I)
• Run on Windows Runtime (WinRT), not .NET CLR
• But VS11 will make “trimmed” NET 4.5 app that “translates” NET calls into WinRT calls and vice-versa
• Automatic mapping between data types
• You can mix JS, C#/VB and C++ in WinRT
![Page 9: Build Metro SharePoint Applications with Windows 8](https://reader034.vdocuments.site/reader034/viewer/2022042623/54c85b5b4a7959d7758b47b1/html5/thumbnails/9.jpg)
Metro-style Applications Quick Facts (II)
• Rely heavily on Asynchrounous Operations
• Task<T>
• async / await keywords
• Visual Studio 11 has built-in templates for common application styles
• There’s only one app active any time
• Plus one “snapped” app
![Page 10: Build Metro SharePoint Applications with Windows 8](https://reader034.vdocuments.site/reader034/viewer/2022042623/54c85b5b4a7959d7758b47b1/html5/thumbnails/10.jpg)
Demo
Windows 8 Metro Application
![Page 11: Build Metro SharePoint Applications with Windows 8](https://reader034.vdocuments.site/reader034/viewer/2022042623/54c85b5b4a7959d7758b47b1/html5/thumbnails/11.jpg)
Interacting with SharePoint
• SharePoint API
• Server OM
• Client OM
• NET, Silverlight, JS
• ASMX Services (Lists.asmx)
• REST (ListData.svc)
• Custom services
![Page 12: Build Metro SharePoint Applications with Windows 8](https://reader034.vdocuments.site/reader034/viewer/2022042623/54c85b5b4a7959d7758b47b1/html5/thumbnails/12.jpg)
Interacting with SharePoint from WinRT
• SharePoint API
• Server OM
• Client OM
• NET, Silverlight, JS
• ASMX Services (Lists.asmx)
• REST (ListData.svc)
• Custom services
![Page 13: Build Metro SharePoint Applications with Windows 8](https://reader034.vdocuments.site/reader034/viewer/2022042623/54c85b5b4a7959d7758b47b1/html5/thumbnails/13.jpg)
ASMX / Custom WCF Services
• Visual Studio 11 generates the proxy for us
• Supported WCF bindings
• BasicHttpBinding
• NetTcpBinding
• NetHttpBinding
• CustomBinding
![Page 14: Build Metro SharePoint Applications with Windows 8](https://reader034.vdocuments.site/reader034/viewer/2022042623/54c85b5b4a7959d7758b47b1/html5/thumbnails/14.jpg)
REST Services (ListData.svc)
• Visual Studio 11 can’t help us
• Data Services are not (yet) supported
• Use System.Net.HttpClient or HttpWebRequest instead
• Parse the Atom XML data with Linq-to-XML
• In JS/HTML Metro applications use WinJS.xhr
• Use Windows.Networking.BackgroundDownloader to download documents by URL
![Page 15: Build Metro SharePoint Applications with Windows 8](https://reader034.vdocuments.site/reader034/viewer/2022042623/54c85b5b4a7959d7758b47b1/html5/thumbnails/15.jpg)
Demo
Windows 8 Metro Application
with SharePoint
![Page 16: Build Metro SharePoint Applications with Windows 8](https://reader034.vdocuments.site/reader034/viewer/2022042623/54c85b5b4a7959d7758b47b1/html5/thumbnails/16.jpg)
References
• NET for Metro-style Applications Overview
• http://msdn.microsoft.com/library/windows/apps/br230302.aspx
• Adis Jugo (SharePoint MVP) Blog Post about Win8 and SharePoint
• http://blog.sharedove.com/adisjugo/index.php/2011/11/02/developing-windows-8-metro-style-applications-for-sharepoint/
![Page 17: Build Metro SharePoint Applications with Windows 8](https://reader034.vdocuments.site/reader034/viewer/2022042623/54c85b5b4a7959d7758b47b1/html5/thumbnails/17.jpg)
Q & A
• Dank u wel!
• Merci beaucoup!
![Page 18: Build Metro SharePoint Applications with Windows 8](https://reader034.vdocuments.site/reader034/viewer/2022042623/54c85b5b4a7959d7758b47b1/html5/thumbnails/18.jpg)
We need your feedback!
Scan this QR code or visit http://svy.mk/sps2012be
Our sponsors: