62
Extensión de SharePoint 2010 Eva Ordoñez Ingeniero SharePoint

Share point 2010 DEV

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: Share point 2010 DEV

Extensión de SharePoint 2010

Eva OrdoñezIngeniero SharePoint

Page 2: Share point 2010 DEV

Business Collaboration Applications

Portal for LOBApplication Data

Customized SharePoint Server 2010 Workloads

Visual Studio® 2010

MSDN SharePoint SDK

Team Foundation Server

SharePoint Designer 2010

Microsoft Partner Program

MSDN® Forums

Patterns and Practices SharePoint GuidanceMicrosoft® Certification Exams

Composites

Widely Deployed Platform

Sandbox Solutions

Trained Administrators

Microsoft Official Curriculum

Search

Content

Communities

Sites

Insights

One Web Part Solutions

Run on Premises or Hosted

Run on SharePoint® Online

DEVELOPER TOOLS

COMMUNITY ECOSYSTEM

EXECUTION ENVIRONMENT

TARGET APPLICATIO

N TYPES

SHAREPOINT SERVER 2010 WORKLOADS

USER INTERFACEWeb Parts

Common SharePoint UI

DATA LAYERSharePoint Lists

Business Connectivity Services

BUSINESS LOGICASP.NET Code Behind

WorkflowsEvent Receivers

ACCESS CONTROLSharePoint Sites

SharePoint Groups

Page 3: Share point 2010 DEV

CapacidadesComposites: SharePoint Foundation provee soporte para workflows, SharePoint Server dispone de ellos predefinidos. También incluye Forms Services, que usa InfoPath. SharePoint Server añade funcionalidad con los Business Connectivity Services.

Insights: SharePoint incluye Web Parts para mostrar indicadores de rendimiento. Combinados con Business Connectivity Services, permite crear una aplicación de cuadro de mando para negocio, mostrando información actualizada. SharePoint Server también incluye Excel Services, que almacena y procesa hojas Excel en un servidor, en lugar de en cada escritorio de los usuarios.

Page 4: Share point 2010 DEV

Mejoras

Capacidad de extensión Visual Studio 2010, por integración (Plantillas, Visual Web Parts, Despliegue…)Revolución en SharePoint Designer 2010LINQ para SharePoint (Microsoft.SharePoint.Linq, SPMetal)Plantillas de sitio, exportadas como soluciones WSPBCSSoluciones de entorno controlado (Sandbox Solutions)

Page 5: Share point 2010 DEV

Entorno de ejecución

Page 6: Share point 2010 DEV

Herramientas

Page 7: Share point 2010 DEV

Visual Studio 2010

Page 8: Share point 2010 DEV

Evolución

VS2005 VS2008 VS2010

F5 Deploy Debug

WSP Packaging

SPSolGen

WSP View

+64 bit support

WSP View

Improved

Separate Package

Command

Command Line

Build

+Sequential

Workflow

State Machine

Workflow

VSeWSS VSeWSS 1.3

Multiple Visual

Designers

Packaging and

Deployment

Project & Item

Templates

TFS integration

Extensible Projects &

Tools

Upgrade Tool

2007 2008 2009 2010

Page 9: Share point 2010 DEV

Visual Studio 2010 SharePoint ToolsRequisitos entorno desarrolloSO x64

Windows 7Windows Vista SP1Windows Server 2008Windows Server 2008R2

SharePoint 2010 debe estar instalado localmente

SharePoint Foundation o SharePoint Server

Visual Studio 2010

Page 10: Share point 2010 DEV

Visual Studio 2010 SharePoint ToolsPlantillas y diseñadoresPlantillas de proyecto y objeto

Plantillas para muchos de los elementos de SharePointSoporte para sandboxed solutions

Diseñadores VisualesDiseño de web parts y característicasModelos de Business Data Connectivity (BDC)Workflows

SharePoint ExplorerNavegar por la colección de sitios

Mejoras para WorkflowWorkflows a nivel de sitioPlantillas para asociar y formularios iniciales

Page 11: Share point 2010 DEV

Visual Studio 2010 SharePoint ToolsProyectos

ComandosPackage, Retract

PropiedadesSandboxed, Site URL, etc…

Características & Nodos empaquetamientoLos elementos & ficheros tienen propiedades específicas

Page 12: Share point 2010 DEV

Visual Studio 2010 SharePoint ToolsProyectos

Carpetas mapeadas de C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14

Page 13: Share point 2010 DEV

SP Connections en Server Explorer

Add-in para la ventana de herramienta, que visualiza jerárquicamente, sitios y artefactos locales de SP

Vista de site collections, sites, features, lists, fields, etc…

Vista de propiedades para artefactos

Añadir conexiones a diferentes site collections

Page 14: Share point 2010 DEV

Estructura de proyectos

Nodos comunesProperties (estandar con VS)

References (estandar con VS)

Features (añadido con SP2010 Developer Tools)

Package (añadido con SP2010 Developer Tools)

SharePoint Project Items (añadido opcional con SP2010 Developer Tools)

Page 15: Share point 2010 DEV

Visual Studio 2010

Plantillas y asistentes

Demo

