Errata corrige for sample code 5.6 of my book

I’ve just found (thanks to a brilliant reader!) that code sample 5.6 of my book is wrong. Here you can see the right version of the code excerpt: // Listing 5-6 static void BrowseForContactsWithLINQ() { // Open the current ClientContext ClientContext ctx = new ClientContext(“http://devbook.sp2010.local/“); // Prepare a reference to the current Site Collection Site […]

Read more

Microsoft SharePoint 2013: What’s new

Let’s start playing with Microsoft SharePoint 2013! First of all, when you install it you will find the following prerequisite components: Microsoft .NET Framework 4.5 Windows Management Framework 3.0 (CTP2) Application Server Role, Web Server (IIS) Role Microsoft SQL Server 2008 R2 SP1 Native Client Windows Identity Foundation (KB974405) Microsoft Sync Framework Runtime v1.0 SP1 […]

Read more

What’s new in Visual Studio 11 Ultimate for SharePoint developers

Here you can find a very interesting post about the VS11 Ultimate roadmap. For me, as a SharePoint developer, is very interesting to see the following new features: Expanding support for teams working Tools for SharePoint performance profiling Unit testing by providing Behaviors support for SharePoint API’s IntelliTrace support SharePoint load testing tools I’m looking […]

Read more

Field: DisplayName, StaticName and Name

When you define a custom field through the Field feature element, you have the capability to define three different attributes that declare the Name, DisplayName and StaticName of the field. You might be wondering why there are three attributes to define three kinds of names for a single field. The XML schema that defines a […]

Read more

How to create a new Farm Administrator via PowerShell

Today I needed to create a new Farm Administrator and I tried to figured out how to do that simply using PowerShell, aside from creating the user in the directory service, of course. Here is a complete script to gain the result: ———————————————————————————————- Add-PSSnapin Microsoft.SharePoint.PowerShell -erroraction SilentlyContinue # Creates a new Farm Administrator $newFarmAdministrator = […]

Read more

Custom Service Application for SharePoint 2010

This week, while attending the Microsoft SharePoint Conference 2011 in Anaheim, I saw the session of Todd Bleeker, who is always brilliant and involving. Todd showed how to startup developing a custom Service Application based on a WCF service. In case you are interested in going deeper on this topic, I’d like to remind you […]

Read more