SharePoint 2010 Online for Developer
-
Upload
mohamed-faizal -
Category
Technology
-
view
2.359 -
download
0
Transcript of SharePoint 2010 Online for Developer
introducK.Mohamed Faizal, Lead Consultant – Chief Architect Office 31st Jan 2012 @ SharePoint CoP
Introducing
for Developer
introduc2
Agenda• Introduction to Office 365• SharePoint Online Overview• SharePoint 2010 Online what is in / out• Developing for SharePoint 2010 Online • Sandbox Solutions• Workflow Solutions
3
Introducing
| Copyright© 2011 Microsoft Corporation
Office 365 Includes…
• Store your important documents, and share expertise using personal My Sites
• Share documents, task lists, and schedules to keep business units in sync using team sites
• Work effortlessly with partners and customers by creating sites to share information securely
• 10GB per tenant + 500 MB per user
• 25GB Mailbox• Outlook and Outlook Web App• Premium antivirus/anti-spam (Forefront)• Shared calendars, contacts, and tasks• Mobile email for most mobile devices including
BlackBerry, iPhone, Nokia, Windows Phone• Email archiving and compliance capabilities
• Instant messaging and presence• PC-to-PC audio and video calling • Click-to-communicate from Outlook, SharePoint, and other Office
Applications • Online meetings with PC-audio, video conferencing and screen
sharing• Single click meeting creation and join from Outlook• Calendar integration with Outlook and Exchange
• Flexible service offering with pay-as-you-go, per-user licensing• The complete Office experience with services integration in
Office 365 • Simplified user set-up to preconfigure services• Always the latest version of the Office apps, including Office Web
Apps• Familiar Office user experience to access services
Single user interface to purchase, administer and user with role-based access control | Single sign-on with on-premises Active Directory |
99.9% financially backed SLA | 24x7 IT Pro Support | Built in geo-redundancy in regional datacenters
CONTROL AND EFFICIENCY
World Class Data Centers
• $2.3B+ Investment in cloud infrastructure• Geo-Redundant Data Centers• Locations in North America, Europe, and Asia to provide optimal
performance• 99.9% guaranteed uptime (99.95% actual)• Secure Infrastructure – ISO27001 and SAS70 certified• Built from the ground up to be environmentally sustainable
Plans for All Your Employees
7
Plan K1$4/m
Plan K2$10/m
Plan E1$10/m
Plan E2$16/m
Plan E3$24/m
Plan E4$27/m
TEAM SITES
Keep teams in sync and manage important projects
INTRANET SITES
Keep up to date with company news and
information
Create sites to share documents and information with colleagues and customers
MY SITES
Manage and share personal documents and information
Search
SharePoint and the cloud
Sites & Communities Content Management Business Intelligence & Composite Applications
ON PREMISES
OFFICE 365No BCS, PerformancePoint
No full-trust code
No FAST Search or Unified Search
No Records Center or e-discovery
No SharePoint for Internet Sites
SharePoint Online Feature Overview
Sites and Communities• My Sites• Team Sites• Intranet Sites• External Sharing Sites• Wikis & Blogs
• Tagging, rating, commenting, note board• Office Integration (2007/2010)• SharePoint Workspace 2010 for Offline
Working• Simple Public-Facing Website
Content• Document Libraries• Slide & Media Libraries• Business Taxonomies & Tagging
• Document Sets & ID’s• Legal Holds• Office Web Apps
Search• Cross-site Collection Search• Search Refiners• Best bets
• Indexing Controls People Search• Phonetic Search• View in browser
Insights and Composites• Excel Services• Access Services• Visio Services
• Forms Services• Silverlight Web part• Sandbox Solutions
Sites & Communities
11
• My Sites• Team Sites• Intranet Sites• Extranet Sites• Office Integration (2007/2010)• SharePoint Workspace 2010 for Offline Working• Simple Public-Facing Website
What’s In
• SharePoint for Internet Sites (targeted for release in FY12). Supports customizations, site authoring, and WCM workflow and approval.
What’s Out
• Document Libraries• Slide & Media Libraries• Business Taxonomies & Tagging• Document Sets & ID’s• Office Web Apps
What’s In
• Access to customer asset management systems. This limitation disables support for end-to-end eDiscovery scenarios. Targeted for W15.
What’s Out
Content Management
12
Search, Insights & Composites
13
• Cross-site Collection Search• Search Refiners/Indexing Controls People Search• Phonetic Search• Excel Services• Access Services• Visio Services• Forms Services• Silverlight Web part• Sandbox Solutions
What’s In
• Business Connectivity Services (BCS) which eliminates the ability to access external services. Targeted for release in FY12.• ‘Unified’ Search results combining online and customer site sources. (Targeted for W15)• FAST Search which includes features such as thumbnails, previews, contextual search, visual best bets, and deep search
refinement. Targeted for W15.• PerformancePoint Services. Targeted for W15.• PowerPivot is unable to connect to external services. Targeted for release in FY12.• Sandbox Solutions are targeted at the site collection level. • Alternatives to higher-end custom solutions (full-trust code) are targeted for FY12 and W15.
What’s Out
Sites Communities
Content Search CompositesInsights
Summary of Features
Ask Me About
Blogs
Colleague Suggestions
Colleagues and Memberships
Discussion Forums
Enterprise Wikis
Keyword Suggestions
My Network
Note Board
Organization Browser
Outlook Social Connector
Photos and Presence
Ratings
Recent Activities
Social Bookmarks
Status Updates
Surveys
Tag Clouds
Tag Profiles
Tags
What's New
Wikis
Document Sets
Legal Holds
Metadata Driven Navigation
Multi-stage Disposition
Office Integration
Rich Media Management
Shared Content Types and the Managed Metadata
Service
Support for Accessibility Standards
The Content Organizer
Unique Document IDs
Audience Targeting
Cross-Browser Support
Enterprise Management Operations
External Sharing
Fluent UI / Ribbon
Mobile Connectivity
Multi-Lingual Support
Office Client Integration
OOTB Web Parts
Scalability
Tagging
Video Support
Best Bets
Duplicate Results
Metadata-based Refinement
People and Expertise Search
Phonetics & Nickname Expansion
Recently Authored Content
Search a Single Site Collection
Search Across Site Collections
Search Scopes
Site Search
Social Behavior Improves Relevance
Taxonomy and Term Store Integration
View in BrowserKey:
Included
SharePoint 2010 vs. SharePoint Online Administration
Server Farm
Web Application Web Application …
Web Application
Site Collection Site Collection …
Site Collection
Sites Lists Libraries
Sites
Lists Libraries Sites
SharePoint Online Administration
• … in SharePoint Online Administration Center• Enable tenancy to externally share• Manage site collections and ownership• Manage storage & resource allocation• Manage My Sites & User Profile data• Manage metadata (across site collections;
master taxonomy)• Set default home site for end users• Rename website domain
• … in Microsoft Online Administration Center• Add and verify a domain name• Create, change, or delete user accounts• Create a security group• Establish Active Directory sync• Escalate issues to Online Services Support• Manage passwords• Monitor service licenses• Monitor service health
Responsibilities include … • Multi-Tenant• Modular Services
Applications• Offers governance at all
levels
= Administered by Microsoft
= Administered by Customer and/or Partner
SharePoint Online Development
OOTB Configuration• Browser-based page editing
• Lists, Libraries
• Web Parts
• Workflows
• Site Templates
Design• Master Pages
• Theming
• Site Templates
• Declarative Workflows
Development• Sandboxed Solutions
• Client Object Model
• .NET
• Silverlight
• JavaScript
• Web Services
Extensibility
Web Services
Client-Object Model
Silverlight
Sandboxed Solutions
Visual Studio 2010
Design
Site templates
Master pages
No-code workflows
SharePoint Designer 2010
SharePoint Online Configuration & Extensibility
Configuration (Out-of-the-Box)
Lists, libraries
Site templates
Workflows
Web Parts
Why Sandboxed Solutions?
Business
DevelopersAdministrators
Why Sandboxed Solutions?
Business
Developers
Administrators
Why Sandboxed Solutions?
Business
Developers
Administrators
Why Sandboxed Solutions?
Business
DevelopersAdministrators
Sandbox Architecture
Worker Service(SPUCWorkerProcess.exe)
Full Object Model
Host Services (SPUCHostService.exe)
Execution Manager(Inside Application Pool)
Subset Object Model
Untrusted Code
IIS(WPW3.EXE)
FRONT END BACK END
Worker Service(SPUCWorkerProcess.exe)
Full Object Model
Host Services (SPUCHostService.exe)
Execution Manager(Inside Application Pool)
Subset Object Model
Untrusted Code
IIS(W3WP.EXE)
FRONT END BACK END
Sandbox Architecture
Subset-Model Request
Sandbox Architecture
Worker Service(SPUCWorkerProcess.exe)
Full Object Model
Host Services (SPUCHostService.exe)
Execution Manager(Inside Application Pool)
Subset Object Model
Untrusted Code
IIS(W3WP.EXE)
FRONT END BACK END
Full-Model Request
Worker Service(SPUCWorkerProcess.exe)
Full Object Model
Host Services (SPUCHostService.exe)
Execution Manager(Inside Application Pool)
Subset Object Model
Untrusted Code
IIS(W3WP.EXE)
FRONT END BACK END
Sandbox Architecture
Resource Wasting Call
while(true) { //Do a Bad Bad Thing! }
Run for30sec
Solution MonitoringProtects Site Collection from resource intensive solutions• Resource Points measure resource consumption• Site Collection Quota limits resource consumption per day• Summed across all solutions• All solutions are deactivated
• Absolute Limit limits resources consumed by a solution• Hard limit of resources consumed in a request• Restarts worker process
Monitored Resources
Metric Name Description UnitsResources per Point
Absolute Limit
AbnormalProcess-TerminationCount
Process gets abnormally terminated Count 1 1
CPUExecutionTime CPU exception time Seconds 3’600 60
CriticalExceptionCount Critical exception fired Number 10 3
PercentProcessorTime Note: # of cores not factored in% Units of overall Processor consumed
85 100
SharePointDatabase-QueryCount
SharePoint DB Queries invoked Number 20 100
SharePointDatabase-QueryTime
Amount of time spent waiting for a query to be performed
Seconds 120 60
UnhandledException-Count
Unhandled Exceptions 50 3
[7 more...]
Sandboxed Solutions• Development• Scoped to SPSite and below, Partial Trust, subject to CAS• Executes in sandboxed execution environment
• User Code Service (SPUCHostService.exe)• Sandbox Worker Process (SPUCWorkerProcess.exe)• Sandbox Worker Process Proxy (SPUCWorkerProcessProxy.exe)
• Deployment• Uploaded to Solution Gallery by Site Collection owner• No IT Admin required
• Admin*• Solutions consume resource points• Solutions are disabled before affect site collection, etc.
• Required for SPO-S, primary choice for SPO-D
The Sandbox• Runs only a subset of Microsoft.SharePoint• Site/Web scoped features, Partial Trust• Site Collection Solution Gallery for deployment
• Code components• Web parts, Site Columns, Content Types, List Definitions, List
Instances• Event receivers, Feature activation receivers• Modules/Files• InfoPath Forms Services with code-behind • SharePoint Designer workflow activities
Sandbox Solution
Unsupported Features• Access to file system• Web application- or farm-scoped features• Global Assembly Cache (GAC)• Access to web.config• Ability to install code/files on server
• Timer Jobs• Admin access beyond site collection• Running with elevated privileges
• Access to external web service calls
X
Sandboxed Solutions SupportVisual Studio 2010 SharePoint 2010 item templates
Visual Studio Item Template
Sandbox compatible?
Visual Web PartVisual Web Part (Sandboxed)
Web PartSequential WorkflowState Machine Workflow
Business Data Connectivity Model
Application Page
Visual Studio Item Template
Sandbox compatible?
Event Receiver
Module
Content Type
List Definition From Content Type
List Definition
List Instance
Empty Element
User Control
Development Process
Develop Debug
Test
F5
WSP
WSP
WSP
Deploy
Staging
ProductionInternet
Workflow
Visual Studio 2010 Support• Project and item templates• Intellisense• Packaging• F5 Debugging• Visual Studio 2010 SharePoint Power Tools• Sandboxed compilation, Sandboxed-compatible Visual Web Part
Workflow Development• SharePoint Online supports
declarative workflows• Code-based workflows aren’t
supported in the sandbox• Prototype in Visio 2010• Customize in SharePoint
Designer 2010• Extend with Visual Studio 2010• Custom Workflow actions and events
• Deploy as *.wsp via “Save As Template” in SharePoint Designer
Development Process
Platform Comparison
Area SharePoint 2010 (on-premises)
SharePoint Online (multi-tenant)
OOB Browser Configuration (Web Parts, Theming)
SharePoint Designer 2010
Silverlight Web Part (.XAP files)
Sandboxed Solutions (Partial-trust code)
Client Object Model
SharePoint Web Services
Farm-level Solutions (Full-trust code) No
BCS (backend LOB integration) No
Visual Studio 2010 (SharePoint Tools) (Farm and Sandbox) (Sandbox only)
InfoPath Forms (Admin and Sandbox) (Sandbox only)
Workflows (Custom and Declarative) (Custom Activities in
Sandbox and Declarative)
Resource• Articles • Build Workflow Solutions for SharePoint Online• http://msdn.microsoft.com/en-us/magazine/hh288072.aspx• Cloud-Based Collaboration with SharePoint Online• http://msdn.microsoft.com/en-us/magazine/gg650656.aspx
• Presentation • OFS202-LNC SharePoint Online By Chris Mayo• Developing for SharePoint Online by Olaf Feldkamp• Developing for Microsoft SharePoint 2010 Online: Understanding the
Boundaries By Chris Mayo
40