sharepoint cincy f5 tornado sharepoint development overview
DESCRIPTION
An overview of SharePoint 2010 and 2013 development for beginners.TRANSCRIPT
![Page 2: SharePoint Cincy F5 Tornado SharePoint Development Overview](https://reader036.vdocuments.us/reader036/viewer/2022062306/554f93cbb4c905d25b8b5367/html5/thumbnails/2.jpg)
#SPcincy2013 on Twitterwww.sharepointcincy.com
• Open wireless access is available.
• Feel free to Tweet (#SPcincy2013) and blog during the session.
![Page 3: SharePoint Cincy F5 Tornado SharePoint Development Overview](https://reader036.vdocuments.us/reader036/viewer/2022062306/554f93cbb4c905d25b8b5367/html5/thumbnails/3.jpg)
Thanks to our Platinum Sponsors
#SPcincy2013 on Twitterwww.sharepointcincy.com
![Page 4: SharePoint Cincy F5 Tornado SharePoint Development Overview](https://reader036.vdocuments.us/reader036/viewer/2022062306/554f93cbb4c905d25b8b5367/html5/thumbnails/4.jpg)
BIO
Patrick Tucker, Principal ConsultantMCT, MCTS, MCPD, MCITP, MCSD, MCAD, MCDBA
Email: [email protected] or [email protected]: www.tuckersnet.comTwitter: @TuckersNet
Developer, Architect, Trainer for over 14 yearsSharePoint since 2005Country when country wasn’t cool
![Page 5: SharePoint Cincy F5 Tornado SharePoint Development Overview](https://reader036.vdocuments.us/reader036/viewer/2022062306/554f93cbb4c905d25b8b5367/html5/thumbnails/5.jpg)
ABOUT SDS
SDS Custom SharePoint SolutionsAgile development and SharePoint coding experience to create an optimal solution for your unique SharePoint application and integration needs.
· Workflow & InfoPath Forms for Business Process Automation
· SharePoint Reports & BI Integration
· Portals & Collaboration
· Content Management
Agile Practices for proven faster delivery, higher quality, & increased business value.
![Page 6: SharePoint Cincy F5 Tornado SharePoint Development Overview](https://reader036.vdocuments.us/reader036/viewer/2022062306/554f93cbb4c905d25b8b5367/html5/thumbnails/6.jpg)
WHO’S THIS FOR?
It’s for you if you’re a …
A .NET developer new to SharePoint?
A developer from another background or language
Non-developer who wants to learn more
Recent lottery winner willing to give some cash to local instructors
Not for you if you’re a ...
Experienced SharePoint developer
IT Pro who thinks development is for the nerds and the birds
Confused attendee who wandered into the wrong class
If you’re a SharePoint 2010 dev looking for new stuff in 2013, sit near the back so you can sneak out easily
![Page 7: SharePoint Cincy F5 Tornado SharePoint Development Overview](https://reader036.vdocuments.us/reader036/viewer/2022062306/554f93cbb4c905d25b8b5367/html5/thumbnails/7.jpg)
.NET AND SHAREPOINTunderstanding how the platform is put together
![Page 8: SharePoint Cincy F5 Tornado SharePoint Development Overview](https://reader036.vdocuments.us/reader036/viewer/2022062306/554f93cbb4c905d25b8b5367/html5/thumbnails/8.jpg)
SHAREPOINT SITS ON TOP OF ASP.NET
SharePoint is a platform that sits on top of ASP.NET
ASP.NET Web Forms, not MVC
SP 2010 is built on .NET 3.5
SP 2013 is built on .NET 4.5
SharePoint brings its own objects to the party and its own way of doing things
So SharePoint developers are different from ASP.NET developers
![Page 9: SharePoint Cincy F5 Tornado SharePoint Development Overview](https://reader036.vdocuments.us/reader036/viewer/2022062306/554f93cbb4c905d25b8b5367/html5/thumbnails/9.jpg)
SHAREPOINT ARCHITECTURE
Farm
Web Applicatio
n 1
Site Collection
1
Host Web App Web
Site
List
Item
Item
Library
File
File
Site Collection
2Web Applicatio
n 2
![Page 10: SharePoint Cincy F5 Tornado SharePoint Development Overview](https://reader036.vdocuments.us/reader036/viewer/2022062306/554f93cbb4c905d25b8b5367/html5/thumbnails/10.jpg)
SHAREPOINT OBJECTS & DATA
Farm (SPFarm) – single configuration database
Web Application (SPWebApplication) – think IIS web site, one or more content databases
Site Collection (SPSite) – top level plus subsites, security boundary, in 1 content database
Site (SPWeb) – sub site, container for lists and libraries (which are not equal to db tables)
![Page 11: SharePoint Cincy F5 Tornado SharePoint Development Overview](https://reader036.vdocuments.us/reader036/viewer/2022062306/554f93cbb4c905d25b8b5367/html5/thumbnails/11.jpg)
SHAREPOINT DEPLOYMENT
starting at the finish line
![Page 12: SharePoint Cincy F5 Tornado SharePoint Development Overview](https://reader036.vdocuments.us/reader036/viewer/2022062306/554f93cbb4c905d25b8b5367/html5/thumbnails/12.jpg)
WRAPPING THINGS UP
Features wrap up things like web parts, timer jobs, etc.
Solutions (.wsp files) are the units of deployment in SharePoint 2010
Apps are a new means of deployment in SharePoint 2013 (.app files)
SharePoint Designer may also be used to deploy changes to pages, lists, libraries and workflows in both 2010 and 2013
![Page 13: SharePoint Cincy F5 Tornado SharePoint Development Overview](https://reader036.vdocuments.us/reader036/viewer/2022062306/554f93cbb4c905d25b8b5367/html5/thumbnails/13.jpg)
FARM SOLUTIONS
These solutions are deployed to the SharePoint farm by an administrator and run with full trust
GAC Deployment
Still possible with SharePoint 2013
![Page 14: SharePoint Cincy F5 Tornado SharePoint Development Overview](https://reader036.vdocuments.us/reader036/viewer/2022062306/554f93cbb4c905d25b8b5367/html5/thumbnails/14.jpg)
SANDBOX SOLUTIONS
Deployed to a solution store by a site owner.
A move toward limited permissions and resources
Provides as subset of classes
Deprecated but still around in SharePoint 2013
![Page 15: SharePoint Cincy F5 Tornado SharePoint Development Overview](https://reader036.vdocuments.us/reader036/viewer/2022062306/554f93cbb4c905d25b8b5367/html5/thumbnails/15.jpg)
CLOUD
Office 365
SharePoint hosted by Microsoft (Azure) or by third party hoster
Not all clouds are the same
Client side code becomes key
![Page 16: SharePoint Cincy F5 Tornado SharePoint Development Overview](https://reader036.vdocuments.us/reader036/viewer/2022062306/554f93cbb4c905d25b8b5367/html5/thumbnails/16.jpg)
HOW TO CREATE FOR SHAREPOINT
so what can we build?
![Page 17: SharePoint Cincy F5 Tornado SharePoint Development Overview](https://reader036.vdocuments.us/reader036/viewer/2022062306/554f93cbb4c905d25b8b5367/html5/thumbnails/17.jpg)
ARTIFACTS
DefinitionsSite, list, content
types, etc.
Visual ComponentsWeb Parts, App
Parts, Controls, etc.
ProcessingWorkflows, event receivers, timer
jobs
External Connections
BCS, External Event Receivers
![Page 18: SharePoint Cincy F5 Tornado SharePoint Development Overview](https://reader036.vdocuments.us/reader036/viewer/2022062306/554f93cbb4c905d25b8b5367/html5/thumbnails/18.jpg)
DEFINITIONS
XML Based Definitions of sites, lists, content types, features, etc.
Deployed to the server via features and solutions
14 Hive and/or 15 Hive, depending on SharePoint version
![Page 19: SharePoint Cincy F5 Tornado SharePoint Development Overview](https://reader036.vdocuments.us/reader036/viewer/2022062306/554f93cbb4c905d25b8b5367/html5/thumbnails/19.jpg)
WEB PARTS
May be created as a web part or visual web part
Added to web part pages in definitions or by users
In SharePoint 2010, may be deployed to the sandbox
![Page 20: SharePoint Cincy F5 Tornado SharePoint Development Overview](https://reader036.vdocuments.us/reader036/viewer/2022062306/554f93cbb4c905d25b8b5367/html5/thumbnails/20.jpg)
PROCESSING
Workflows Two workflow platforms – 2010 and 2013 SharePoint 2013 supports either platform SharePoint Designer is a prime time tool for 2013 workflows
Event Receivers Code that runs in response to a feature or list action Deployed as definition plus code Remote event receivers are available for SharePoint 2013 apps
Timer Jobs Allows scheduling of server side code processes on the farm
![Page 21: SharePoint Cincy F5 Tornado SharePoint Development Overview](https://reader036.vdocuments.us/reader036/viewer/2022062306/554f93cbb4c905d25b8b5367/html5/thumbnails/21.jpg)
PAGES
Master Pages allow UI reuse, introduced with ASP.NET
Application pages
Page Layouts add a visual layer to a content type and provide templates
SharePoint pages may also be created in the “Pages” or “Site Pages” libraries
![Page 22: SharePoint Cincy F5 Tornado SharePoint Development Overview](https://reader036.vdocuments.us/reader036/viewer/2022062306/554f93cbb4c905d25b8b5367/html5/thumbnails/22.jpg)
SHAREPOINT 2013 APPS
MSDN states “Apps for SharePoint are self-contained pieces of functionality that extend the capabilities of a SharePoint website. An app may include SharePoint components such as a lists, workflows, and site pages, but it can also surface a remote web application and remote data in SharePoint.”
![Page 23: SharePoint Cincy F5 Tornado SharePoint Development Overview](https://reader036.vdocuments.us/reader036/viewer/2022062306/554f93cbb4c905d25b8b5367/html5/thumbnails/23.jpg)
SHAREPOINT 2013 APP HOSTING
http://msdn.microsoft.com/en-us/library/fp179930.aspx
Autohosted – think Azure; server and client code OK
Provider-hosted – think your own hosting environment; server and client code OK
SharePoint-hosted – think Office 365, client code only
![Page 24: SharePoint Cincy F5 Tornado SharePoint Development Overview](https://reader036.vdocuments.us/reader036/viewer/2022062306/554f93cbb4c905d25b8b5367/html5/thumbnails/24.jpg)
HOW TO TALK TO SHAREPOINT
languages, apis and tools
![Page 25: SharePoint Cincy F5 Tornado SharePoint Development Overview](https://reader036.vdocuments.us/reader036/viewer/2022062306/554f93cbb4c905d25b8b5367/html5/thumbnails/25.jpg)
TWO SHAREPOINT WORLDS
SP 2010
•.NET Developer
SP 2013
•Web Standards Developer
![Page 26: SharePoint Cincy F5 Tornado SharePoint Development Overview](https://reader036.vdocuments.us/reader036/viewer/2022062306/554f93cbb4c905d25b8b5367/html5/thumbnails/26.jpg)
STANDARDS - 2010
SharePoint 2010 Declarative – CAML, XML, XSLT
Used to build reusable definitions Used to query the data hidden deep in SQL tables
Server Side Programming .NET languages (C#, VB.NET, etc. used to build solutions)
Client Side Programming Client Object Model limited / subset of classes JavaScript, jQuery, JSON, etc.
Services ASMX, WCF, REST
PowerShell
![Page 27: SharePoint Cincy F5 Tornado SharePoint Development Overview](https://reader036.vdocuments.us/reader036/viewer/2022062306/554f93cbb4c905d25b8b5367/html5/thumbnails/27.jpg)
STANDARDS - 2013
SharePoint 2013 Declarative – CAML, XML, XSLT Apps Development – HTML 5, CSS 3, JavaScript Server Side Programming
.NET languages (C#, VB.NET, etc. used to build solutions) Client Side Programming
Rich Client Side Object Model (CSOM) for managed code and JavaScript JavaScript, jQuery, JSON, etc.
Services REST, OData, OAuth (ASMX is deprecated)
PowerShell
![Page 28: SharePoint Cincy F5 Tornado SharePoint Development Overview](https://reader036.vdocuments.us/reader036/viewer/2022062306/554f93cbb4c905d25b8b5367/html5/thumbnails/28.jpg)
APIS
Server Side Object Model Useful for farm solutions or LINQ to Objects or LINQ to SharePoint
Client Side Object Model CSOM (C#, JavaScript) jQuery, JavaScript libraries
Web Services WCF entry point in 2010 – client.svc, listdata.svc (still around if needed) SharePoint 2013 – client.svc entry point extended with REST (_api in
URL) REST and OData
Mobile New API for Windows Phone applications
![Page 29: SharePoint Cincy F5 Tornado SharePoint Development Overview](https://reader036.vdocuments.us/reader036/viewer/2022062306/554f93cbb4c905d25b8b5367/html5/thumbnails/29.jpg)
CHOOSING THE RIGHT API
http://msdn.microsoft.com/en-us/library/jj164060.aspx
![Page 30: SharePoint Cincy F5 Tornado SharePoint Development Overview](https://reader036.vdocuments.us/reader036/viewer/2022062306/554f93cbb4c905d25b8b5367/html5/thumbnails/30.jpg)
FEELING DISORIENTED YET?
So apps or no apps?
To the cloud or the cellar?
Client side or server side?
![Page 31: SharePoint Cincy F5 Tornado SharePoint Development Overview](https://reader036.vdocuments.us/reader036/viewer/2022062306/554f93cbb4c905d25b8b5367/html5/thumbnails/31.jpg)
WHAT TO BUILD SHAREPOINT WITH
tools of the trade
![Page 32: SharePoint Cincy F5 Tornado SharePoint Development Overview](https://reader036.vdocuments.us/reader036/viewer/2022062306/554f93cbb4c905d25b8b5367/html5/thumbnails/32.jpg)
TOOLS
Visual Studio 2010 and 2012 SharePoint 2010 and 2013 templates, including 2013 Apps Visual Studio 2012 Update 2 is most current Need Microsoft Office Developer Tools for Visual Studio 2012
SharePoint Designer SPD 2010 – a graphical designer and workflow editor SPD 2013 – a workflow designer and light admin tool
LightSwitch A “light” development tool to build little or no code applications http://msdn.microsoft.com/en-us/library/vstudio/jj969621.aspx
“Napa” Office 365 Development A web based development tool for SharePoint online apps Can deploy to SharePoint directly with .app files
![Page 33: SharePoint Cincy F5 Tornado SharePoint Development Overview](https://reader036.vdocuments.us/reader036/viewer/2022062306/554f93cbb4c905d25b8b5367/html5/thumbnails/33.jpg)
PROJECTS
SharePoint 2010 / VS 2010 or 2012 SharePoint 2013 / VS 2012
![Page 34: SharePoint Cincy F5 Tornado SharePoint Development Overview](https://reader036.vdocuments.us/reader036/viewer/2022062306/554f93cbb4c905d25b8b5367/html5/thumbnails/34.jpg)
COOL FREE STUFF
Free SharePoint 2013 Sample Pack (lots of code samples) http://code.msdn.microsoft.com/officeapps/Apps-for-SharePoint-sample-
64c80184
Free Office 365 Developer Site http://msdn.microsoft.com/en-us/library/fp179924.aspx
Free SharePoint 2010 Developer Training from Microsoft http://msdn.microsoft.com/en-us/sp2010devtrainingcourse.aspx
Free HTML 5, CSS and JavaScript course from Microsoft https://www.microsoftvirtualacademy.com/training-courses/learn-html5-
with-javascript-css3-jumpstart-training
Free SharePoint 2010 Code Samples http://code.msdn.microsoft.com/office/SharePoint-2010-101-Code-
da251182
![Page 35: SharePoint Cincy F5 Tornado SharePoint Development Overview](https://reader036.vdocuments.us/reader036/viewer/2022062306/554f93cbb4c905d25b8b5367/html5/thumbnails/35.jpg)
•Remember to visit the exhibit hall.
•Get to know your user groups to find out about local activities and events in your area.
•Make sure you stick around for the closing session and turn in your business cards to be eligible for the prize raffles.
#SPcincy2013 on Twitterwww.sharepointcincy.com
![Page 36: SharePoint Cincy F5 Tornado SharePoint Development Overview](https://reader036.vdocuments.us/reader036/viewer/2022062306/554f93cbb4c905d25b8b5367/html5/thumbnails/36.jpg)
#SPcincy2013 on Twitterwww.sharepointcincy.com
Please Support our Sponsors!