Your SlideShare is downloading. ×
  • Like


Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.


Now you can save presentations on your phone or tablet

Available for both IPhone and Android

Text the download link to your phone

Standard text messaging rates apply

TDC 2010 Floripa-SC SharePoint 2010: Novidades para os desenvolvedores .net



Published in Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads


Total Views
On SlideShare
From Embeds
Number of Embeds



Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

    No notes for slide
  • Connect and Empower People​Making people more productive is a direct result of enabling them to access resources and knowledge regardless of where they are and what device they use, through a user experience optimized for usability and adoption.  Learn moreCut costs with a Unified Infrastructure​Driving cost efficiencies and accomplishing more with the same resources is possible through the consolidation of all the key business collaboration solutions into SharePoint 2010 and using this common platform to deploy solutions for your intranet, extranet, or for your Internet web presence.  Learn moreRapidly Respond to Business Needs​When time-to-market is key, SharePoint 2010 enables people to customize the out-of-box platform and deploy solutions that enable them to address specific business requirements quickly and in a secure manner.  Learn more Sites: Share information seamlessly and securely with employees, partners and customersComunidades: Empower people to work together in new waysConteúdo: Manage content lifecycle from creation to dispositionBusca: Find people and information anywhereInsights: Make informed business decisionsComposites: Rapidly create dynamic business solutions
  • Sites: SharePoint Sites delivers a single infrastructure to provide portal and collaboration capabilities across intranet, extranet, and Internet sites. Bring users together to share information, data, and expertise across organizations. Comunidades:SharePoint Communities empowers people to work together in ways that are most effective for them. Allow people to collaborate in groups, share knowledge and ideas, connect with colleagues, and find information and experts easilyConteúdo: SharePoint Content enables all users to participate in a governed, compliant content management lifecycle. SharePoint Content makes it possible to expertly balance user experience with policy and process.Busca: SharePoint Search give users the ability to find the content, information, and people they need by combining an integrated, easy-to-manage platform with best-of-breed enterprise search technology.Insights: SharePoint Insights enables users to access and interact with information across unstructured and structured data sources. Empower users to discover the right people and expertise to make better and more agile business decisionsComposites:SharePoint Composites empowers users to rapidly respond to business needs by creating their own no-code solutions on-premises or in the cloud, through a rich set of building blocks, tools, and self-service capabilities.
  • The developer experience for SharePoint 2007 has been less than ideal due to a lack of tool support, wizards and designers. Many developers coming from a background with .NET and ASP.NET development have been frustrated at the need to write batch files, work in the command line and write XML in a under-documented language know as Collaborative Application Markup Language (CAML).The functionality of Visual Studio Extensions for WSS 3.0 was much improved as it evolved from version 1.0 to 1.3. Although even the latest version does not provide an end-to-end solution for SharePoint development. Many SharePoint 2007 developers have an arsenal of community tools to accomplish many of the required tasks within SharePoint development.
  • The Visual Studio 2010 SharePoint Tools (SPT) represents a significant step forward for professional developers using SharePoint. SharePoint Explorer fallows quick exploration through a siteThis makes it possible to launch browser at specific place within siteSharePoint 2010 introduce a new project structure as well as project tmplates and project item templates. There are designers to create things like features and solution packages.One of the most appealing aspects of SPT is that it is extensibleYou can add your own custom project templates and item templatesYou can add menu commands into the Visual Studio UI.
  • By default, the managed client object models authenticate users by using their Windows credentials (DefaultCredentials). Optionally, you can change the authentication mode on the ClientContext object and specify using Forms authentication instead. A user must then supply a user name and password through properties on ClientContext. Behind the scenes, Windows SharePoint Services “14” calls the Authentication Web service, obtains the correct cookie, and then makes the necessary object model calls. To run managed client code against a Forms authentication server, you must change to Forms authentication. This requirement does not apply to the JavaScript object model.The managed client object models provide a ClientAuthenticationMode enumeration whose values are Anonymous, Default, andFormsAuthentication. To specify Forms authentication, use code similar to the following:clientContext.AuthenticationMode = ClientAuthenticationMode.FormsAuthentication;In addition to setting the authentication mode, you must specify the user name and password information, such as follows:FormsAuthenticationLoginInfoformsAuthInfo = new FormsAuthenticationLoginInfo("MyUser", "MyPassword");clientContext.FormsAuthenticationLoginInfo = formsAuthInfo; Note: Currently, the account name and password in formsAuthInfo are sent in clear text, so you must use HTTPS protocol instead of HTTP.
  • Here we explain the basics of creating a Silverlight web part and how to create a feature that deploys the XAP file and web part. We also explain how the XAP file is loaded at run time and how web part properties may be passed to the Silverlight application.For Silverlight client installations, Microsoft SharePoint Foundation deploys Microsoft.SharePoint.Client.Silverlight.dll and Microsoft.SharePoint.Client.Silverlight.Runtime.dll into a special "Scripts only" folder of the /_layouts virtual directory named clientbin. This folder is designed to be a standard place for hosting assemblies that are used in Silverlight.
  • Este diagramamostracomo o mecanismo de transportefuncionaManage client OM = .NET / SilverlightTodas ascomunicaçõessãofeitasatravés do serviço WCF client.svcMicrosoft implemented the client OM by decorating the core SharePoint OM with attributes if it was “client aware”[ClientCallableType(Name=“Web”,[…]),[…]]public class SPWeb {}Then a code gen tool generates the client OM assemblies and JavaScriptThis ensures that there’s fidelity between all the client OM’s and the server equiv
  • Can run LINQ queries against lists because the client object model does not support LINQ queries against lists.You can use LINQ in the client OM to return object (e.g., list title is not null), but you can’t return items with the client OM (e.g., all tasks whose due date is past)That’s why we need ADO.NET data services and that’s why we’re discussing it here
  • Can run LINQ queries against lists because the client object model does not support LINQ queries against lists.You can use LINQ in the client OM to return object (e.g., list title is not null), but you can’t return items with the client OM (e.g., all tasks whose due date is past)That’s why we need ADO.NET data services and that’s why we’re discussing it here


  • 1. Novidades para desenvolvedores .NET
    Fabian André Gehrke
  • 2. Agenda
    Visão geral do SharePoint 2010
    Recursos de desenvolvimento:
    Web parts
    ADO.NET Data Service
  • 3. Roadmap do SharePoint
  • 4. Microsoft SharePoint 2010A Plataforma de ColaboraçãoparaCorporações e para a Web
    Conectar e capacitarpessoas
    Reduzircustos com umainfraestruturaunificada
    Responder rapidamente a necessidadesde negócio
  • 5. Microsoft SharePoint 2010
    Ribbon UI
    SharePoint Workspace
    SharePoint Mobile
    Office Client and Office Web App Integration
    Standards Support
    Business Connectivity Services
    External Lists
    Client Object Model
    SharePoint Designer
    Visual Studio
    API Enhancements
    InfoPath Form Services
    Blogs and Wikis
    Activity Feeds
    Tagging, Tag Cloud
    Social Bookmarking
    Blogs and Wikis
    My Sites
    Activity Feeds
    Profiles and Expertise
    Org Browser
    PerformancePoint Services
    Excel Services
    Chart Web Part
    Visio Services
    Web Analytics
    SQL Server Integration
    Audio and Video Content Types
    Remote Blob Storage
    List Enhancements
    Enterprise Content Types
    Metadata and Navigation
    Document Sets
    Multi-stage Disposition
    Social Relevance
    Phonetic Search
    FAST Integration
    Enhanced Pipeline
  • 6. Exemplos de Sites - Internet
  • 7. Demo
    Olááááááá SharePoint
  • 8. Desenvolvimento no SP 2007
    A experiência com o Visual Studio é limitada
    Visual Studio Extensions for WSS
    Visual Studio Tools for Office with VS2008
    Desenvolvedoresprecisam se preocupar com coisaschatas
    Edição manual de arquivos CAML
    Edição manual do arquivo manifest.xml
    Criação de arquivos .wspparaimplantação da solução
  • 9. Desenvolvimento no SP2010
    Experiênciarica com o usuário
    SharePoint Explorer paraexploração de sites
    Projetos e itens do SharePoint 2010
    Designer visual
    Novas API de cliente
    Benefíciosparaosdesenvolvedores SharePoint
    Abstraçãonacriação de arquivos WSP (deploy)
    Facilidade no deploy de features
    Diminuição/eliminação de utilitáriosexternos
  • 10. Ambiente de Desenvolvimento
    Utilização de desktops 64 bits
    Opções de ambiente
    Desenvolvimento local
    SP 2010 poder ser instalado no Windows 7 e Vista
  • 11. WebParts
  • 12. WebParts
    ASP.NET WebParts
    Modelo mais comum de desenvolvimento
    Modelos de WebParts suportados
    Standard WebPart
    Visual WebPart
    Conexão entre WebParts
    Exemplo: grid conectado a um formulário
  • 13. WebParts
    Standard WebParts:
    Modelo existente no SharePoint 2007
    O layout deve ser feito manualmente em C#
    Muitas vezes são criadas para servir de container para UserControls
    Visual WebParts:
    Novo modelo do SharePoint 2010
    Layout feito através de UserControls (ASP.NET)
    O UserControls faz parte da WebPart, não é um componente separado
  • 14. Demo
  • 15. Ribbon
  • 16. Ribbon
    Começou a ser usada no Office 2007
    Experiência do usuário
    Menus contextuais e destacados
    Agilidade na execução de tarefas
    Executar ações para vários itens
  • 17. Demo
  • 18.
  • 19. Silverlight
    API de clientepara Silverlight (subset)
    O Silverlight poder ser utilizadoempáginas ASPX ou Web parts
    O Client OM poder ser utilizado no Silverlight paracriaraplicações SharePoint
  • 20. Criando Silverlight Web Parts
    Uma Web Part poder ser um host para o Silverlight
    SharePoint possuiuma web part de Silverlight
    A web part podeconterpropriedadescustomizadasparaseremenviadasao Silverlight via propriedadeInitParameters
    O arquivo XAP poder ser instalado no dirétorio LAYOUTS e carregadoem tempo de execução
  • 21. Funcionamento do COM
    ECMAScriptControlsand Logic
    Server OM
    JSON Response
    ECMAScript OM
    XML Request
    XML Request
    JSON Response
    Managed OM
    Client OM
    Managed Controls and Logic
    Servidor SharePoint
  • 22. Demo
  • 23. ADO.NET Data Services
  • 24. ADO.NET Data Services
    ListData.svcprovêacesso REST
    Operações de leitura, criação, update e exclusãosãomapeadasdiretamentenosverbos HTTP GET, POST, PUT, e DELETE
    Carrega o assembly manipulador do ADO.NET Data Services
    Implementa a interface IDataServiceProvider
    Implementa o provider Linq to SharePoint
  • 25. ADO.NET Data Services
    Obtendo as listas do site
    Obtenção da lista Projects
    Obtenção do projeto 2
    Obtenção dos projetosordenadospelotítulo
  • 26. Demo
    ADO.NET Data Services
  • 27. Dúvidas?
  • 28. Novidades para desenvolvedores .NET
    Fabian André Gehrke