Your SlideShare is downloading. ×
Programming SharePoint 2010 with 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

Programming SharePoint 2010 with Visual Studio 2010


Published on

Published in: Technology

  • 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
  • Strong-typing vs Weak-typingStrong type is checking the types of variables at compile time. Weak typing is checking the types of the system at run-time. For scripts we will use weak typing. In big programs,we will use strong typing which can reduce errors at compile time
  • Work with data via RESTSharePoint list dataExcel spreadsheetsADO.NET Services OpenData REST based integrationREST ProtocolsAtom, JSON feedsIntegration with growing set of Microsoft REST TechnologiesASP.NET AJAX
  • Some new events were added like the after-synchronous event which is fired just after the update of a list item's properties and just before the user actually sees the new dataAfter events do not support cancellation of the user action. There are two types of event processing that can occur when an After event is raised: synchronous and asynchronous. Synchronous processing provides the ability to run the event in the same thread before sending the Web response back to the browser. Asynchronous event receivers are processed by a separate thread, so processing does not block the flow of code execution. The separate job thread for asynchronous processing is started by methods that reside in classes other than the SPEventReceiverDefinition class
  • - BCS-enabled solutions rely on ECTs to integrate external data into Office and SharePoint onclient and server
  • Visual Studio 2010 BDC Designer allows you to develop, debug and deploy Business Data Connectivity Models using the External System type “.NET Assembly Connector”.  This type is used for: Aggregation scenarios (across back-ends, across multiple calls to same backend, read from one back-end write to another) Custom/Complex Data Transformations, Custom Security (e.g. where SSO falls short)Custom Business Logic/Rules needed outside the back-end (don’t have good example of this)In addition Visual Studio 2010 BDC designer allows to import models created by SPD customize them, package them and deploy them through the Visual Studio
  • Sandbox solution is a pretty powerful idea.  Oftentimes I've wanted to try out a Web Part that I'd come across on the Web, or just wanted to test one of our own Bamboo Web Parts, and the only way I could try it out in SharePoint 2007 was by deploying it in my virtual environment. This is mainly required because I need farm admin rights to use STSADM deployment.  With the sandbox feature I can now be a site collection admin and can still deploy the WSP package. This is good news for developers like me, because now I can quickly deploy a Web Part for testing in my MySite site on our company's portal without breaking anything. This should be quick and easy and could simplify the lives of many. At least in theory.
  • Transcript

    • 1.
    • 2. VS2005 VS2008 VS2010F5 Deploy Debug Sequential Workflow 64 bit support Multiple Visual DesignersWSP Packaging State Machine WSP View Improved Packaging and DeploymentSPSolGen Workflow Separate Package Project & Item TemplatesWSP View Command TFS integration Command Line Build Extensible Projects & Tools VSeWSS VSeWSS 1.3 2007 2008 2009 2010
    • 3. Develop, Deploy and Debug Web Part DesignerBroad SharePoint Support Project Types
    • 4. REST APIs Client OMFarm Site List Data External Lists
    • 5. Language Integrated Query Example from o in data.Orders where o.Customer.City.Name == "London“ select o;
    • 6. Runs on Remote Machine SharePoint Data Consistent Efficient .NET CLR Silverlight CLR JavaScript
    • 7. JavaScript JavaScript Controls Logic JavaScript OM Proxy XML Client.svc Server OM Proxy XML Managed OM Content DatabaseManaged ManagedControls Logic
    • 8. ClientContext new ClientContext http://serverWeb and Client OM
    • 9. type text/javascriptfunction new Function Function
    • 10. REST-style ListData.svc Web Service
    • 11. ADO.NET Data Services REST Protocols Atom, JSON feeds SharePoint listIntegration with growing data and Excel set of Microsoft REST spreadsheets Technologies
    • 12. URI Map - Entity Properties
    • 13. Microsoft Confidential 24
    • 14. TeamSiteDataContext context = new TeamSiteDataContext(newUri("http://basquang:8001/sites/team/_vti_bin/listdata.svc"));context.Credentials = CredentialCache.DefaultCredentials;dataGrid1.DataContext = context.Tasks; Microsoft Confidential 25
    • 15. Reacting to Server Events
    • 16. Popular and Successful Base in 2007
    • 17. Microsoft Confidential 28
    • 18. Design
    • 19. The Ribbon Status Bar Notification Area
    • 20. Dialog Framework
    • 21. Microsoft Confidential 32
    • 22. New UI Option
    • 23. Microsoft Confidential 36
    • 24. Microsoft Confidential 37
    • 25. Microsoft Confidential 38
    • 26. Office ApplicationsDesign SharePoint Tools
    • 27. Describes the schema and dataaccess capabilities of an externaldata source and its behavior withinOffice and SharePoint*formerly known as BDC Entity (Web Service, DB, .Net object, LOB system, Web 2.0 service, etc.)BCS-enabled solutions rely on ECTs tointegrate external data into SharePointand the Office client applications
    • 28. ExternalContent TypeCustomer CustomerID FirstName LastName EmailAddress External data
    • 29. Microsoft Confidential 45
    • 30. Microsoft Confidential 46
    • 31. You’ve created a great collaboration app!>>>
    • 32. Upload Sandboxed Solution WSP