Your SlideShare is downloading. ×
SharePoint 2010 developer overview (in Visual Studio 2010)
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

SharePoint 2010 developer overview (in Visual Studio 2010)

3,378
views

Published on

This is a SharePoint 2010 deck for Developers. It uses Visual Studio 2010 for developing SharePoint 2010 applications. If you are interested in learning about SharePoint development in VS2010, this is …

This is a SharePoint 2010 deck for Developers. It uses Visual Studio 2010 for developing SharePoint 2010 applications. If you are interested in learning about SharePoint development in VS2010, this is your deck!

Published in: Education

1 Comment
4 Likes
Statistics
Notes
No Downloads
Views
Total Views
3,378
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
212
Comments
1
Likes
4
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide
  • SharePoint adoption is skyrocketing! With over 100M licenses to date, it’s clear that end-users love SharePoint, and it’s a compelling and flexible platform for their business and application requirements. That fact is not lost on the development community, which numbers among the hundreds of thousands and is rapidly approaching the million mark. A compelling and successful platform combined with a thriving ecosystem means that doors of opportunity continue to appear for developers, and as you’ll see throughout this presentation those doors are easily opened by leveraging the skills you already have in Visual Studio, the .NET Framework, and ASP.NET.
  • Learning a specialized technology or framework is time consuming and takes you away from your core responsibilities. It often requires considerable investment of personal and work time to develop the skills necessary to make it a viable option for mainstream development projects.Before Visual Studio 2010, this was certainly the case for SharePoint development. To target SharePoint you had to have specialized knowledge of the server infrastructure, deployment details, and packaging specifications. Among XML files, GUIDS, and signed assemblies, there was a tremendous amount of overhead. The learning curve was incredibly steep.But that was then, and as you’ll see between SharePoint 2010 and Visual Studio 2010 there have been great strides made toward improving developer productivity…
  • If you care about finding the fastest way to translate your organization’s business logic into usable applications, why start from scratch? When developing for SharePoint you get a HUGE amount of functionality free. You don’t have to worry about the core plumbing. Services like document storage, end user customization, user authentication, and workflow management all come standard for your application.(build)But SharePoint isn’t just a product, it’s also a platform. The platform comprises the technologies you are using today ASP.NET, .NET Framework, and Windows Workflow Foundation. (build)When developing SharePoint customizations, you’ll be leveraging your current .NET development skills with Visual Studio to integrate core services known collectively known as “SharePoint Foundation,” which come with Windows Server 2008. (build)These core services include functionality vital to end-users and developers alike – such as authentication and authorization, the portal UI, sites and lists, the contextual ribbon and more…(build)And just as Microsoft’s own SharePoint Server builds rich functionality off of these core components, you too can leverage them via Visual Studio within your own products to provide exciting new capabilities for your customers.(build)Capabilities that include…SitesProvide essential portal technologies like the web part framework, security modeland personalizationAllows for hosting of individual, team and community web sites – not just internal, but extranet (partners) and Internet (customers)IT can establish sites collections and then allow users to create sub-sites and customize how the site looks and acts – reduces IT costsCommunitiesProvides new ways for people to work together… Not just traditional ways like document sharing or team calendarsSupport for blogs, wikis, RSS feeds, people search and moreIntegrated with Office Communication Server so you can take advantage of presence information, IM and real-time sharingContentManage enterprise information from creation through destructionOffice documents, rich media, web pages, social networking content (blogs & wikis)Supports policy and records management to insure corporate complianceDocument Sets are new in SP2010, they enable multiple documents to be grouped and actions can be taken on the group instead of individual documentsSearchCan index content in SharePoint lists as well as in external content systems, file share, databases, and LOB systemsSearch for people and expertise with an organizationAdvanced capabilities, scale, and performance provided by the FAST search engineInsightsAnalyze information to gain business insightBreak down silos of information and create scorecards, dashboards and key performance indicators (KPI’s)Deep integration with Excel allows information workers to further refine and analyze dataCompositesPower users and developers can build mashups and composite applicationsUse SharePoint Designer to change site design, assemble web parts, customize workflows, integrate data… all without writing codeAccess Services lets end users build simple applications that can then be made available in SharePointVisual Studio 2010 provides the ultimate in customizability with full control via code and configuration<or full text>SharePoint Sites. SharePoint Sites provides the essential portal technologies – things like the web part framework, security model, personalization, multi-lingual, support for rich media and streaming, and much much more. And when we refer to SharePoint Sites, our scope includes not only internally facing team sites or enterprise portals, but also extranets to connect a company to its partners or suppliers, and of course Internet sites for customer-facing presence that can scale to literally millions of users. SharePoint Communities introduces new ways for people to work together simply and efficiently. This includes traditional forms of collaboration with features like workspaces for document sharing, human based workflow, and team calendars and task lists. It also includes the latest Social Networking capabilities. SharePoint 2010 is effectively an enterprise social computing platform with support for blogs and wikis, RSS feeds, people and expertise search, colleague tracking, and social networks. Additionally, SharePoint is closely integrated with Office Communications Server so that your SharePoint Communities can take advantage of presence, instant messaging, and real-time sharing. SharePoint Content includes capabilities to manage enterprise information all the way from creation through the destruction and disposition of the content itself. SharePoint manages all types of content including Office documents, rich media files, web pages, html content, as well as social networking content like blogs and wikis. To ensure corporate compliance, SharePoint supports policy and records management, process management and customizable workflows, and a rich infrastructure for corporate governance. And with SharePoint’s unified infrastructure, you use the same content management facilities for publishing to your company’s Intranet as you do extranets and customer-facing internet sites.Now a core aspect of managing the mountains of content piling up in organizations is enabling great search to help people find and discover the information they need. Document Sets are new in SP 2010, enables features on a set of documents rather than just individual.SharePoint Search can index content in not only SharePoint sites, but also in legacy collaboration and content systems, file shares, databases, and line of business systems. SharePoint can also be used to search for people and expertise within an organization. Additionally, the advanced capabilities provided by SharePoint’s new FAST search engine provide rich navigators to create visually compelling user experiences, as well as extreme scale to search literally billions of documents within an organization.SharePoint Insights, we’re taking many of these concepts around search and collaboration and coupling them with traditional business intelligence tools to create new ways for information workers to analyze and gain business insights from corporate data. Underpinned by SQL Server, SharePoint can break down disparate silos of information to create rich scorecards, dashboards, and performance management reports. These views can blend structured and unstructured data, and ultimately represent a single version of the truth for an organization. Information workers can further refine and analyze that data through SharePoint’s deep integration with Excel, by far the most widely used BI tool on the planet. Across all of these capabilities, SharePoint offers a rich extensibility layer to rapidly build custom solutions. SharePoint Composites provides everyone from power users to corporate developers with quick and easy tools to mash up and build composite apps. For example, using the new SharePoint Designer, and without writing a single line of code, you can change the site design, assemble web parts, customize workflows, and integrate data from multiple repositories. Similarly, the new Access Services lets end users build simple tracking applications and relational databases that can then be shared across a department or the entire organization within a SharePoint site, but while also being managed and controlled by IT.
  • When developing for SharePoint, you have a spectrum of tooling at your disposal, from a development and design environment through application lifecycle management.Visual Studio 2010 SharePoint Developer Tools include new project templates as well as packaging of WSP files; we’ll see that in action during some of the demos to come.One of the largest hindrances we have overcome is no longer limiting the development of SharePoint customizations to server operating systems. With the 2010 release you can run and develop against SharePoint on your 64-bit installation of Vista or Windows 7!SharePoint development can fully leverage Team Foundation Server for source code control, item tracking, testing, lab management, and much more as you heard in the previous session. SharePoint Designer – a free download – provides a new shell that highlights artifacts like lists, content types and workflows, versus exposing the server file structure as in the previous version. So now you can focus on the assets you’re designing not where they are stored. There’s also a new WorkFlow designer that helps to bridge the developer continuum between SharePoint Designer and Visual Studio.
  • When Iopened this session, I remarked how SharePoint development leverages your existing knowledge of the .NET Framework and specifically ASP.NET. In fact, if you’re building ASP.NET web sites, you’re already a SharePoint developer! Visual Studio 2010 provides the ASP.NET Web Forms split-view designer which enables you to visually design and code your Web parts. The mark-up is the same mark-up you use for your own ASP.NET web sites; the controls are the same; the experience is identical to building an ASP.NET user control. You can even write client-side JavaScript, perhaps using jQuery, to improve interactivity and the end-user experience.
  • Let’s put your ASP.NET skills to work in SharePoint! [8-10 mins]
  • Development on Your DesktopThe developer tools allow you to develop, deploy, and debug from your desktop. This means you can build your SharePoint apps without needing to connect to a server on a virtual machine. You can do your development including deployment into SharePoint on your desktop. Ther are a couple caveats. You’ll need to follow the guide in the software developer kit to deploy on the Windows client. You can deploy either SharePoint Foundation or SharePoint Server on your desktop. It does require a x64 operating system, such as Windows 7 or Windows Vista. The deployment on desktop is not supported for production. To deploy in a production environment, you’ll need Windows Sever 2008 or Windows Server 2008 R2. The desktop deployment is for developers only. It is a stand-alone installation. The deployment on desktops can be disabled through Group Policy.
  • New Visual Studio 2010 TemplatesYou get SharePoint project templates in the Visual Studio box, so you can start right away on solution development.Templates in Visual Studio 2010 give you a starting place to build Web Parts Business Data Connectivity Workflow diagrams. Additional templates help you build Event Receiver, List Definition, Content Type, Module, and Site Definition.Solution Packaging with WSPVisual Studio helps you to package and share your SharePoint projects. The new tooling has standardized on the Windows SharePoint Package (WSP) packaging standard. When you import or deploy a solution to SharePoint, Visual Studio treats it as a solution package.You can import WSP from SharePoint Designer including Workflows.SharePoint ExplorerThe new SharePoint Explorer provides a view into native and custom artifacts (for example, lists and workflows) that exist on your SharePoint server.On SharePoint Foundation you can:View and modify the object properties of Virtual servers, Sites, Lists, List templates, Document Libraries, Files, Folders, List items and List fields. Delete site collections, sites, lists, files and file versions. Download files from document libraries. View the content of any text file. On SharePoint Server you can:View and modify the object properties of Virtual portal servers, Portal sites, Areas, Keywords, Listings, Catalogs, Content Sources and Scheduled Tasks. Delete content sources and search schedules. Import/Export list of content sources including search schedules. Makes it easy to copy the list of content sources to another SPS installation. Start/Stop crawling.
  • SharePoint Designer 2010 is free tool for creating and editing SharePoint artifacts. Using SharePoint Designer, advanced users and developers alike can rapidly create SharePoint solutions in response to business needs. Advanced users can compose no-code solutions that encompass a variety of common scenarios, such as:Collaborative sites and Web publishing Line-Of-Business data integration Business intelligence solutions Human workflowsIn addition, developers can now use SharePoint Designer 2010 to get a quick start on SharePoint development projects. That's because SharePoint Designer work can be upgraded to Visual Studio 2010. When you “Save site as template” in SharePoint Site Settings, SharePoint Designer creates a WSP; WSP imports into Visual Studio 2010 as new project.
  • This dashboard provides tracing and performance information that can be useful when you are trying to troubleshoot pages that are loading too slow.This is a tool that will give youA breakdown of the request/response cycle with timings for each operation. A breakdown of the response times for each database query that the rendering process triggers. A breakdown of the load times for each Web Part on the page. There are two methods to initialize this tool to work on your sites.  You can do this with stsadm.exe or with PowerShell.You can start the developer dashboard by entering the following command:stsadm –o setproperty –pn developer-dashboard –pvOnDemandOr inn PowerShell(Get-SPFarm).PerformanceMonitor.DeveloperDashboardLevel = "OnDemand"
  • What we just saw was a bit of magic. Visual Studio 2010 has taken an incredibly tedious and manual process consisting of 17 steps and condensed it down to just one keystroke – F5. Visual Studio puts all that power right in your index finger.We also saw how you can use the familiar ASP.NET web forms designer to visually construct a Web part. Writing the code-behind amounted to adding Page_Load code in ASP.NET, and we styled the ListBox control using familiar ASP.NET markup. In Visual Studio 2010, you can create full-featured Web parts in just a few minutes.
  • Now that you’re all certified SharePoint developers, let’s take it a bit further. We’re going to talk about three major scenarios that you can make a reality with SharePoint, Microsoft Office and your Visual Studio Development skills, namely(build)Connecting people to data with SharePoint Business Data Connector,(build)Enabling rich visualizations with Silverlight, and(build)Bringing functionality to where your users are – right in Microsoft Office, specifically Excel.
  • One of the most common scenarios in enterprise development projects is surfacing relevant data to end-users and enabling them to act on this information. SharePoint is well suited for this forms-over-data scenario.In the past demo, we created a Web part to present information about customer complaints, now let’s see a demonstration on how you can enable end-users to act on this data by creating a business data catalog model and associated workflow.
  • There are lots of great new templates and tools in Visual Studio to connect users to data, let’s review what we just saw in the demo:1. Business Data Connector brings enterprise data to your users. We surfaced external line-of-business data in the form of a list of customer complaints from the Blue Yonder Database and displayed it as a list inside of SharePoint.2. The rich client object model allows you to integrate with SharePoint via JavaScript. We added a button to invoke an AJAX-based dialog and wired it directly to the complaints list to improve the experience for the end user.3. Lastly, workflow designer enabled us to associate a workflow with an existing list and quickly package and deploy it to our SharePoint site.
  • Connect with Line of Business DataDevelopers can integrate line-of-business (LOB) data in SharePoint 2010 to read/write through the Business Connectivity Services (formerly named the Business Data Catalog). BCS lets you bring data into SharePoint.A SharePoint list can be external data. That data can both read and write to external data from line-of-business (LOB) systems, Web services, databases, and other external systems within Microsoft SharePoint 2010. SharePoint 2010 has product features that can use external data directly, both online and offline. Developers can gain access to a rich set of features and rapidly build solutions using familiar tools such as Microsoft Visual Studio 2010 and Microsoft SharePoint Designer 2010. Microsoft Business Connectivity Services (BCS) enhances SharePoint application capabilities and their UI through features, services, and tools. These enhanced capabilities and UI streamline development of solutions with deep integration of external data and services. Power users, developers, and business unit IT professionals can integrate assets from external systems and enable interaction with the external data through many types of applications. The Business Connectivity Services feature set enables rapid development and deployment of scalable and security-rich solutions. BCS is available in both SharePoint Foundation 2010 and in SharePoint Server 2010.
  • You have your choice of how to access data in SharePoint. On the client side you can use REST APIs that are strongly typed or Client Object Model that is weakly typed. Both are new in SharePoint 2010. The data platform has been improved for Farm, Site, List Data and External Links. On the server side, the Server Object Model has been improved offering you weakly-typed data access. LINQ to SharePoint is new to SharePoint 2010 and provides strongly typed data access.
  • REST APIs allow you to build mash ups of data in SharePoint lists. Integration of WCF Data Services provides a method to get data from SharePoint 2010 remotely using REST-style Web services.
  • The new client model is a simple API for you to add, retrieve, update and manage your data in SharePoint. This new client object model enables you to access SharePoint objects through a referenced DLL as opposed to Web service calls. (In SharePoint 2007, you access SharePoint list data, for example, by using an WCF Web service.)
  • Here’s a Client Model sample in .NET. This code connects to a SharePoint site and updates the Title property of the site.ClientContext context =    new ClientContext("http://server");Web site = context.Web;context.Load(site);context.ExecuteQuery();site.Title = site.Title + " and Client OM";site.Update();context.ExecuteQuery();
  • LINQ for SharePoint brings the power of LINQ to SharePoint, letting you treat lists, for example, as strongly typed objects. You example, you can query a list of orders:from o in data.Orders      where o.Customer.City.Name == "London“     select o;Entity classes of the LINQ to SharePoint provide a light weight, object-relational interface between your object-oriented C# or Microsoft Visual Basic code and the relational table structure of the content databases of SharePoint. You can join lists, join multiple lists with a lookup field, and join multiple lists as List A-to-List B-to-List C.You can project any field from joined list in a query without changes in list schema.
  • When you build your SharePoint Workflows you will be targeting .NET Framework 3.5 SP1. You can create Sequence Workflow and State Machine Workflows. And Workflows can be imported from SharePoint Designer or you can build them in Visual Studio or Visio 2010 Workflow Design.Site workflows release workflow developers from requiring a list item or document item to run workflows against. This is useful for when the process that the workflow is implementing does not start as a result of a list item or document.In SharePoint 2007, workflows ran as the identity of the logged on user. In SharePoint 2010, with high privilege workflows you can specify an account to run a workflow as to give it additional needed permissions. When creating a workflow in SharePoint Designer 2010, individual steps can be added that enable it to run as the author of the workflow instead of the logged on user. The feature is called High Privilege Workflows.SharePoint 2010 adds four new workflow Event Receivers for list based workflows. The four workflow event receivers available are Starting, Started, Postponed and Completed.New in SharePoint 2010 is the ability to add pluggable workflow services to SharePoint. This has always been possible in Windows Workflow Foundation, but the SharePoint-hosted workflow runtime was locked down and previously didn’t allow this. Primarily pluggable workflow services are designed for sending and receiving messages out of a workflow instance. But they are also valuable for any long-running system operation such as a long-running calculation.In SharePoint Designer 2010, you can create reusable declarative workflows. In SharePoint 2007, a workflow model created in SharePoint Designer could only be associated with one list. These reusable workflows do not rely on a specific list but can be associated with any list. The workflow design can be reused and associated with multiple lists.
  • Why should you consider bringing Silverlight into your SharePoint development efforts? For the same reason you build standalone Silverlight applications – to provide a feature-rich, interactive, and responsive user experience.(build)As you probably know, Silverlight is a cross-browser (and cross-platform) Rich Internet Application environment, and you can build applications with your familiar Visual Studio .NET for the business logic and plumbing and use Expression Blend and the other components of Expression Studio to facilitate spectacular designs and interactivity.There are three approaches to integrating Silverlight :(build)The ‘No Touch’ solution involves simply incorporating Silverlight content as you would in a traditional ASP.NET application, as an object tag in your page that initiates the download of the application and its execution in the confines of a web page, or even directly on the desktop as an out-of-browser application.(build)The ‘Low Touch’ approach involves integrating a Silverlight application directly as a web part, by incorporating the Silverlight application (.xap file) as an asset within your SharePoint site.(build)The ‘High Touch’ approach goes one step further and actually incorporates SharePoint data into the visualization experience via the SharePoint Silverlight client object model or technologies such as OData (or Open Data Protocol) feeds exposed by SharePoint artifacts such as lists.Let’s take a look at a demo of the last approach.
  • Silverlight (especially in combination with the client object model) is supported natively in SharePoint 2010—no more changing web.config to get started with this development.SharePoint 2010 supports implementation of the Silverlight client object model in two contexts: Within a Silverlight Web Part Within the Silverlight Cross-Domain Data Access system, through which a Silverlight application interacts with SharePoint 2010 data. A third possibility--modifying client access cross-domain policy on the server--opens security risks and is not supported in SharePoint Foundation 2010.
  • Sandboxed Solutions can be deployed to a shared hosting environment to limit the impact of unpredictable code to the other applications in use.Sandboxed solutions also offer a way to build SharePoint Web Parts and deploy them to a site without needing administrative intervention—that is, you can deploy a Web Part to a SharePoint site and have it run in the context of that site either in an on-premises instance of SharePoint or in the cloud using the hosted version of SharePoint.
  • Visual Studio 2010 and SharePoint Designer 2010 make developers more productive and Visual Studio Team Foundation Server delivers support for application lifecycle management. Team Foundation Server provides work item tracking, source code control, build, ability to manage test cases and log bugs, and conduct load testing.
  • If you care about finding the fastest way to translate your organization’s business logic into usable applications, why start from scratch? When developing for SharePoint you get a HUGE amount of functionality free. You don’t have to worry about the core plumbing. Services like document storage, end user customization, user authentication, and workflow management all come standard for your application.(build)But SharePoint isn’t just a product, it’s also a platform. The platform comprises the technologies you are using today ASP.NET, .NET Framework, and Windows Workflow Foundation. (build)When developing SharePoint customizations, you’ll be leveraging your current .NET development skills with Visual Studio to integrate core services known collectively known as “SharePoint Foundation,” which come with Windows Server 2008. (build)These core services include functionality vital to end-users and developers alike – such as authentication and authorization, the portal UI, sites and lists, the contextual ribbon and more…(build)And just as Microsoft’s own SharePoint Server builds rich functionality off of these core components, you too can leverage them via Visual Studio within your own products to provide exciting new capabilities for your customers.(build)Capabilities that include…SitesProvide essential portal technologies like the web part framework, security modeland personalizationAllows for hosting of individual, team and community web sites – not just internal, but extranet (partners) and Internet (customers)IT can establish sites collections and then allow users to create sub-sites and customize how the site looks and acts – reduces IT costsCommunitiesProvides new ways for people to work together… Not just traditional ways like document sharing or team calendarsSupport for blogs, wikis, RSS feeds, people search and moreIntegrated with Office Communication Server so you can take advantage of presence information, IM and real-time sharingContentManage enterprise information from creation through destructionOffice documents, rich media, web pages, social networking content (blogs & wikis)Supports policy and records management to insure corporate complianceDocument Sets are new in SP2010, they enable multiple documents to be grouped and actions can be taken on the group instead of individual documentsSearchCan index content in SharePoint lists as well as in external content systems, file share, databases, and LOB systemsSearch for people and expertise with an organizationAdvanced capabilities, scale, and performance provided by the FAST search engineInsightsAnalyze information to gain business insightBreak down silos of information and create scorecards, dashboards and key performance indicators (KPI’s)Deep integration with Excel allows information workers to further refine and analyze dataCompositesPower users and developers can build mashups and composite applicationsUse SharePoint Designer to change site design, assemble web parts, customize workflows, integrate data… all without writing codeAccess Services lets end users build simple applications that can then be made available in SharePointVisual Studio 2010 provides the ultimate in customizability with full control via code and configuration<or full text>SharePoint Sites. SharePoint Sites provides the essential portal technologies – things like the web part framework, security model, personalization, multi-lingual, support for rich media and streaming, and much much more. And when we refer to SharePoint Sites, our scope includes not only internally facing team sites or enterprise portals, but also extranets to connect a company to its partners or suppliers, and of course Internet sites for customer-facing presence that can scale to literally millions of users. SharePoint Communities introduces new ways for people to work together simply and efficiently. This includes traditional forms of collaboration with features like workspaces for document sharing, human based workflow, and team calendars and task lists. It also includes the latest Social Networking capabilities. SharePoint 2010 is effectively an enterprise social computing platform with support for blogs and wikis, RSS feeds, people and expertise search, colleague tracking, and social networks. Additionally, SharePoint is closely integrated with Office Communications Server so that your SharePoint Communities can take advantage of presence, instant messaging, and real-time sharing. SharePoint Content includes capabilities to manage enterprise information all the way from creation through the destruction and disposition of the content itself. SharePoint manages all types of content including Office documents, rich media files, web pages, html content, as well as social networking content like blogs and wikis. To ensure corporate compliance, SharePoint supports policy and records management, process management and customizable workflows, and a rich infrastructure for corporate governance. And with SharePoint’s unified infrastructure, you use the same content management facilities for publishing to your company’s Intranet as you do extranets and customer-facing internet sites.Now a core aspect of managing the mountains of content piling up in organizations is enabling great search to help people find and discover the information they need. Document Sets are new in SP 2010, enables features on a set of documents rather than just individual.SharePoint Search can index content in not only SharePoint sites, but also in legacy collaboration and content systems, file shares, databases, and line of business systems. SharePoint can also be used to search for people and expertise within an organization. Additionally, the advanced capabilities provided by SharePoint’s new FAST search engine provide rich navigators to create visually compelling user experiences, as well as extreme scale to search literally billions of documents within an organization.SharePoint Insights, we’re taking many of these concepts around search and collaboration and coupling them with traditional business intelligence tools to create new ways for information workers to analyze and gain business insights from corporate data. Underpinned by SQL Server, SharePoint can break down disparate silos of information to create rich scorecards, dashboards, and performance management reports. These views can blend structured and unstructured data, and ultimately represent a single version of the truth for an organization. Information workers can further refine and analyze that data through SharePoint’s deep integration with Excel, by far the most widely used BI tool on the planet. Across all of these capabilities, SharePoint offers a rich extensibility layer to rapidly build custom solutions. SharePoint Composites provides everyone from power users to corporate developers with quick and easy tools to mash up and build composite apps. For example, using the new SharePoint Designer, and without writing a single line of code, you can change the site design, assemble web parts, customize workflows, and integrate data from multiple repositories. Similarly, the new Access Services lets end users build simple tracking applications and relational databases that can then be shared across a department or the entire organization within a SharePoint site, but while also being managed and controlled by IT.
  • When developing for SharePoint, you have a spectrum of tooling at your disposal, from a development and design environment through application lifecycle management.Visual Studio 2010 SharePoint Developer Tools include new project templates as well as packaging of WSP files; we’ll see that in action during some of the demos to come.One of the largest hindrances we have overcome is no longer limiting the development of SharePoint customizations to server operating systems. With the 2010 release you can run and develop against SharePoint on your 64-bit installation of Vista or Windows 7!SharePoint development can fully leverage Team Foundation Server for source code control, item tracking, testing, lab management, and much more as you heard in the previous session. SharePoint Designer – a free download – provides a new shell that highlights artifacts like lists, content types and workflows, versus exposing the server file structure as in the previous version. So now you can focus on the assets you’re designing not where they are stored. There’s also a new WorkFlow designer that helps to bridge the developer continuum between SharePoint Designer and Visual Studio.
  • New events in SharePoint 2010 include:Add and delete events on lists. Add events on Web sites. After events can now be either synchronous or asynchronous. Additionally, new event model capabilities include the following:Event registration at the site collection level. XML event registration at the site receiver. Improved semantics for retrieving event data. Improved user interface for form-level events.
  • Why should you consider bringing Silverlight into your SharePoint development efforts? For the same reason you build standalone Silverlight applications – to provide a feature-rich, interactive, and responsive user experience.(build)As you probably know, Silverlight is a cross-browser (and cross-platform) Rich Internet Application environment, and you can build applications with your familiar Visual Studio .NET for the business logic and plumbing and use Expression Blend and the other components of Expression Studio to facilitate spectacular designs and interactivity.There are three approaches to integrating Silverlight :(build)The ‘No Touch’ solution involves simply incorporating Silverlight content as you would in a traditional ASP.NET application, as an object tag in your page that initiates the download of the application and its execution in the confines of a web page, or even directly on the desktop as an out-of-browser application.(build)The ‘Low Touch’ approach involves integrating a Silverlight application directly as a web part, by incorporating the Silverlight application (.xap file) as an asset within your SharePoint site.(build)The ‘High Touch’ approach goes one step further and actually incorporates SharePoint data into the visualization experience via the SharePoint Silverlight client object model or technologies such as OData (or Open Data Protocol) feeds exposed by SharePoint artifacts such as lists.Let’s take a look at a demo of the last approach.
  • Transcript

    • 1. Overview of the SharePoint 2010 Developer Platform
      Mithun Dhar
      Developer Evangelist
      Microsoft Corporation
    • 2. Contact
      Email: mithund@microsoft.com
      Twitter: @mithund
      http://blogs.msdn.com/mithund
    • 3. Huge Opportunity
    • 4. Learning a new
      technology is hard
    • 5. Your Product
      Microsoft Product
      {your opportunities here}
      Sites
      Communities
      Composites
      Built on / Built with
      Content
      Insights
      Base Platform
      Search
      Windows WorkflowFoundation
      NET Framework 3.5
      ASP.NET
      Build on top of SharePoint
    • 6. Developer Productivity
      SharePointDesigner 2010
      Visual Studio 2010
      ALM
      Windows 7
      Project Templates
      WSP Packaging
      Visual Designers
      One Development Machine
      For Developers Only
      X64 OS Required
      Source code control
      Team Foundation Server (TFS)
      Artifact Focus
      New Workflow Designer
      Export as WSP
      Developer Tools · Developer Workstation · Team · Design Tools
    • 7.
    • 8. Demo: Visual Web Part forASP.NET developers
    • 9. Development
    • 10. SharePoint 2010 for Developers
      First Class SharePoint Developer Tools
      Faster Solution Debugging & Tuning
      Choice of Development Workstation
      Developer Productivity
      Comprehensive Data Access
      Line of Business Integration
      Workflow Advances
      Rich Platform Services
      Application Lifecycle Management
      Standardized Solution Packaging
      Deploy with Agility and Stability
      Flexible Deployment
    • 11. Development on Windows 7or Windows Vista SP1
      Either SharePoint Foundation or SharePoint Server
      Requires x64 OS
      Not Supported for Production
      Only for Stand Alone Installation
      Can be Disabled through Group Policy
      Just for Developers
      Requires Following Install Guide in SDK
      Windows 7
    • 12. Visual Studio 2010Developer Tools for SharePoint
      Develop, Deploy and Debug
      Web Part, BCS and Workflow designers
      Package and Deploy SharePoint projects
      Generate WSP for Production Deployment
      View SharePoint site in Server Explorer
      Team Foundation Server Integration
      Web Part Designer
      Broad SharePoint Support
      Support for SharePoint Sandboxed Solutions
      Import WSP from SharePoint Designer including Workflow
      Build Workflow Steps for SharePoint Designer
      Extensibility for Development of Additional SharePoint Artifacts
      SharePoint Business Connectivity Services support
      Project Types
    • 13. SharePoint Designer 2010No code tool for SharePoint
      Free for creating and editing SharePoint artifacts
      New Tools
      BCS Entities
      List Schema
      Custom Actions
      Task / Approval Designer
      Improved Tools
      Workflow Designer
      Page Editor
      SharePoint Designer work can be upgraded to Visual Studio 2010
      “Save site as template” in SharePoint Site Settings creates WSP
      WSP imports into Visual Studio 2010 as new project
    • 14. Developer Dashboard
      stsadm -o setproperty -pn developer-dashboard -pvondemand
      Quick Debug or Monitor Page Performance
    • 15. F5
    • 16. SharePoint 2010 for Developers
      First Class SharePoint Developer Tools
      Faster Solution Debugging & Tuning
      Choice of Development Workstation
      Developer Productivity
      Comprehensive Data Access
      Line of Business Integration
      Workflow Advances
      Rich Platform Services
      Application Lifecycle Management
      Standardized Solution Packaging
      Deploy with Agility and Stability
      Flexible Deployment
    • 17. Connect people to data
      Enable rich visualizations
      Go where your users are
    • 18.
    • 19. Demo: Connecting data and people with SharePoint
    • 20.
    • 21. Business Connectivity ServicesBrings LOB Data Into SharePoint
      SharePoint List with External Data
      Read / Write
      SharePoint Foundation
      Built on the SharePoint 2007 Business Data Catalog
      Office Apps
      Client Runtime
      Offline Operations
      Cache
      Design Tools
      SharePoint
      Visual Studio 2010
      Enterprise
      Search
      Development
      Platform
      Business Intelligence
      Enterprise content mgmt
      Collaboration social
      SharePoint Designer 2010
      ECT Store
      Runtime
      Security
      Solution Packaging
      Out of the box UI
      Web 2.0
      DB
      WCF
      Web Service
      .NET LOB
    • 22. Overview of Data Technologies
      REST APIs
      Strongly-typed lists
      ClientOM
      Weakly-typed lists
      Client-side
      Data Platform
      Farm
      Site
      List Data
      External Lists
      ServerOM
      Server-side
      Weakly-typed lists
      LINQ
      Strongly-typed lists
      New in 2010
      Improved
    • 23. REST APIs
      WCF Data Services
      REST Protocols Atom, JSON feeds
      SharePoint list data and Excel spreadsheets
      Integration with growing set of Microsoft REST Technologies
    • 24. Client Object ModelRuns on Remote Machine
      Simple API to Add, Retrieve, Updateand Manage Data in SharePoint
      Commands batched for Performance
      SharePoint Data
      Consistent
      Efficient
      Client Application
      .NET CLR
      Silverlight CLR
      JavaScript
    • 25. Client Object Model Sample .NET
      ClientContext context =
      newClientContext("http://server");
      Web site = context.Web;
      context.Load(site);
      context.ExecuteQuery();
      site.Title = site.Title + " and Client OM";
      site.Update();
      context.ExecuteQuery();
    • 26. LINQ to SharePointLanguage Integrated Query
      Entity based programming
      Strong Types and Intellisense
      Supports List Joins and Projections
      Join lists on lookup field between them
      Join multiple lists (A->B->C)
      Project any field from joined list in a query without changes in list schema
      Example
      fromoindata.Orderswhereo.Customer.City.Name == "London“selecto;
    • 27. Workflow ImprovementsPopular and Successful Base in 2007
      Visual Studio 2010 Initiation and Association Forms
      New Workflow Design Surface in SPD
      Import SPD Workflows into Visual Studio
      Build SPD Actions in Visual Studio
      Visio 2010 Workflow Design
      Browser Based Visualization
      High Privilege Workflows
      Control Where Service Runs
      Site Workflows
      Reusable Declarative Workflows
      List Workflow Event Receivers
      Pluggable Workflow Services
      Performance and Scale
      Fully Customizable OOB Workflow
      Approval Designer
    • 28. Rich Visualizations
      Silverlight & SharePoint
    • 29. Enabling Rich Visualizations
      No Touch
      LowTouch
      High Touch
      SharePoint
      Artifact
      SharePoint
      Artifact
      <html/>
      OM, Web 2.0,
      Service, …
      ConsistentExperience
    • 30. Demo: SharePoint and Silverlight
    • 31. Silverlight 3 and SharePoint 2010New UI Option
      Media Player Web Part
      Organization Browser
      List and Site Creation
      Office Web Applications
      Silverlight Web Part
      Simple way to upload
      Silverlight CLR compatible
      Client Object Model
      Call SharePoint API’s
      REST APIs
      Simplifies List data access
      Support for remotely hosted Silverlight applications
      Delegated authentication/application principals
    • 32. Deployment
    • 33. SharePoint 2010 for Developers
      First Class SharePoint Developer Tools
      Faster Solution Debugging & Tuning
      Choice of Development Workstation
      Developer Productivity
      Comprehensive Data Access
      Line of Business Integration
      Workflow Advances
      Rich Platform Services
      Application Lifecycle Management
      Standardized Solution Packaging
      Deploy with Agility and Stability
      Flexible Deployment
    • 34. Sandboxed Solutions
      Security & Stability
      Security & Stability
      BusinessAgility
      BusinessAgility
      Essential Agility
      Essential Stability
      Easy Deployment
      Iterative Development
      Access To Shared Servers
      SharePoint Online
      Safe for Other Users
      Limited API Access
      Monitored Resources
      Separate Process
      Site Collection Limits
    • 35. Team Foundation ServerApplication Lifecycle Management
      Work Item Tracking
      Source Code Control
      Team Build
      Manage Test Cases
      Log Bugs
      Automated Testing
      Load Testing
    • 36. © 2009 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.
    • 37. Appendix
    • 38. SharePoint List ImprovementsCollaborative Data Store
      Relationships with Cascade or Block
      Transacted Cascading Deletion
      Restriction of Deletion
      Validation with Excel Like Formula
      Formula-based Validation
      Ensure Uniqueness
      Lookup to Multiple Columns
      List Index Auto-Creation
      Scalability and Performance
      List Query Throttling
      And we keep from SharePoint 2007
      Self Service List Creation
      Out of the Box List User Interface
      Built in Authorization Forms
    • 39. XSLT Views for ListsView Design in UI and SPD
      Replaces CAML for Views
      CAML Still Used for Queries
      Better Performance
      Easier edit in SPD
      Ribbon UX: sort/filter/group, conditional formatting,…
      Simpler Coding Experience
      Standard language, shared default XSLT
      XSLT-based views are now default
      SharePoint Lists
      External Lists
    • 40. Ribbon and Dialog Framework
      Client Site Custom Actions in Ribbon
      Context Sensitive Ribbon
      The Ribbon
      Status Bar
      Notification Area
    • 41. Ribbon and Dialog Framework
      Replaceable SharePoint OOB forms
      Open as Web Page or as Dialog
      Dialog Framework
    • 42. Your Product
      Microsoft Product
      {your opportunities here}
      Sites
      Communities
      Composites
      Built on / Built with
      Content
      Insights
      Base Platform
      Search
      Windows WorkflowFoundation
      NET Framework 3.5
      ASP.NET
      Build on top of SharePoint
    • 43. Developer Productivity
      SharePointDesigner 2010
      Visual Studio 2010
      ALM
      Windows 7
      Project Templates
      WSP Packaging
      Visual Designers
      One Development Machine
      For Developers Only
      X64 OS Required
      Source code control
      Team Foundation Server (TFS)
      Artifact Focus
      New Workflow Designer
      Export as WSP
      Developer Tools · Developer Workstation · Team · Design Tools
    • 44. SharePoint Events ImprovementsReacting to Server Events
      Events Project Templates in Visual Studio 2010
      After-Synchronous Events
      Simpler Event Behavior
      Site-scoped events
      Web creation events
      List creation events
      More User Interface Control
      Custom Error Pages
    • 45. Enabling Rich Visualizations
      No Touch
      LowTouch
      High Touch
      SharePoint
      Artifact
      SharePoint
      Artifact
      <html/>
      OM, Web 2.0,
      Service, …
      ConsistentExperience

    ×