350 likes | 526 Views
Developing apps for SharePoint 2013 with Visual Studio 2013. Mike Morton Senior Program Manager 3-319. Agenda. App model Visual Studio tools Cloud-hosted apps. App model. App Shape: Full Page. App Shape: Client Web Part ( App Part ). App Shape: UI Command. App Model Basics.
E N D
Developing apps for SharePoint 2013 with Visual Studio 2013 Mike Morton Senior Program Manager 3-319
Agenda • App model • Visual Studio tools • Cloud-hosted apps
App Model Basics Web Application (HTML, CSS, JS, …) App Manifest APP App for SharePoint
Hosting Options SharePoint-hosted apps Cloud-hosted apps Provider-hosted Autohosted SharePoint Host Web SharePoint Host Web SharePoint Host Web Your hosted web site Windows Azure Websites SharePoint App Web
Microsoft Office Developer Tools • Supports new cloud app model • Develop against Office 365 or • On-premise • Rich tooling support for app artifacts • Visual Studio 2013 Preview is available TODAY!
App Manifest • Design experience over the app manifest XML file
Lists & Content Types • Rich designer for creating lists, document libraries, and content types
Client Web Parts • Wizard helps create parts that can “shine through” data from your app – parts are also great entry points to your app
UI Custom Actions • Wizard helps create actions that show on ribbon or item menu
Workflows • End-to-end tooling for adding workflows to your app
Business Connectivity Services • Tooling to help bring OData services into your app
Hosting Options SharePoint-hosted apps Cloud-hosted apps Provider-hosted SharePoint-hosted Autohosted SharePoint Host Web SharePoint Host Web SharePoint Host Web Your hosted site Windows Azure Websites SharePoint App Web
Web to SharePoint Communication • OAuth is used to ensure secure communications between your web application and SharePoint
Creating a Cloud-hosted App • Multiple ways to create a cloud-hosted app for SharePoint • New project wizard • Autohosted and Provider-hosted both include a web project • Add event to SharePoint-hosted app • App events and remote event receivers add a web project • Appetize a web project • Choose “Add App for SharePoint” • from Project menu of any web project
Event Receivers • Handle events fired from SharePoint in your cloud-hosted code • App Event Receivers • App Installed, App Uninstalling, App Upgraded • Remote Event Receivers • Item Added, Updating, etc. • Sync & Async
Debugging Event Receivers • Challenge: Firewalls block events when debugging with O365 site • Visual Studio utilizes Windows Azure Service Bus • Opens channel between O365 and local IISExpress • Developer uses their Windows Azure account • Service Bus connection string SharePoint app designer
Publish • Designer helps you publish your app to the Office Store or app catalog • Autohosted & SharePoint-hosted • Everything included in the .app package • Provider-hosted • Web assets published to web server • Artifacts & manifest in .app package
Summary • Visual Studio 2013 Preview • Supports new cloud app model • Develop against Office 365 or On-premise • Rich tooling support for app artifacts • Install it today at http://microsoft.com/visualstudio
Late breaking announcement Developer desktop
Developer desktop preview in Azure • Great for dev/test environments to build SharePoint solutions • Built on Azure Infrastructure as a Service (IaaS) • Supports SharePoint, Web and SQL development • Visual Studio 2013 Ultimate Preview pre-installed • SharePoint 2013 pre-installed • SQL Server 2012 Express pre-installed • Scripts to configure the environment included • Provision from portal or through PowerShell
Give us your feedback! • What? • Talk to a Microsoft developer tools team member about your experience building business apps • When & Where? • Schedule a time with Kelly in the back of the room or contact vsdr@microsoft.com • Room 254 Moscone South, Mezzanine Level • Why? • Your input and feedback will influence future Microsoft developer tools
Resources • http://dev.office.com • http://blogs.msdn.com/officeapps/ • http://social.msdn.microsoft.com/Forums/officeapps • Office, SharePoint & Yammer Sessions • Wednesday • 2:00-3:00, 3-602 0 to 60: Developing Apps for Microsoft SharePoint 2013 • 3:30-4:30, 3-603 Understanding Authentication and Permissions with Apps for SharePoint and Office • 5:00-6:00, 3-319 Developing Apps for SharePoint 2013 with Visual Studio 2013 • Thursday • 2:00-3:00, 3-601 0 to 60: Developing Apps for Microsoft Office 2013 • Friday • 10:30-11:30, 3-604 Advanced Patterns Using Windows Azure Web Sites for Apps for Office and SharePoint • 2:00-3:00, 3-605 Building Enterprise Web and Mobile Apps with the Yammer Platform
Required Slide *delete this box when your slide is finalized Your MS Tag will be inserted here during the final scrub. Evaluate this session • Scan this QR codeto evaluate this session and be automatically entered in a drawing to win a prize!