Development in SharePoint 2010
- November 12th, 2009
- Posted in Microsoft Tech
- Write comment
Developers have been a major audience for Microsoft’s SharePoint team. Developing for SharePoint 2010 got a lot easier. An incomplete list of features added to aid developers:
- Client SharePoint Object Model. Applications that do not run inside SharePoint as a WebPart can now make use of a new library to access SharePoint information. This library takes away most of the complexities around invoking the SharePoint web services. Very useful in e.g. Silverlight applications.
- New deployment package. SharePoint 2010 introduces/improves greatly the WebPart packaging and deployment using the new Windows SharePoint Package. It is now much easier to publish a feature or WebPart to a site or farm.
- Sandboxed WebParts. Web parts can be added to a site in a sandbox. A sandbox means that the WebPart will run in its own server-process. Furthermore, it has restrictions imposed on it (such as the time it may run). This greatly improves the stability of the environment as faulty WebParts no longer crash the SharePoint process. Especially interesting to know is that using the sandbox you don’t need administrative privileges on a farm to deploy a WebPart to a site.
-
Improved Visual Studio 2010 support for SharePoint. In Visual Studio you can now:
- Use SharePoint templates to get you up-to-speed
- Design WebParts visually as if they are ASP.NET controls (which in fact they are…) (see this article for some extra info)
- Browse through a SharePoint site using the SharePoint Explorer Window
- Deploy WebParts to SharePoint through new wizards and the new feature/webpart package
- Hit F5 to automatically build, deploy, reset IIS, attach the debugger and open the page with the WebPart…
- Linq2SharePoint provides a LINQ query interface to search through list and site content. Regrettably this feature is not available in the new client object model (to be used by apps not running inside SharePoint)
- The Developer Dashboard provides statistics on page load time, executed queries, query execution times, server info, etc. Very useful! See this post for a preview…
- Silverlight is now supported out of the box.
- Business Connectivity Services is the follow-up of the Business Data Catalog. It is now much more powerful and even easier to use. You can relatively simple create an ‘external list’ that behaves just as any SharePoint list, but of which the content is hosted in another system (SQL Server, SAP, …) It even supports write operations to the lists! Visual Studio comes with templates for creating new BCS adapters for unsupported content sources…
- SharePoint Designer has gone through a major redesign making it much more useful.
- New WebService interface allowing for easier and more extensive access to SharePoint functionality. Moreover, REST support has been added to query lists and content. A very cool demo I saw was the combination of the REST interface with the improved Excel Services: A graph in an Excel file in a SharePoint library could be accessed through a (REST) URL and posted as a (PNG) picture on a webpage or inside PowerPoint. When the data in the excel file was updated, the graph was adjusted in PowerPoint and on the webpage. The Url looked like: http://mysharepointsite.com/lists/documents/excelfile.xlsx/mygraph, where mygraph was a named set in the Excel file (named sets are a new feature of Excel 2010). Very cool.
Combine this with the new features (SilverLight, Performance Point Services, improved Excel Services, etc.) and you’ll find that SharePoint 2010 is worthwhile upgrading. What I couldn’t test at the TechEd is the stability and performance. Hopefully that has improved as well…
I can’t posibly agree with the above post, and would like to highlight a few of the OP’s points. Not everyone will agree and though I am one of them, I do respect your right to have your view. Either way I have enjoyed reading Development in SharePoint 2010 | Joost's blog.