SP2010 and SL: ClientContext.Current is null

When using Silverlight to develop web parts for SharePoint 2010, you might use the Silverlight Client Object Model to access SharePoint data. But what happens if you try to move out of the Silverlight web part and, for example, put Silverlight in a SharePoint dialog box? Answer: Unhandled Error in Silverlight Application Object reference not set to an instance of an object at ClientContext.Current.

The problem arises because the Silverlight web part injects the SharePoint context into the HTML object parameter for the proper functioning of the Client Object Model. Therefore, you need to inject the SharePoint site URLs where the Silverlight is currently displayed into the initParams (MS.SP.url):

[Read More]

Windows 7 and Windows Server 2008 R2 SP1

The service pack 1 for Windows 7 is now available. If you have automatic updates enabled, you will receive it soon if you haven’t already, otherwise go to this site.

I have had it since Friday and no problems to report!

You can consult the SP1 documentation via the Microsoft website.

SharePoint Summit 2011–Québec

BanniereConferencier_GabrielMongeonI will be present at the SharePoint Summit in Québec (April 11 and 12) as a speaker and exhibitor with Alcero.

Come see my session titled How to Extend Search Capabilities in SharePoint 2010 or you can simply meet me on site.

An excellent way to meet experts and other SharePoint users.

Version 1.0 of Orchard

The Orchard project recently released version 1.0 of their product. I had talked about it previously here, and I decided to install it again.

Installation

The installation is done via the Web Platform Installer and I also used Web Matrix on a virtual machine to do my tests. The installation is almost automatic and very pleasant. No need for obscure configuration.

Once installed, you just need to start the Orchard site with the Web Matrix interface to see the initial site configuration page (Site name, admin user, password, database). Again, it is very simple and intuitive.

[Read More]

Microsoft MVP 2011

microsoft_mvp_logo[1]For the fourth consecutive year, I have received the Microsoft Most Valuable Professional Award in the Visual C# category.

I congratulate all the MVPs who have also been renewed for 2011 and the new MVPs!

Microsoft  MVP  C# 

I received a Windows Phone 7

Well, it may not be connected to a cellular network and it may be second-hand, but yesterday I received a Samsung Taylor for Windows Phone 7 (WP7) development!

I had fun with it last night and I am very satisfied with the device. Obviously, since it is a pre-production development device, it does not have all the features of a production phone. But all in all, it has all the functionalities of WP7.

[Read More]