Friday, July 17, 2009

SharePoint 2010 Sneak Peeks - Developers

Visual Studio 2010 Sharepoint Tools
This is an equivalent product to the VSeWSS. Here are the tools:
  • Import VSeWSS Project
  • Import Reusable Workflow
  • List Definition
  • Sequential Workflow
  • Content Type
  • BDC Model (Application Definition)
  • Module
  • Empty Project
  • Event Receiver
  • State Machine Workflow
  • Import SharePoint Solution Package
  • Visual Web Part

VS 2010 Server Explorer can drill-down into sites with "Folder List"-like structure. You can see lists, libraries, etc. exactly like the Folder List in SharePoint Designer. The VS Debugger can now attach to a Sharepoint site, and you can establish breakpoints in your aspx runtime. A demonstration showed a webpart which, when viewed, transferred control back to Visual Studio and stopped execution at the breakpoint!

Also, a Developer Dashboard control is on the SharePoint pages (an icon) which refreshed the page and displayed a pane containing server information, database query statistics, event reports, web part rendering times, etc. I would imagine that this control is only available if debugging is enabled in the web.config file.

Client OM
A Client Object Model is provided as an abstraction into client-side processing functions (AJAX, JavaScript, Silverlight, etc.). Part of this library is a ClientContext datatype, which presumably keeps track of the site as it is manipulated by client-side functions. A ClientContext.ExecuteQuery method was shown to query a database (in a Silverlight web part) based on infomation kept in the client.

No comments: