Posts

Showing posts with the label SharePoint2010

Silverlight 4.0 with SharePoint 2010

On Last Friday 25th I delivered an online session part of the Second Riyadh Online Community Summit, here is a recording of the session Download and here is the source code of the demos Download

Silverlight 4.0 with SharePoint 2010 (2 of 2)

Image
In the previous post we set the stage for how can we start building Silverlight applications for SharePoint 2010 You have three options to actually program against the SharePoint from Silverlight: First there’s the SharePoint web services that have been there for a long time, Second there’s the new REST APIs that is suitable for working with strongly typed lists and the final option is the Client Object Model. The Client Object Model is a simple to use API that can be called from .NET CLR, JavaScript or Silverlight, we will stick with the Client Object Model cause this is the most suitable one to use from Silverlight, If you are familiar with developing for SharePoint on the Server Side (using SPWeb, SPList, etc.) then you will find that the COM (Client Object Model) mirrors a subset of the objects that are on the server. For Silverlight applications you need to reference the COM APIs there are two DLLs that you need to reference in your Silverlight project Microsoft.SharePoint....

Silverlight 4.0 with SharePoint 2010 (1 of 2)

Image
It’s been a while since I used SharePoint as I was focusing lately on Silverlight, In this post I will start exploring how to use Silverlight 4.0 with SharePoint 2010, I must mention that I’m not a SharePoint expert so please feel free to update me if there’s something mentioned that is not correct. What I like about SharePoint 2010 is that Silverlight comes right out of the box. The first thing you will note when you access SharePoint2010 sites (assuming that you have Silverlight installed) is that SP2010 makes use of Silverlight in many places, for example the Create Dialog is a just a Silverlight application Also the videos you upload to SP2010 assets libraries are played using a Silverlight media player the entry point for you Silverlight application into SharePoint is the Silverlight Web Part which is built into SP2010, you can insert this web part into any web page Let’s try to use this web part, first we will create a Silverlight application, Start Visual Studio –...