SlideShare ist ein Scribd-Unternehmen logo
1 von 19
DEVELOPING APPS WITH
SHAREPOINT 2013 AND
WINDOWS 8
By: Shailen Sukul
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)
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
4

SHAREPOINT DEVELOPMENT
MODEL HISTORY
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
APP MODEL BASICS

Web Application
(HTML, CSS, JS, …)

App Manifest
APP
SHAREPOINT APP HOSTING
OPTIONS

Autohosted
SharePoint
Host Web
SharePoint
App Web

SharePoin
t Host
Web

Windows
Azure
Websites

Provider-hosted
SharePoin
t Host
Web

Your hosted
web site
WHAT’S IN THE BOX?
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.
SCREENSHOTS
COMPONENTS
4

Listening

WinJS

Raise
notification

1

Windows Notification
Service
2

Metro App

JSOM
SharePoint App

Post
ChannelUri

3
Post
Messages
DEMO
• Notification Sample Demo
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
SCREENSHOTS
DEMO
• Search sample demo
AUTHENTICATION
• SharePoint Apps are great since the user is already authentication but what
about non-SharePoint apps? How to authenticate?
DEMO
• Authentication via CSOM demo
READIFY
• We are hiring!!
• Check out LinkedIn for immediate roles
• Grab a card to register interest
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

Weitere ähnliche Inhalte

Kürzlich hochgeladen

Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Kürzlich hochgeladen (20)

DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 

Empfohlen

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Empfohlen (20)

Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 

Sharepoint 2013 And Windows8 Apps

  • 1. DEVELOPING APPS WITH SHAREPOINT 2013 AND WINDOWS 8 By: Shailen Sukul
  • 2. 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)
  • 3. 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
  • 5. 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
  • 6. APP MODEL BASICS Web Application (HTML, CSS, JS, …) App Manifest APP
  • 7. SHAREPOINT APP HOSTING OPTIONS Autohosted SharePoint Host Web SharePoint App Web SharePoin t Host Web Windows Azure Websites Provider-hosted SharePoin t Host Web Your hosted web site
  • 9. 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.
  • 13. 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
  • 16. AUTHENTICATION • SharePoint Apps are great since the user is already authentication but what about non-SharePoint apps? How to authenticate?
  • 18. READIFY • We are hiring!! • Check out LinkedIn for immediate roles • Grab a card to register interest
  • 19. 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

Hinweis der Redaktion

  1. 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 removeAbility to download and purchase apps from the Office Marketplace or from an organization’s private App CatalogAllow developers capability to create any application they want which runs outside the core SharePoint frameworkUses familiar web standards like HTML, JS, CSS, etc
  2. The Metro app registers a channel with the Windows Notification serviceThe Metro app posts the ChannelUri to the SharePpoint app. The SharePoint app saves the ChannelUri in the Application stateThe SharePoint App posts a message to the ChannelUri4. The Windows Notification Service raises a notification to the Metro App which listens to the notification event
  3. Talk about:How the notification channel is created by the default.js file in the Win8 AppHow the tile and toast notification templates are built in the code behind for default.aspx.csHow the WNSUtil class is used to send notificationsHow to debug remote events using the Service Bus (bind to IISExpress while debugging)How to follow lab instructions included in the download
  4. Website: https://sokool.sharepoint.comUser Id: Shailen@sharepoint.Sukul.org
  5. SharePoint Apps run in the context of the user who launched the app. However, the SharePoint OM lacks an API to authenticate to a SharePoint site protected by ADFS. Show the Fiddler trace for an Office365 login, refer to SharePointLogin.sazBrowse to SharePoint siteSharePoint detects that the user is not logged in and performs a 302 redirect to https://sokool.sharepoint.com/_layouts/15/Authenticate.aspx?Source=%2FAnother 302 redirect goes to https://sokool.sharepoint.com/_forms/default.aspx?ReturnUrl=%2f_layouts%2f15%2fAuthenticate.aspx%3fSource%3d%252F&Source=cookieAnother direct goes to https://login.microsoftonline.com/login.srf?wa=wsignin1%2E0&rpsnv=2&ct=1382698648&rver=6%2E1%2E6206%2E0&wp=MBI&wreply=https%3A%2F%2Fsokool%2Esharepoint%2Ecom%2F%5Fforms%2Fdefault%2Easpx&lc=3081&id=500046&guests=1User enters id and passwordAs soon as user id is entered, a GET is performed to get the realm - https://login.microsoftonline.com/GetUserRealm.srf?login=shailen%40sharepoint.sukul.org&handler=1&extended=1User id and password is posted to https://login.microsoftonline.com/ppsecure/post.srf?wa=wsignin1%2E0&rpsnv=2&ct=1382698648&rver=6%2E1%2E6206%2E0&wp=MBI&wreply=https%3A%2F%2Fsokool%2Esharepoint%2Ecom%2F%5Fforms%2Fdefault%2Easpx&lc=3081&id=500046&bk=1382698649Once authenticated, FedAuth and rtFa cookies is created and posted to https://sokool.sharepoint.com/_forms/default.aspx?wa=wsignin1.0A redirect goes to to https://sokool.sharepoint.com/_layouts/15/Authenticate.aspx?Source=%2FSharePoint now recognizes the user and the final redirect goes back to the original url: https://sokool.sharepoint.com/
  6. Demonstrate Fiddler trace of how authentication worksDemonstrateWinforms toolTalk about why such a model will not work with a pure JSOM approach