Changes in SharePoint Client Object Model Redistributable SP1

 

Summary:

  • Enum Microsoft.SharePoint.Client.RecycleBinItemType.Web was added in Silverlight Client Object Model SP1.  No other significant changes noted.
  • This means old code using the previous version of the Client Object Model will work fine without recompilation.  Unless you happen to be doing stuff in the RecycleBin
  • I wish I had my evening back

 

Microsoft’s SharePoint Client Object Model Redistributables

Microsoft announced that along with the latest shiny SharePoint 2010 Service Pack 1, they are also releasing an updated SharePoint Client Object Model Redistributable SP1.  These are the libraries for .NET and Silverlight that you can use to talk to SharePoint, without having actually installed SharePoint on your machine and pulling the same DLLs from the /ClientBin/ folder.

http://support.microsoft.com/kb/2508825

image

Figure: installing the redistributable.  Note the Cancel button is where you expect Next to be :-(

Once installed, they are hiding in

C:\Program Files\Common Files\Microsoft Shared\SharePoint Client

 

Did anything actually change?  Do I have new secret goodies in the client object model?

Being the Silverlight and SharePoint fan that I am, I set about discovering what were the changes between the first RTM version of the Client Object Model vs. the Service Pack 1 version.

First thoughts were odd, but at least drove me onward:

image

Figure: RTM DLLs

 

image

Figure: SP1 DLLs

 

The striking thing was essentially, there are no differences in Microsoft.SharePoint.Client.dll and Microsoft.SharePoint.Client.Runtime.dll – these are the .NET versions.

But there was a change in Microsoft.SharePoint.Client.Silverlight.dll and Microsoft.Client.Silverlight.Runtime.dll – these are the Silverlight versions.

What’s also interesting was that the changes were done in October last year and guessing from the file size differences it doesn’t look like it was a major change.

 

Undeterred, I disassembled

image

Figure: Only minor changes in most of these files.

 

The only difference that is significant:

 

image

Figure: Additional Enum Microsoft.SharePoint.Client.RecycleBinItemType.Web added to Silverlight Client Object Model library

 

This raises an interesting question – so… this enum doesn’t exist in the .NET version of the DLLs?

REMIX thoughts: where HTML5 and Silverlight fits in with SharePoint

Congratulations to Microsoft Australia for pulling off another really great REMIX event. 

My biggest take-home thoughts came from the combined session “HTML5 and Silverlight: a love story” by Tathom Oddie and Justin Taylor.

This is their message, paraphrased:

You need to know your persona [user group], if you are trying to reach as many people as you can, you need to build for reach, go with HTML5, graceful-degradation to Silverlight, and have a download link for the browsers that can’t do either.

On the other hand, for your special users that are heavily using the system, you may want to give them a basic HTML upload capability, but feature-enrichment with additional premier experience (a rich application on the iPhone), or better upload experience with Silverlight, and even live recording capabilities. For this persona, you can convince them that they can have a much better experience if they download Silverlight.

(Followed by nice singing from Justin).

 

There’s an awful lot to think about going forward.  I love Silverlight and the possibilities you can do with it, at the same time it is true that to reach your audience you need to come to their level.

So a compromise, I suggest:

For SharePoint 2010:

  • For the consumer, where the user wants to see SharePoint content but not really contributing
    • Aim for HTML/HTML5 – this enables most features should someone in your board of directors want to view something in their iPad. 
    • Gracefully degrade to Silverlight, because many people in the organization may not be using IE9, Silverlight at least is easily available on Windows platforms and works with Windows XP and IE6
  • For the content creator, where the user may be using a lot of rich applications to interact with SharePoint
    • Start with the basic HTML (not HTML5).
    • Feature-enrich with Silverlight – your users already have the environment, it is easier to develop in, and has a significantly richer API
    • Silverlight 5 with Trusted Mode in Browser will enable browser-Office scenarios allowing browser to interact with Office client applications