sharepoint 2013 and windows8 apps
DESCRIPTION
Learn how to create SharePoint 2013 apps which can communicate to Windows 8 apps via tile and toast notifications. Also learn how to create Windows 8 apps which can directly authenticate with SharePoint. Finally, take a look at the OpenSource project I have started to simplify authenticating to SharePoint from client and server side code (.Net and JavaScript) * Updated with more material, references. * Refer to http://presentations.sukul.org/#!SP2013Win8Apps for additional materialsTRANSCRIPT
![Page 1: Sharepoint 2013 And Windows8 Apps](https://reader036.vdocuments.site/reader036/viewer/2022062405/554f92e4b4c905435d8b5195/html5/thumbnails/1.jpg)
DEVELOPING APPS WITH SHAREPOINT 2013 AND WINDOWS 8By: Shailen Sukul
![Page 2: Sharepoint 2013 And Windows8 Apps](https://reader036.vdocuments.site/reader036/viewer/2022062405/554f92e4b4c905435d8b5195/html5/thumbnails/2.jpg)
WHO AM I?
• Shailen (pronounced Shay-Len) Sukul is a bleeding edge Architect, Developer and Trainer working with the latest Web technologies to create compelling solutions, in SharePoint and ASP.Net MVC with 12 years experience across vertical industries. He loves to present at user groups and write articles and whitepapers based on his work.
• He currently works as a Senior SharePoint Architect at Readify and specializes in installation, configuration, development and training on the SharePoint platform with a side focus on Azure.
• You can follow him on twitter @shailensukul and check out his blog at: http://shailensukul.com
• Find more about Shailen at au.linkedin.com/in/shailensukul
• Mct | MCSA (Win Server 2012) | MCSE (SharePoint 2013, Windows Server 2012) |HTML5/JS/CSS3 Specialist | Mcpd (.Net 2/3.5/SharePoint 2010/Windows Azure Developer) | Mcts (Sharepoint 2010/MOSS/WSS), Biztalk, Web, Win, Dist Apps) | Mcitp (SharePoint Admin 2010) | MCSE (SharePoint 2013) | MCSA (W2K12)
![Page 3: Sharepoint 2013 And Windows8 Apps](https://reader036.vdocuments.site/reader036/viewer/2022062405/554f92e4b4c905435d8b5195/html5/thumbnails/3.jpg)
AGENDA
• Demos• Demo 1 – Simple SharePoint hosted App (“hello world”)• Demo 2 – SharePoint hosted Whois People Picker App• Demo 3 – SharePoint 2013 App interacting with Windows 8 App• Demo 4 - Windows 8 App Searching SharePoint website
• Concepts• Writing SharePoint Apps• Writing Metro Apps
• Authenticating to SharePoint
![Page 4: Sharepoint 2013 And Windows8 Apps](https://reader036.vdocuments.site/reader036/viewer/2022062405/554f92e4b4c905435d8b5195/html5/thumbnails/4.jpg)
4
SHAREPOINT DEVELOPMENT MODEL HISTORY
SharePoint 2003• Farm
Customizations
SharePoint 2007• Farm
Solutions
SharePoint 2010• Farm
Solutions• Sandboxed
Solutions
SharePoint 2013• Farm
Solutions• Sandboxed
Solutions• Apps
![Page 5: Sharepoint 2013 And Windows8 Apps](https://reader036.vdocuments.site/reader036/viewer/2022062405/554f92e4b4c905435d8b5195/html5/thumbnails/5.jpg)
WHAT ARE APPS
• Apps for SharePoint are;• Self-contained pieces of functionality that extend the capabilities of a SharePoint
website (Microsoft)• Stand-alone applications that are easy to install, use, manage, upgrade and
remove
• Apps for SharePoint allow;• Users to purchase apps from the Office Marketplace or install from an
organization’s private App Catalog• Allow developers capability to create any application they want which runs
outside the core SharePoint framework• Usage of familiar web technologies and development standards such as; HTML,
JavaScript, CSS, etc
![Page 6: Sharepoint 2013 And Windows8 Apps](https://reader036.vdocuments.site/reader036/viewer/2022062405/554f92e4b4c905435d8b5195/html5/thumbnails/6.jpg)
APP MODEL BASICS
App ManifestWeb Application(HTML, CSS, JS,
…)
APPApp for SharePoint
![Page 7: Sharepoint 2013 And Windows8 Apps](https://reader036.vdocuments.site/reader036/viewer/2022062405/554f92e4b4c905435d8b5195/html5/thumbnails/7.jpg)
SHAREPOINT APP HOSTING OPTIONS
SharePoint App Web
SharePoint Host Web Windows
Azure Websites
SharePoint Host
WebYour hosted
web site
SharePoint Host
Web
Autohosted Provider-hosted
SharePoint-hosted apps
Cloud-hosted apps
![Page 8: Sharepoint 2013 And Windows8 Apps](https://reader036.vdocuments.site/reader036/viewer/2022062405/554f92e4b4c905435d8b5195/html5/thumbnails/8.jpg)
WHAT’S IN THE BOX?Win
dow
s Notifi
cation S
ervice
Cla
ims A
uth
entica
tion
Sh
are
Poin
t Clie
nt O
bje
ct M
od
el
Win
do
ws R
T
SQ
L A
zu
re
Azu
re W
ebsite
Sh
are
Po
int Ja
vascrip
t Ob
ject M
od
el
Sh
are
Po
int R
ES
T S
erv
ice
Azu
re S
erv
ice B
us
Azu
re A
ctive D
irecto
ry
![Page 9: Sharepoint 2013 And Windows8 Apps](https://reader036.vdocuments.site/reader036/viewer/2022062405/554f92e4b4c905435d8b5195/html5/thumbnails/9.jpg)
TILE AND TOAST NOTIFICATION APP
• What does it do?
• This sample demonstrates how to send a toast notification to a Windows 8 App using the Microsoft Push Notification Service. It uses two projects, one for the client code that sets up the Windows App to receive a notification, and one that sends the notification.
![Page 10: Sharepoint 2013 And Windows8 Apps](https://reader036.vdocuments.site/reader036/viewer/2022062405/554f92e4b4c905435d8b5195/html5/thumbnails/10.jpg)
SCREENSHOTS
![Page 11: Sharepoint 2013 And Windows8 Apps](https://reader036.vdocuments.site/reader036/viewer/2022062405/554f92e4b4c905435d8b5195/html5/thumbnails/11.jpg)
COMPONENTS
Windows Notification Service
Metro App
WinJS
1
SharePoint App
2
Post ChannelUri
3
PostMessages
4Raise
notification
Listening
JSOM
![Page 12: Sharepoint 2013 And Windows8 Apps](https://reader036.vdocuments.site/reader036/viewer/2022062405/554f92e4b4c905435d8b5195/html5/thumbnails/12.jpg)
DEMO
• Notification Sample Demo
![Page 13: Sharepoint 2013 And Windows8 Apps](https://reader036.vdocuments.site/reader036/viewer/2022062405/554f92e4b4c905435d8b5195/html5/thumbnails/13.jpg)
SHAREPOINT SEARCH APP
• What does it do?
• It is a Windows 8 App which authenticates to any SharePoint site and then performs a search with the user’s context
![Page 14: Sharepoint 2013 And Windows8 Apps](https://reader036.vdocuments.site/reader036/viewer/2022062405/554f92e4b4c905435d8b5195/html5/thumbnails/14.jpg)
SCREENSHOTS
![Page 15: Sharepoint 2013 And Windows8 Apps](https://reader036.vdocuments.site/reader036/viewer/2022062405/554f92e4b4c905435d8b5195/html5/thumbnails/15.jpg)
DEMO
• Search sample demo
![Page 16: Sharepoint 2013 And Windows8 Apps](https://reader036.vdocuments.site/reader036/viewer/2022062405/554f92e4b4c905435d8b5195/html5/thumbnails/16.jpg)
AUTHENTICATION
• SharePoint Apps are great since the user is already authentication but what about non-SharePoint apps? How to authenticate?
![Page 17: Sharepoint 2013 And Windows8 Apps](https://reader036.vdocuments.site/reader036/viewer/2022062405/554f92e4b4c905435d8b5195/html5/thumbnails/17.jpg)
DEMO
• Authentication via CSOM demo
![Page 18: Sharepoint 2013 And Windows8 Apps](https://reader036.vdocuments.site/reader036/viewer/2022062405/554f92e4b4c905435d8b5195/html5/thumbnails/18.jpg)
READIFY
• We are hiring!!
• Check out LinkedIn for immediate roles
• Grab a card to register interest
![Page 19: Sharepoint 2013 And Windows8 Apps](https://reader036.vdocuments.site/reader036/viewer/2022062405/554f92e4b4c905435d8b5195/html5/thumbnails/19.jpg)
THANK YOU
• Blog: http://www.shailensukul.com
• Twitter: @shailensukul
• SharePoint Tools on GitHub: https://github.com/shailensukul/SharePointTools
• Demo Code/Labs/Instructions: http://presentations.sukul.org/#!SP2013Win8Apps
• Video: http://www.youtube.com/watch?v=VbkTrcJd0QQ