Presentation is loading. Please wait.

Presentation is loading. Please wait.

SPC2012 - Developer 6/25/2018 © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.

Similar presentations


Presentation on theme: "SPC2012 - Developer 6/25/2018 © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks."— Presentation transcript:

1 SPC Developer 6/25/2018 © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

2 I Want to be a SharePoint Developer But Don’t Know Where to Start
SPC Developer 6/25/2018 SPC127 I Want to be a SharePoint Developer But Don’t Know Where to Start Steve Fox Director, Services Microsoft © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

3 Goals Foundation session to cover off on the fundamentals
Understand what it takes to get started with SharePoint development

4 Agenda Fundamentals Developer Tools Programmability Common Tasks
Where to Next?

5 {Fundamentals}

6 What is SharePoint? It’s a platform for…
collaboration for organizations of all sizes document mgmt., projects and workflow for web and enterprise content publishing surfacing business intelligence building custom apps to extend core features So…it’s being used in many scenarios For more:

7 Contoso SharePoint Site
SPC Developer 6/25/2018 Contoso SharePoint Site © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

8 What Makes up a SharePoint Site?
Site Collection (Template) App Subsite App List List Item

9 SharePoint Architecture
Events Apps Visual Studio Napa SPD Development Azure Web Deployment Services Content Content DB Security Sites ASP.NET/IIS Windows OS

10 SharePoint Farm Topology
Web Front End development deployment App Servers Content DB For more: **Small to medium farm

11 What is SharePoint Development?
Can be defined along a spectrum Simple browser-based configuration/development Client-side programming/scripting (e.g. HTML, JS, CSS) Branding (e.g. Master Pages) Managed code development (e.g. ASP.NET, C#/VB) My preferred segmentation API/OM Master Page/CSS UI Config./HTML Site/App/List/Item Developer Designer Power User End User

12 Customizing your First SharePoint Site
SPC Developer 6/25/2018 Customizing your First SharePoint Site © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

13 Developer Tip # 1: Business Requirements
Make sure all business requirements are documented and understood up front before you start any SharePoint development. You want to ensure you save time and don’t replicate the in-box functionality.

14 {Developer Tools}

15 Browser-Based Development
Site creation and administration Themes, branding and master pages HTML content editing Inline JavaScript CSS Overrides

16 “Napa” Browser-based Lightweight, client apps
SharePoint or Office Apps Quick run and deploy Migrate to Visual Studio Free “App”

17 Deploying JavaScript Apps to SharePoint using Napa
SPC Developer 6/25/2018 Deploying JavaScript Apps to SharePoint using Napa © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

18 SharePoint Designer Designer tool Create, edit and view capabilities
Not meant to integrate with ALM Migrate to Visual Studio Free tool

19 Visual Studio 2012 Fully featured IDE
SharePoint project and item-level templates Supports source code ALM Build and retract Remote debug and deploy Not free, but there is a trial period

20 Building your First SharePoint App using Visual Studio 2012
SPC Developer 6/25/2018 Building your First SharePoint App using Visual Studio 2012 © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

21 Other Tools Branding Debugging Community & ISV …

22 Developer Tip # 2: Which Option?
When looking to extend SharePoint, you need to consider all options from farm solutions, sandboxed solutions to different types of apps. This is true across the product… many times you have lots of options on who to achieve something, but no “best” option. The best you can do is to make sure you are well educated and prepared for all options so you can make the most informed decision possible.

23 {Programmability}

24 Programming Against SharePoint
Services SharePoint Server Object Model Client-side Object Model REST/Odata (_API) Client-side Script/Mark-up PowerShell

25 Language/Mark-up Support
.NET ASP.NET C#/Visual Basic Script JavaScript Mark-up HTML XML CAML

26 Language/Mark-up Support, cont’d
.NET ASP.NET C#/Visual Basic Script JavaScript Mark-up HTML XML CAML

27 Language/Mark-up Support, cont’d
.NET ASP.NET C#/Visual Basic Script JavaScript Mark-up HTML XML CAML

28 Language/Mark-up Support, cont’d
.NET ASP.NET C#/Visual Basic Script JavaScript Mark-up HTML XML CAML

29 Deployment Code/Packaging Marketplace Inline Code
SharePoint App (.APP) Windows SharePoint Solution (.WSP) SharePoint Feature Marketplace Corporate Catalog Office Store

30 Managed vs. Unmanaged

31 Developer Tip # 3 & 4: App Part & OAuth
Unlike Web Parts, App Parts were not designed to participate in App Part to App Part communication. SharePoint 2013 just adds OAuth support to authenticate SharePoint apps, it does not use OAuth to authenticate users.  However, when using OAuth from a SharePoint app, you can also check a user’s permissions (perform authorization).

32 Common Tasks Creating, administering a site Creating a Web part
Data (e.g. List) Programming SharePoint-Hosted App Content types, site columns, etc. Branding & Theming

33 Accessing Lists Programmatically

34 Developer Tip # 5: Accessing Lists
The “tip” I most frequently use is getting the list through the URL instead of the title.  It’s a pain to get right the first time but once you do it you’ve got a stable way to access a list (since title can change) and it’s more performant since SharePoint doesn’t have to load the collection of lists up.  However, it’s not supported in the CSOM or REST (without a second call)

35 {Where to next?}

36 Sampling of Interesting SPC Dev Sessions
What’s new for developers in Office 2013 & SharePoint 2013 0 to 60 with Office and SharePoint 2013 apps using Napa and Visual Studio 2012 10 Tips for Building SharePoint 2013 Apps Introduction to the Cloud App Model for Office and SharePoint 2013 A Primer in HTML & JavaScript An Overview of Developing SharePoint-Hosted Apps Building End-to-End Applications for SharePoint with Windows 8 and Windows Azure Developing SharePoint 2013 Apps with Visual Studio 2012 Understanding Authentication for Apps for SharePoint Understanding OAuth, REST & OData Windows Azure Basics for SharePoint Developers Building Apps for SharePoint using PhP and Node.js

37 Get started… Got to And look out for….

38 MySPC Evaluate this session now on MySPC using your laptop or mobile device:

39 Thank you! Steve Fox stefox@microsoft.com
SPC Developer 6/25/2018 Thank you! Steve Fox © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

40 6/25/2018 6:41 PM © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION. © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.


Download ppt "SPC2012 - Developer 6/25/2018 © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks."

Similar presentations


Ads by Google