Page 16: Share point 2010 DEV

Proyecto

Page 17: Share point 2010 DEV

Asistente

Soporte para sandboxed solutions

Site usado para despliegue & depuración

Page 18: Share point 2010 DEV

Objetos

Page 19: Share point 2010 DEV

Diseñador de Característica

Propiedades clave

Dependencias para activación

Añadir/Quitar elementos

Ver/Editar XML (Manifest)

Page 20: Share point 2010 DEV

Diseñador de Package

NombrePackage

Añadir ensamblados,

controles y recursos

Añadir/Quitar elementos y

características

Ver/Editar Manifest

Page 21: Share point 2010 DEV

Packages

Packaging Explorer

Packages

SharePoint Project Items

(SPIs)

FeaturesCaracterístic

as

SharePoint Project Items

(SPIs)

Page 22: Share point 2010 DEV

Desarrollo continuo

Page 23: Share point 2010 DEV

Desarrollo continuo

Import

Export

Professional developer

Business Analyst/Process

DesignerDesign skeleton

workflow processes

View workflow visualizations

Design data-backed business

diagrams

Custom Web Parts

Code Workflows

Event Receivers

List Definitions

Application Pages

WSP Package

Designer/IW/Power UserCreate lists &

libs

Design Web Pages

Web part hook-up

Views & forms

Declarative Workflows

Page 24: Share point 2010 DEV

Importar SPD WorkflowImportar WF reutilizable creado en SPD como WSPLas reglas y el XOML se importanFichero XML de elementos se creaAñadir, borrar, modificar actividades y códigoAñadir formularios de inicio y asociacionesF5 para despliegue y depuración

Page 25: Share point 2010 DEV

Importar SharePoint Solution(WSP)

Asistente para seleccionar WSPElementos declarativos pueden seleccionarse para importarModificar elementos importados y extender añadiendo elementos, código, etc…

Page 26: Share point 2010 DEV

Desarrollo continuo

Microsoft Office Visio, SharePoint Designer

Demo

Page 27: Share point 2010 DEV

Interoperabilidad

Page 28: Share point 2010 DEV

Interoperabilidad

Storage

External

Data

Search

UI Platform

Data AccessIden

tity

BCS

REST

CMIS

Open Search

HTML Standards

Claims

RBS

AD

LDAP…

Page 29: Share point 2010 DEV

APIs

Page 30: Share point 2010 DEV

Server-side API´s

El LINQ to SharePoint Provider se define en el espacio de nombres Microsoft.SharePoint.Linq Traduce consultas LINQ en consultas Collaborative Application Markup Language (CAML). No es necesario que los desarrolladores sepan escribir CAML. Las consultas LINQ pueden ser llamadas desde los modelos de objeto cliente y servidor.SPMetal es una herramienta que viene con LINQ-to-SharePoint y permite autogenerar tipos de entidades basadas en la definición de lista.

Utiliza el SharePoint Lists web service para obtener el esquema de la lista.

Server-Side Object Model76 namespaces19 assemblies

Server Object ModelEl modelo de objetos de servidor, provee acceso a todas las características que Microsoft SharePoint Foundation 2010 and Microsoft SharePoint Server 2010 exponen, programáticamente. Este modelo de objetos, está diseñado para ser utilizado por soluciones de SharePoint que se ejecuten en un Server. Este modelo, está definido en el ensamblado Microsoft.SharePoint.dll

Page 31: Share point 2010 DEV

Client-Side API´s

Client Object ModelEl modelo de objetos cliente, es un subconjunto del modelo de objetos servidor, que puede usarse para interoperar con los datos de SharePoint desde un cliente o servidor remoto. Está diseñado para minimizar el número de pasos que han de ejecutarse para llevar a cabo las tareas más comunes. La mayor parte del modelo está definido en los ensamblados Microsoft.SharePoint.Client.dll y Microsoft.SharePoint.Client.Runtime.dll

Page 32: Share point 2010 DEV
Page 33: Share point 2010 DEV

Excel Services API´s

http://myserver/_vti_bin/ExcelRest.aspx/Docs/Documents/sampleWorkbook.xlsx/model/Ranges('Sheet1!A1|G5')

Page 34: Share point 2010 DEV

Interoperabilidad

REST & ADO.NET Data Services

Demo

Page 35: Share point 2010 DEV

Espacios de nombres y clasesServidor (Microsoft.SharePoint)

.NET Managed (Microsoft.SharePoint.Client)

Silverlight (Microsoft.SharePoint.Client.Silverlight)

ECMAScript (SP.js)

SPContext

Contexto cliente Contexto cliente Contexto cliente

SPWeb Web Web Web

SPSite Sitio Sitio Sitio

SPList Lista Lista Lista

SPListItem

Elemento Elemento Elemento

SPField Campo Campo Campo

Page 36: Share point 2010 DEV

Recursos

SharePoint Developer Centerhttp://msdn.microsoft.com/en-us/sharepoint/default.aspx

Development Video Wrap-uphttp://msdn.microsoft.com/en-us/sharepoint/ee514561.aspx

Managing Enterprise Metadatahttp://msdn.microsoft.com/en-us/library/ee559337(office.14).aspx

