SlideShare a Scribd company logo
SharePoint 2013 Web Content Management for Developers TSPUG
SharePoint 2013 Web Content Management for Developers TSPUG
SharePoint 2013 Web Content Management for Developers TSPUG
{ About.Me() }
https://mvp.support.microsoft.com/profile/Ed.Musters
• Current SharePoint MVP
• Author for two SP 2010 development books
• SharePoint Architect for Infusion
• Speaker at International Conferences on
SharePoint, at user groups, and at
SharePoint Saturdays
• Certified Trainer for the industry leading
SharePoint training from Critical Path
Training
• Telerik “Insider”
• Holds all MS certifications for SharePoint
2010
• Harley-Davidson ™ Enthusiast!
London Kraków Dubai New York Toronto Boston
6
And, yes, I do really have a Black
Belt. 
Published Books
Prize! Telerik DevCraft Ultimate Collection
SharePoint 2013 Web Content Management for Developers TSPUG
SharePoint 2013 Web Content Management for Developers TSPUG
SharePoint 2013 Web Content Management for Developers TSPUG
Full Trust Solutions
What are Full Trust Solutions?
• Solution Packages (WSPs) are installed to SharePoint
Server
• Typically, compiled .NET code is deployed to GAC
• Files are pushed physically to the SharePoint Root
directory
• More limited cloud scenarios via « SandBox » solutions
Full Trust Solutions
When are they suitable?
• If you have an on-premise deployment of SharePoint
• You have lots of existing solutions in SP 2007 / 2010
– That is, solutions you may want to re-use / migrate
• You are an ASP.NET web forms developer
• Can SandBox for cloud solutions (but deprecated)
• Cannot be app – such as timer job, admin page
Full Trust Solution Development
How are they developed?
• « Traditional » development using Visual Studio /
C#
• Program against the SharePoint Server object model
• Package using VS tools to SharePoint Solution
Packages (WSPs)
• Deploy to Farm, typically using PowerShell.
• SandBox solutions would be uploaded / activated
Solution Packages
• Solution Packages are sets of
functionality deployed to the farm or
site collection (sandbox)
• May contain one or more Features,
assemblies, pages, controls, and
other artifacts
• SharePoint framework handles
installation and configuration of
solution items
• Automated packaging and
deployment in Visual Studio 2010
Web Parts
Assemblies
Mapped
Folders
WSP
Features
• A ‘Feature’ is a defined set of
functionality encapsulated
within a specific format
• Features may be comprised of
any combination of code,
including web parts, workflows,
and site definitions
• Features may be deployed
individually or as a part of the
solution package
Solution
Feature
XML
Receiver
Assembly
Project Item
Web Part Template Workflow
Lethbridge VS 2010 Solution
Sample App – Footer Links
• Illustrates a very common development
pattern
1. Define schema: Site Columns and Content Types
2. List Provisioned with attached content types
3. A Web Part that performs a content query against
the content type / SP List
Solution Structure and Dependencies
Using Existing SP 2010 Solutions
Possible To:
• Deploy Existing Solutions
• Will deploy to « 14 » folder in SharePoint 2013
• Add « 14 » property to manifest!
SharePointProductVersion="14.0"
Convert VS Solutions from SP 2010
Possible To:
• Open Solution in VS 2012
• Change to latest Framework Version
• Change SharePoint References
• Add « 15 » property to manifest
SharePointProductVersion="15.0"
Convert VS Solutions from SP 2010
My Strongest Recommendation!
• Create New VS SP 2013 solution
• Ensure Package Name is different (e.g. append 2013)
• Bring in code / files from SP 2010
• Ultimately package structure should be identical
• Ensure feature names and IDs are the same
– OR
• Create with new feature IDs
SP 2013 Full Trust Solution
• Deploy as a WSP file (i.e. solution package)
• Deploy to the Farm
• Suitable for an on-Premises deployment only
• Absolutely a supported model for SP 2013!
• Very similar to developing full trust solutions for
SharePoint 2010
SP 2013 Footer Links Solution
SharePoint 2013 Web Content Management for Developers TSPUG
SharePoint 2013 Web Content Management for Developers TSPUG
• Design Manager
• Image Renditions
• Device Channels
• Image Renditions
• Multilingual
Web Content Management in SP 2013
• Search Driven Publishing Model
• Content Search Web Part
• Content Catalog
• Managed Navigation
• Cross Site Publishing
Web Content Management in SP 2013
In short, the model we use today for publishing sites in SharePoint 2010 is still “valid”, as
fundamentally publishing works the same way in SharePoint 2013
Deploy solutions to an on-premise farm
Since SharePoint 2013 has a complete “14” folder – it should be possible to “migrate” SP 2010
sites “as is” to a SharePoint 2013 box and have it run in “legacy” mode.
How we do branding in SharePoint 2013 has been completely changed with the introduction of
the Design Manager, making it dramatically easier to create such as master pages and page
layouts.
No more custom “branding solutions” in Visual Studio!
A very compelling Search driven publishing model has been added in SP 2013, making it possible
to create a publishing site featuring content from multiple site collections.
Information Architecture and Site Design become much more interesting!
The following slides on web content management in SP 2013 courtesy of Microsoft and the SP
2013 Conference
Wanted to give credit where it is due!! 
Acknowledgement!
SharePoint 2013 Web Content Management for Developers TSPUG
SharePoint 2013 Web Content Management for Developers TSPUG
138
19 13
0
20
40
60
80
100
120
140
160 W3C HTML Markup Validator Errors
Clean URLs http://www.c.com/cars
Home Page Redirects None
Country code top-level
domains (ccTLDs)
http://www.c.com/cars
http://www.c.mx/coches
XML Sitemaps Automatically generated and referenced in
robots.txt
SEO Properties Browser title, Meta description, Meta keywords
Canonical URLs
Webmaster Tools integration Assists with ownership verification
SharePoint 2013 Web Content Management for Developers TSPUG
SharePoint 2013 Web Content Management for Developers TSPUG
SharePoint 2013 Web Content Management for Developers TSPUG
Comps
CSS,
JS, etc.
HTML
Dreamweaver /
Photoshop / etc.
SharePoint Designer
SharePoint
Dreamweaver / etc.
Auto
Convert
Snippet
Gallery
Add controls
Upload
Comps
CSS,
JS, etc.
HTML
SharePoint 2013 Web Content Management for Developers TSPUG
0
400
800
1200
1600
2000
2005 2010 2015 2020
INTERNET
USERS
(MM)
Global Mobile vs. Desktop
Internet User Projection,
2007-2015E, by Morgan
Stanley
Mobile Desktop
Customized Design,
Fewer bytes over the wire
… all while maintaining Search Engine
Optimization?
Mozilla/5.0 (compatible; MSIE 10.0; Windows Phone 8.0;
Trident/6.0; IEMobile/10.0; ARM; Touch; NOKIA; Lumia 920)
SharePoint 2013 Web Content Management for Developers TSPUG
SharePoint 2013 Web Content Management for Developers TSPUG
SharePoint 2013 Web Content Management for Developers TSPUG
Examples of Search Driven Publishing
“Why wouldn’t
everything be
search driven?”
or in other words
“Are there times we
might not use
Search Driven
Publishing model?”
News
Commerce
Support
Knowledge Base
Internet
Intranet
Extranet
Mobile
Articles
Pictures
Video
Advantages of a Search Driven Publishing Model
Breakdown site
collection
boundaries
Eliminate large
list thresholds
Allows for
flexible &
dynamic
publishing
Separate
presentation
from storage
What makes it “Search Driven”
Q: “Don’t most
web sites already
have Search?”
A: Yes
“It’s not about searching
what we have published,
it about publishing,
republishing and
targeting content that we
have crawled…”
Index
SharePoint Content
Search
Publishing
External
What goes into making the Search Driven
Publishing Model?
Content
Search Web
Parts
Display
Templates
Query Builder
Query Rules
Content
Catalogs
Managed
Navigation
SharePoint 2013 Web Content Management for Developers TSPUG
SharePoint 2013 Web Content Management for Developers TSPUG
Audio
Cameras
Computers
Home appliances
Phones
TV and video
Adaptive experiences empower web developers to create portals
based on managed navigation and a few dynamic pages
Audio
Cameras
Computers
Home appliances
Phones
TV and video
Friendly URL
http://contoso.com/cameras
Use page
maincategory.aspx
Microsoft Confidential
Search
CONTENT SEARCH WEB PART
TERM STORE
NAVIGATION
TAXONOMY
Filter query by
CATEGORY: Cameras
Audio
Cameras
Computers
Home appliances
Phones
TV and video
TERM STORE
NAVIGATION
TAXONOMY
Friendly URL
http://contoso.com/computers
Use page
maincategory.aspx
Adaptive experiences empower web developers to create portals
based on managed navigation and a few dynamic pages
Microsoft Confidential
Search
CONTENT SEARCH WEB PART
Filter query by
CATEGORY: Computers
Content Search Web Part Content
Search
Web Parts
SharePoint 2013 Web Content Management for Developers TSPUG
Display Templates
Make your own
in HTML &
JavaScript
Many ship Out-
of the-Box
SharePoint 2013 Web Content Management for Developers TSPUG
Query Builder
IW focused
UI based
Allows
“advanced
mode”
Provides
Test & Preview
Add Refiners
SharePoint 2013 Web Content Management for Developers TSPUG
Query Rules
IW focused
Manipulate
Search Results
UI based
Adaptive experiences powers flexible consumption and re-use by separating content
management and site experience workflows
Combining static and dynamic content through Search
PRODUCT CATALOG JOB OPENINGS
ASSET LIBRARY
ARTICLES NAVIGATION
Microsoft Confidential
Adaptive experiences empower business users
with editorial control to maximize business goals
SharePoint 2013 Web Content Management for Developers TSPUG
Content Catalogs
Available
across Farms
A settings on a
List or Library
Integrated with
Search
Product
Catalog Site
Template
Define URL
Format
Select Nav
structure
1a. Enable
2. Index 3. Connect
1b. New
Catalog Enabling Catalog Connection
SharePoint 2013 Web Content Management for Developers TSPUG
Managed Navigation
New Nav
Provider
Friendly URLS
Product
Catalog
integration
Terms can be
site structures
1:1 binding of
Site Collection
to Term Set
SharePoint 2013 Web Content Management for Developers TSPUG
SharePoint 2013 Web Content Management for Developers TSPUG
“Create content in an Authoring
environment and use it in any
one of your SharePoint publishing
environments.”
Cross Site Publishing
URL
manipulation
Multi-branding
Authoring and
Production
tiers
Multilingual
Things to know:
1. This is not content
deployment
2. Requires the
Publishing feature
3. Requires a Catalog
Flexibility in
Page Content
Cross Site Publishing
Why XSP?:
1. Need to Publish >1
location
2. Need a multilingual site
3. Need to separate authoring
and publishing
SharePoint 2013 Web Content Management for Developers TSPUG
SharePoint 2013 Web Content Management for Developers TSPUG
SharePoint 2013 Web Content Management for Developers TSPUG
SharePoint 2013 Web Content Management for Developers TSPUG
SharePoint App Model
Is this not THE new way to develop for SP?
• This was all that was talked about at the MS
SharePoint Conference!
• No code is deployed to the SharePoint servers
• You may choose any technoloogy, you host it
• Apps are published – coporate store or public
marketplace
• Suitable for on-premise or cloud (Office 365)
SharePoint App Model
When are Apps suitable?
• If your primary purpose is to access data in SharePoint
• Your custom solution is a new one
• App is not ASP.NET – iOS, Win 8, Win Phone, MVC, LAMP
(PhP)
• Leverage pure web dev skills – HTML, CSS, JavaScript
(jQuery)
• You want to be able to move from on-premise to Cloud
App Model Overview
• For On Premise or Cloud Scenarios
• App code never runs on the SharePoint box
• App accesses SharePoint via web services
• Can use a Client Side Object Model approach
or a REST services approach
• Apps deployed to catalog (could be MS Store
or Corporate catalog)
• Have a Site or Tenancy scope
App Hosting
• SharePoint-Hosted Apps
– App resources added to SharePoint host
– Deployed to child site known as app web
– App can have client side code only
• Cloud-Hosted Apps
– App resources deployed on remote server
– Remote site known as remote web
– App can have client and server side code
Client Side Object Model (CSOM)
• Two main kinds:
– Managed CSOM (.NET / C# code)
– Javascript CSOM (aka JSOM)
• Similar to the old-school OM (which it ultimately
calls) but with extra considerations for
– Serializing and downloading only what you need back
from the server
– Minimizing the number of HTTP requests
– Async nature of JavaScript
• Keywords: Object Model
CSOM Improvements
• New APIs with SharePoint Server functionality
– User Profiles
– Search
– Taxonomy
– Feeds
– Publishing
– Sharing
– Workflow
– E-Discovery
– IRM
– Analytics
– Business Data
Search Queries: CSOM
ClientContext clientContext = new ClientContext(siteUrl);
var query = new KeywordQuery(clientContext);
query.QueryText = "Search terms";
SearchExecutor searchExecutor = new SearchExecutor(clientContext);
var resultCollection = searchExecutor.ExecuteQuery(query);
// process results
clientContext.ExecuteQuery();
REST Api
• REpresentational State Transfer
• Language-independent (only requires HTTP)
– I.E. JavaScript or C#
• Formulate an HTTP request to get something back
(GET) or get something done (POST or PUT)
• SharePoint’s REST API obeys OData (Open Data)
specification (well-known standard syntaxes for
querying/filtering, machine-traversable entity
relationships)
Search Queries: REST
• Keywords:
http://[..]/_api/search/query?querytext='{KQL Query}'
• Selecting Properties:
http://[..]/_api/search/query?querytext='test'&selectpr
operties='Title,Rank'
• Sorting:
http://[..]/_api/search/query?querytext='test'&sortlist
='LastModifiedTime:descending'
http://[..]/_api/search/query?querytext='test'&sortlist
='LastModifiedTime:descending,Rank:ascending'
CSOM or REST?
CSOM REST API
JavaScript YES YES
C# YES YES
Translation: 4 possibilities, all technically possible
CSOM REST API
JavaScript MAYBE BEST (Usually)
C# BEST (Usually) MAYBE
Translation: Focus on the 2 combinations that (usually) work best
SharePoint 2013 Web Content Management for Developers TSPUG
SharePoint 2013 Web Content Management for Developers TSPUG
Conclusion – Full Trust
• Full Trust Solution Development is still cool!
• Tradtional ASP.NET / C# web form
development
• Can “migrate” source code from 2010
Publishing solutions
• Great option for On Premise installation
Conclusion - Apps
• SharePoint Apps are the future direction for
SharePoint development
• Your first choice for new development
• Can be SharePoint or Cloud Hosted
• Suitable for On Premise or Online
• REST is API of choice for SP interaction
• Don’t need a local dev environment!
– Develop against SharePoint Online
Other WCM Considerations
• Migrating your brand to SP 2013 via Design
Manager
• Think Mobile! Responsive Design, Device
Channels, Image Renditions
• Search Driven Cross Site Publishing: Catalog
site, Content by Search Web Part, Metadata
Navigation
Prize! Telerik DevCraft Ultimate Collection
SharePoint 2013 Web Content Management for Developers TSPUG
Questions? Discussion
• Ed Musters
• emusters@infusion.com
• @TechEdToronto

More Related Content

PPTX
What's New and Different in SharePoint 2013
PDF
Tutorial, Part 1: SharePoint 101: Jump-Starting the Developer by Rob Windsor ...
PDF
Discover SharePoint 2013
PPTX
Introduction To Microsoft SharePoint 2013
PPTX
Workflow Manager Tips & Tricks
PPTX
SharePoint Development(Lesson 5)
PDF
SPSRIC - A SharePoint Designer’s Lessons Learned
PPTX
User Centered Design and SharePoint Publishing Portals
What's New and Different in SharePoint 2013
Tutorial, Part 1: SharePoint 101: Jump-Starting the Developer by Rob Windsor ...
Discover SharePoint 2013
Introduction To Microsoft SharePoint 2013
Workflow Manager Tips & Tricks
SharePoint Development(Lesson 5)
SPSRIC - A SharePoint Designer’s Lessons Learned
User Centered Design and SharePoint Publishing Portals

What's hot (20)

PPTX
Becoming a SharePoint Design Ninja
PPTX
Don't upgrade to SharePoint 2013
PPSX
Basics of SharePoint
PDF
SharePoint 101
PPTX
Digital asset management using SharePoint 2013
PPTX
A Career in SharePoint
PPTX
SharePoint 2013 features overview
PDF
SharePoint Saturday Chicago Suburbs 2016 - Modern Intranet Development Best P...
PPTX
10 Best SharePoint Features You’ve Never Used #SPC_ORG
PPTX
How to build SharePoint applications that everybody loves
PPTX
The SharePoint 2013 App Model
PPTX
SPCAdriatics - Search Administration and Troubleshooting in SharePoint 2013
PDF
AvePoint - SharePoint App Lifecycle Mgmnt
PDF
SharePoint Saturday Kansas 2015 - Building Killer Office365 Public Sites
PDF
SharePoint 2013 Insights
PPTX
Designing SharePoint 2010 for Business
PDF
10 Reasons your SharePoint Migration Failed
PPTX
Designing SharePoint 2010 for Business
PPTX
Microsoft Graph
PDF
Access Services in SharePoint 2010 - All You Need to Know
Becoming a SharePoint Design Ninja
Don't upgrade to SharePoint 2013
Basics of SharePoint
SharePoint 101
Digital asset management using SharePoint 2013
A Career in SharePoint
SharePoint 2013 features overview
SharePoint Saturday Chicago Suburbs 2016 - Modern Intranet Development Best P...
10 Best SharePoint Features You’ve Never Used #SPC_ORG
How to build SharePoint applications that everybody loves
The SharePoint 2013 App Model
SPCAdriatics - Search Administration and Troubleshooting in SharePoint 2013
AvePoint - SharePoint App Lifecycle Mgmnt
SharePoint Saturday Kansas 2015 - Building Killer Office365 Public Sites
SharePoint 2013 Insights
Designing SharePoint 2010 for Business
10 Reasons your SharePoint Migration Failed
Designing SharePoint 2010 for Business
Microsoft Graph
Access Services in SharePoint 2010 - All You Need to Know
Ad

Viewers also liked (9)

ODP
Lotus collaboration solutions for Start Up Companies
ODP
Dolibarr - What's new 3.9 and 4.0 (english)
ODP
Dolibarr the future - Christmas devcamp in Valence
ODP
Dolibarr ERP CRM - What's new in 5.0
PPTX
How to - analysis and design of web publishing solutions with SharePoint
PPTX
PPT
Presentación ERP & CRM Dolibarr
PPTX
Web publishing
PPTX
Présentation dolibarr & google apps
Lotus collaboration solutions for Start Up Companies
Dolibarr - What's new 3.9 and 4.0 (english)
Dolibarr the future - Christmas devcamp in Valence
Dolibarr ERP CRM - What's new in 5.0
How to - analysis and design of web publishing solutions with SharePoint
Presentación ERP & CRM Dolibarr
Web publishing
Présentation dolibarr & google apps
Ad

Similar to SharePoint 2013 Web Content Management for Developers TSPUG (20)

PPTX
SharePoint FireStarter - Session 1 - Keynote - Eric Swift
PPTX
Sharepoint 2013 Overview
PPTX
SharePoint Fest Chicago Web Content Management in SharePoint 2013
PDF
Envision IT - SharePoint 2013 Web Content Managment
PDF
SharePoint 2010 101 @ SPSVB
PPTX
Module 1 - Introduction to the SharePoint Developer Landscape .pptx
PPTX
SharePoint Conference North America 2018 - Las Vegas - Announcements
PPTX
Thoughts on building deployable and updatable share point solutions
PPTX
Custom Development in SharePoint – What are my options now?
PDF
Envision IT - Application Lifecycle Management for SharePoint in the Enterprise
PPTX
SP2013 WCM Bootcamp - DSN Designing for SharePoint 2013
PPTX
What’s New for IT Professionals in Microsoft® SharePoint® Server 2013 Day 3
PDF
Is SharePoint 2013 worth waiting for?
PPTX
Intro to SharePoint for Developers
PPT
Introduction to SharePoint 2013
PPTX
Introduction to SharePoint 2013
PPTX
Microsoft Ignite 2018 - SharePoint Related News & Announcements (with roadmap...
PDF
O365Con19 - Customise the UI in Modern SharePoint Workspaces - Corinna Lins
PPTX
MN Govt IT Symposium - SharePoint 2013 The Next Stage In Evolution
PPTX
So You Want To Be A SharePoint Developer-SPS Silicon Valley 2015
SharePoint FireStarter - Session 1 - Keynote - Eric Swift
Sharepoint 2013 Overview
SharePoint Fest Chicago Web Content Management in SharePoint 2013
Envision IT - SharePoint 2013 Web Content Managment
SharePoint 2010 101 @ SPSVB
Module 1 - Introduction to the SharePoint Developer Landscape .pptx
SharePoint Conference North America 2018 - Las Vegas - Announcements
Thoughts on building deployable and updatable share point solutions
Custom Development in SharePoint – What are my options now?
Envision IT - Application Lifecycle Management for SharePoint in the Enterprise
SP2013 WCM Bootcamp - DSN Designing for SharePoint 2013
What’s New for IT Professionals in Microsoft® SharePoint® Server 2013 Day 3
Is SharePoint 2013 worth waiting for?
Intro to SharePoint for Developers
Introduction to SharePoint 2013
Introduction to SharePoint 2013
Microsoft Ignite 2018 - SharePoint Related News & Announcements (with roadmap...
O365Con19 - Customise the UI in Modern SharePoint Workspaces - Corinna Lins
MN Govt IT Symposium - SharePoint 2013 The Next Stage In Evolution
So You Want To Be A SharePoint Developer-SPS Silicon Valley 2015

More from Ed Musters (11)

PPTX
Collab365 global 2016_edmusters_searchzerotohero
PPTX
SharePoint Search Zero to Search Hero
PPTX
SharePoint Search Zero to Search Hero - SPSNL 2016
PPTX
Using Telerik Kendo UI in Office 365
PPTX
Telerik Kendo UI Overview
PPTX
Telerik Kendo UI in Office 365
PPTX
SharePoint 2013 Sandbox Solutions for On Premise or Office 365
PPTX
SharePoint 2013 Sandbox Solutions for On Premise and Office 365
PPTX
SharePoint 2013 Web Content Management for Developers HSPUG
PPTX
SharePoint 2013 Document Management Out of the Box
PPTX
Full Trust Solution Development in SharePoint 2013
Collab365 global 2016_edmusters_searchzerotohero
SharePoint Search Zero to Search Hero
SharePoint Search Zero to Search Hero - SPSNL 2016
Using Telerik Kendo UI in Office 365
Telerik Kendo UI Overview
Telerik Kendo UI in Office 365
SharePoint 2013 Sandbox Solutions for On Premise or Office 365
SharePoint 2013 Sandbox Solutions for On Premise and Office 365
SharePoint 2013 Web Content Management for Developers HSPUG
SharePoint 2013 Document Management Out of the Box
Full Trust Solution Development in SharePoint 2013

Recently uploaded (20)

PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
Empathic Computing: Creating Shared Understanding
PPT
Teaching material agriculture food technology
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
Approach and Philosophy of On baking technology
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
cuic standard and advanced reporting.pdf
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPTX
Understanding_Digital_Forensics_Presentation.pptx
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Network Security Unit 5.pdf for BCA BBA.
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Empathic Computing: Creating Shared Understanding
Teaching material agriculture food technology
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Chapter 3 Spatial Domain Image Processing.pdf
Spectral efficient network and resource selection model in 5G networks
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Reach Out and Touch Someone: Haptics and Empathic Computing
NewMind AI Monthly Chronicles - July 2025
Approach and Philosophy of On baking technology
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
20250228 LYD VKU AI Blended-Learning.pptx
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Mobile App Security Testing_ A Comprehensive Guide.pdf
Agricultural_Statistics_at_a_Glance_2022_0.pdf
cuic standard and advanced reporting.pdf
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Understanding_Digital_Forensics_Presentation.pptx

SharePoint 2013 Web Content Management for Developers TSPUG

  • 4. { About.Me() } https://mvp.support.microsoft.com/profile/Ed.Musters • Current SharePoint MVP • Author for two SP 2010 development books • SharePoint Architect for Infusion • Speaker at International Conferences on SharePoint, at user groups, and at SharePoint Saturdays • Certified Trainer for the industry leading SharePoint training from Critical Path Training • Telerik “Insider” • Holds all MS certifications for SharePoint 2010 • Harley-Davidson ™ Enthusiast!
  • 5. London Kraków Dubai New York Toronto Boston
  • 6. 6 And, yes, I do really have a Black Belt. 
  • 8. Prize! Telerik DevCraft Ultimate Collection
  • 12. Full Trust Solutions What are Full Trust Solutions? • Solution Packages (WSPs) are installed to SharePoint Server • Typically, compiled .NET code is deployed to GAC • Files are pushed physically to the SharePoint Root directory • More limited cloud scenarios via « SandBox » solutions
  • 13. Full Trust Solutions When are they suitable? • If you have an on-premise deployment of SharePoint • You have lots of existing solutions in SP 2007 / 2010 – That is, solutions you may want to re-use / migrate • You are an ASP.NET web forms developer • Can SandBox for cloud solutions (but deprecated) • Cannot be app – such as timer job, admin page
  • 14. Full Trust Solution Development How are they developed? • « Traditional » development using Visual Studio / C# • Program against the SharePoint Server object model • Package using VS tools to SharePoint Solution Packages (WSPs) • Deploy to Farm, typically using PowerShell. • SandBox solutions would be uploaded / activated
  • 15. Solution Packages • Solution Packages are sets of functionality deployed to the farm or site collection (sandbox) • May contain one or more Features, assemblies, pages, controls, and other artifacts • SharePoint framework handles installation and configuration of solution items • Automated packaging and deployment in Visual Studio 2010 Web Parts Assemblies Mapped Folders WSP
  • 16. Features • A ‘Feature’ is a defined set of functionality encapsulated within a specific format • Features may be comprised of any combination of code, including web parts, workflows, and site definitions • Features may be deployed individually or as a part of the solution package Solution Feature XML Receiver Assembly Project Item Web Part Template Workflow
  • 17. Lethbridge VS 2010 Solution
  • 18. Sample App – Footer Links • Illustrates a very common development pattern 1. Define schema: Site Columns and Content Types 2. List Provisioned with attached content types 3. A Web Part that performs a content query against the content type / SP List
  • 19. Solution Structure and Dependencies
  • 20. Using Existing SP 2010 Solutions Possible To: • Deploy Existing Solutions • Will deploy to « 14 » folder in SharePoint 2013 • Add « 14 » property to manifest! SharePointProductVersion="14.0"
  • 21. Convert VS Solutions from SP 2010 Possible To: • Open Solution in VS 2012 • Change to latest Framework Version • Change SharePoint References • Add « 15 » property to manifest SharePointProductVersion="15.0"
  • 22. Convert VS Solutions from SP 2010 My Strongest Recommendation! • Create New VS SP 2013 solution • Ensure Package Name is different (e.g. append 2013) • Bring in code / files from SP 2010 • Ultimately package structure should be identical • Ensure feature names and IDs are the same – OR • Create with new feature IDs
  • 23. SP 2013 Full Trust Solution • Deploy as a WSP file (i.e. solution package) • Deploy to the Farm • Suitable for an on-Premises deployment only • Absolutely a supported model for SP 2013! • Very similar to developing full trust solutions for SharePoint 2010
  • 24. SP 2013 Footer Links Solution
  • 27. • Design Manager • Image Renditions • Device Channels • Image Renditions • Multilingual Web Content Management in SP 2013 • Search Driven Publishing Model • Content Search Web Part • Content Catalog • Managed Navigation • Cross Site Publishing
  • 28. Web Content Management in SP 2013 In short, the model we use today for publishing sites in SharePoint 2010 is still “valid”, as fundamentally publishing works the same way in SharePoint 2013 Deploy solutions to an on-premise farm Since SharePoint 2013 has a complete “14” folder – it should be possible to “migrate” SP 2010 sites “as is” to a SharePoint 2013 box and have it run in “legacy” mode. How we do branding in SharePoint 2013 has been completely changed with the introduction of the Design Manager, making it dramatically easier to create such as master pages and page layouts. No more custom “branding solutions” in Visual Studio! A very compelling Search driven publishing model has been added in SP 2013, making it possible to create a publishing site featuring content from multiple site collections. Information Architecture and Site Design become much more interesting!
  • 29. The following slides on web content management in SP 2013 courtesy of Microsoft and the SP 2013 Conference Wanted to give credit where it is due!!  Acknowledgement!
  • 32. 138 19 13 0 20 40 60 80 100 120 140 160 W3C HTML Markup Validator Errors
  • 33. Clean URLs http://www.c.com/cars Home Page Redirects None Country code top-level domains (ccTLDs) http://www.c.com/cars http://www.c.mx/coches XML Sitemaps Automatically generated and referenced in robots.txt SEO Properties Browser title, Meta description, Meta keywords Canonical URLs Webmaster Tools integration Assists with ownership verification
  • 38. SharePoint Dreamweaver / etc. Auto Convert Snippet Gallery Add controls Upload Comps CSS, JS, etc. HTML
  • 40. 0 400 800 1200 1600 2000 2005 2010 2015 2020 INTERNET USERS (MM) Global Mobile vs. Desktop Internet User Projection, 2007-2015E, by Morgan Stanley Mobile Desktop Customized Design, Fewer bytes over the wire … all while maintaining Search Engine Optimization?
  • 41. Mozilla/5.0 (compatible; MSIE 10.0; Windows Phone 8.0; Trident/6.0; IEMobile/10.0; ARM; Touch; NOKIA; Lumia 920)
  • 45. Examples of Search Driven Publishing “Why wouldn’t everything be search driven?” or in other words “Are there times we might not use Search Driven Publishing model?” News Commerce Support Knowledge Base Internet Intranet Extranet Mobile Articles Pictures Video
  • 46. Advantages of a Search Driven Publishing Model Breakdown site collection boundaries Eliminate large list thresholds Allows for flexible & dynamic publishing Separate presentation from storage
  • 47. What makes it “Search Driven” Q: “Don’t most web sites already have Search?” A: Yes “It’s not about searching what we have published, it about publishing, republishing and targeting content that we have crawled…”
  • 49. What goes into making the Search Driven Publishing Model? Content Search Web Parts Display Templates Query Builder Query Rules Content Catalogs Managed Navigation
  • 52. Audio Cameras Computers Home appliances Phones TV and video Adaptive experiences empower web developers to create portals based on managed navigation and a few dynamic pages Audio Cameras Computers Home appliances Phones TV and video Friendly URL http://contoso.com/cameras Use page maincategory.aspx Microsoft Confidential Search CONTENT SEARCH WEB PART TERM STORE NAVIGATION TAXONOMY Filter query by CATEGORY: Cameras
  • 53. Audio Cameras Computers Home appliances Phones TV and video TERM STORE NAVIGATION TAXONOMY Friendly URL http://contoso.com/computers Use page maincategory.aspx Adaptive experiences empower web developers to create portals based on managed navigation and a few dynamic pages Microsoft Confidential Search CONTENT SEARCH WEB PART Filter query by CATEGORY: Computers
  • 54. Content Search Web Part Content Search Web Parts
  • 56. Display Templates Make your own in HTML & JavaScript Many ship Out- of the-Box
  • 58. Query Builder IW focused UI based Allows “advanced mode” Provides Test & Preview Add Refiners
  • 61. Adaptive experiences powers flexible consumption and re-use by separating content management and site experience workflows Combining static and dynamic content through Search PRODUCT CATALOG JOB OPENINGS ASSET LIBRARY ARTICLES NAVIGATION
  • 62. Microsoft Confidential Adaptive experiences empower business users with editorial control to maximize business goals
  • 64. Content Catalogs Available across Farms A settings on a List or Library Integrated with Search Product Catalog Site Template Define URL Format Select Nav structure 1a. Enable 2. Index 3. Connect 1b. New
  • 67. Managed Navigation New Nav Provider Friendly URLS Product Catalog integration Terms can be site structures 1:1 binding of Site Collection to Term Set
  • 70. “Create content in an Authoring environment and use it in any one of your SharePoint publishing environments.” Cross Site Publishing URL manipulation Multi-branding Authoring and Production tiers Multilingual Things to know: 1. This is not content deployment 2. Requires the Publishing feature 3. Requires a Catalog Flexibility in Page Content
  • 71. Cross Site Publishing Why XSP?: 1. Need to Publish >1 location 2. Need a multilingual site 3. Need to separate authoring and publishing
  • 76. SharePoint App Model Is this not THE new way to develop for SP? • This was all that was talked about at the MS SharePoint Conference! • No code is deployed to the SharePoint servers • You may choose any technoloogy, you host it • Apps are published – coporate store or public marketplace • Suitable for on-premise or cloud (Office 365)
  • 77. SharePoint App Model When are Apps suitable? • If your primary purpose is to access data in SharePoint • Your custom solution is a new one • App is not ASP.NET – iOS, Win 8, Win Phone, MVC, LAMP (PhP) • Leverage pure web dev skills – HTML, CSS, JavaScript (jQuery) • You want to be able to move from on-premise to Cloud
  • 78. App Model Overview • For On Premise or Cloud Scenarios • App code never runs on the SharePoint box • App accesses SharePoint via web services • Can use a Client Side Object Model approach or a REST services approach • Apps deployed to catalog (could be MS Store or Corporate catalog) • Have a Site or Tenancy scope
  • 79. App Hosting • SharePoint-Hosted Apps – App resources added to SharePoint host – Deployed to child site known as app web – App can have client side code only • Cloud-Hosted Apps – App resources deployed on remote server – Remote site known as remote web – App can have client and server side code
  • 80. Client Side Object Model (CSOM) • Two main kinds: – Managed CSOM (.NET / C# code) – Javascript CSOM (aka JSOM) • Similar to the old-school OM (which it ultimately calls) but with extra considerations for – Serializing and downloading only what you need back from the server – Minimizing the number of HTTP requests – Async nature of JavaScript • Keywords: Object Model
  • 81. CSOM Improvements • New APIs with SharePoint Server functionality – User Profiles – Search – Taxonomy – Feeds – Publishing – Sharing – Workflow – E-Discovery – IRM – Analytics – Business Data
  • 82. Search Queries: CSOM ClientContext clientContext = new ClientContext(siteUrl); var query = new KeywordQuery(clientContext); query.QueryText = "Search terms"; SearchExecutor searchExecutor = new SearchExecutor(clientContext); var resultCollection = searchExecutor.ExecuteQuery(query); // process results clientContext.ExecuteQuery();
  • 83. REST Api • REpresentational State Transfer • Language-independent (only requires HTTP) – I.E. JavaScript or C# • Formulate an HTTP request to get something back (GET) or get something done (POST or PUT) • SharePoint’s REST API obeys OData (Open Data) specification (well-known standard syntaxes for querying/filtering, machine-traversable entity relationships)
  • 84. Search Queries: REST • Keywords: http://[..]/_api/search/query?querytext='{KQL Query}' • Selecting Properties: http://[..]/_api/search/query?querytext='test'&selectpr operties='Title,Rank' • Sorting: http://[..]/_api/search/query?querytext='test'&sortlist ='LastModifiedTime:descending' http://[..]/_api/search/query?querytext='test'&sortlist ='LastModifiedTime:descending,Rank:ascending'
  • 85. CSOM or REST? CSOM REST API JavaScript YES YES C# YES YES Translation: 4 possibilities, all technically possible CSOM REST API JavaScript MAYBE BEST (Usually) C# BEST (Usually) MAYBE Translation: Focus on the 2 combinations that (usually) work best
  • 88. Conclusion – Full Trust • Full Trust Solution Development is still cool! • Tradtional ASP.NET / C# web form development • Can “migrate” source code from 2010 Publishing solutions • Great option for On Premise installation
  • 89. Conclusion - Apps • SharePoint Apps are the future direction for SharePoint development • Your first choice for new development • Can be SharePoint or Cloud Hosted • Suitable for On Premise or Online • REST is API of choice for SP interaction • Don’t need a local dev environment! – Develop against SharePoint Online
  • 90. Other WCM Considerations • Migrating your brand to SP 2013 via Design Manager • Think Mobile! Responsive Design, Device Channels, Image Renditions • Search Driven Cross Site Publishing: Catalog site, Content by Search Web Part, Metadata Navigation
  • 91. Prize! Telerik DevCraft Ultimate Collection
  • 93. Questions? Discussion • Ed Musters • emusters@infusion.com • @TechEdToronto

Editor's Notes

  • #6: 400 full-time employee consultants with offices in Toronto, Waterloo, New York, Boston, Houston, London UK and Dubai (Calgary expansion underway - planned Q4 2010) Specialists in the design, architecture and implementation of enterprise-scale solutions in Public Sector, Travel & Tourism, Financial Services, Oil & Gas, Retail, Education and Healthcare Recognized Experts on strategic Microsoft technologies: .NET, SharePoint, Dynamics CRM SQL Server, Performance Point, Bing Maps, CCF 2008, Silverlight, WPF, WCF, WW, BizTalk, Mobility and Microsoft Surface Services: Consulting & Strategy Enterprise Solution Design & Development User Experience Design & Information Architecture On-site technical mentoring & training Application hosting and support Technical writing