Metadata and Taxonomy Programming Modelhttp://msdn.microsoft.com/en-us/library/ee556337(office.14).aspx

Managing metadata from external applicationshttp://msdn.microsoft.com/es-es/library/bb902856(en-us).aspx

XML Document Property Promotion and Demotionhttp://msdn.microsoft.com/es-es/library/aa544164(en-us,office.14).aspx

Using the SharePoint Foundation Server-Side Object Modelhttp://msdn.microsoft.com/en-us/library/ee538251(office.14).aspx

Managed Client Object Modelhttp://msdn.microsoft.com/en-us/library/ee537247(office.14).aspx

Page 37: Share point 2010 DEV

BCS & Business App

Page 38: Share point 2010 DEV

Trabajo con datos

Page 39: Share point 2010 DEV

BCS en SKU

Page 40: Share point 2010 DEV

Hello World – Server API

Page 41: Share point 2010 DEV

.Net CLR Client OM

C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\ISAPI

Microsoft.SharePoint.Client281kb

Microsoft.SharePoint.Client.Runtime145kb

To Compare:Microsoft.SharePoint.dll – 15.3MB

Page 42: Share point 2010 DEV

Hello World – .Net CLR

Page 43: Share point 2010 DEV

Silverlight CLR Client OM

C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions \14\TEMPLATE\LAYOUTS\ClientBin

Microsoft.SharePoint.Client.Silverlight262KB

Microsoft.SharePoint.Client.Silverlight.Runtime

138KB

Page 44: Share point 2010 DEV

Hello World – Silverlight CLR

Page 45: Share point 2010 DEV

Javascript Client OM

C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS SP.js (SP.debug.js)

380KB (559KB)

SP.Core.js (SP.Core.debug.js)13KB (20KB)

SP.Runtime.js (SP.Runtime.debug.js)68KB (108KB)

Page 46: Share point 2010 DEV

Hello World – JavaScript

Page 47: Share point 2010 DEV

Trabajo con datos

Business Connectivity Services

Demo

Page 48: Share point 2010 DEV

Lógica de negocio

Page 49: Share point 2010 DEV

Sandbox Solutions

Page 50: Share point 2010 DEV

Soluciones

Page 51: Share point 2010 DEV

Soluciones de entorno controlado

Sandbox WebPart

Demo

Page 52: Share point 2010 DEV

Soluciones soportadas

Content Types, Site ColumnsCustom ActionsDeclarative WorkflowsEvent Receivers, Feature ReceiversInfoPath Forms Services (not admin-appr)JavaScript, AJAX, jQuery, SilverlightDefiniciones de listasNon-visual web partsSite PagesSharePoint OnLine

Page 53: Share point 2010 DEV

El “Sandbox”

Proceso separado en que se ejecuta la soluciónExpone un subconjunto de Microsoft.SharePoint

La funcionalidad está limitada por políticas de Code Access SecuritySite Collection Solution Gallery para despliegueCentral Administration para gestionar y monitorizar

Page 54: Share point 2010 DEV

Proceso separado

User Code Service(SPUCHostService.exe)Sandbox Worker Process(SPUCWorkerProcess.exe)Sandbox Worker Process Proxy(SPUCWorkerProcessProxy.exe)

Page 55: Share point 2010 DEV

Subconjunto Microsoft.SharePointMicrosoft.SharePoint Except

• SPSite constructor• SPSecurity object• SPWorkItem and SPWorkItemCollection objects• SPAlertCollection.Add method• SPAlertTemplateCollection.Add method• SPUserSolution and SPUserSolutionCollection objects• SPTransformUtilities

Microsoft.SharePoint.NavigationMicrosoft.SharePoint.Utilities Except

• SPUtility.SendEmail method• SPUtility.GetNTFullNameandEmailFromLogin method

Microsoft.SharePoint.WorkflowMicrosoft.SharePoint.WebPartPages Except

• SPWebPartManager object• SPWebPartConnection object• WebPartZone object• WebPartPage object• ToolPane object• ToolPart object

Page 56: Share point 2010 DEV

Solution Gallery

Site Collection Library•_catalogs/solutions• Cargar, activar/desactivar

Page 57: Share point 2010 DEV

Central Administration

Administración de la solución• Bloqueo de Soluciones• Plantillas de cuota• Resource Monitoring

Page 58: Share point 2010 DEV

Tu plataforma crece

Page 59: Share point 2010 DEV

Formación gratuita

Getting Started – Developing with SharePoint 2010http://msdn.microsoft.com/en-us/sharepoint/ee513147.aspx

SharePoint 2010: What’s New for Developers?http://www.microsoft.com/learning/_silverlight/learningsnacks/SP10/snack01/Default.html

Page 60: Share point 2010 DEV

Más sobre SharePoint 2010

Información paraIT ProsTechNet

http://MSSharePointITPro.com

Información paraDevelopers

MSDNhttp://MSSharePointDeveloper.com

Información paraEveryone

http://SharePoint.Microsoft.com

Page 61: Share point 2010 DEV

¡Muchas gracias!

Page 62: Share point 2010 DEV

© 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.