Visual Studio 2013 Preview and new Office Developer Tools for VS2013

Today, at the Build Conference 2013, Microsoft announced – as it was expected – the availability of a preview of Visual Studio 2013, together with the new .NET Framework 4.5.1 and Windows 8.1. Here you can find further information about .NET 4.5.1 and Visual Studio 2013, while here you can find a preview of the […]

Read more

Uploading a file into a library via CSOM, even if the library does not exist

A customer of mine asked me how to upload a file, using CSOM from .NET, into a target library/folder regardless the target folder already exists or not. Here you can see a code sample, which leverages the ExceptionHandlingScope available in CSOM. static void FileUploadWithExceptionHandlingScope() { ClientContext ctx = new ClientContext(“http://demo-sp2013.sharepoint.local/sites/DemoSite/“); ExceptionHandlingScope scope = new ExceptionHandlingScope(ctx); […]

Read more

What’s new in Microsoft Office Developer Tools for Visual Studio 2012, from a workflows’ development perspective

As Somasegar announced last week, Microsoft has just released the RTM version of the Microsoft Office Developer Tools for Visual Studio 2012, which are available here: OfficeDevToolsForVS2012. These tools provide many useful templates, and IDE extensions for developing Office 2013 and SharePoint 2013 apps and solutions. It was already available a Preview 2 version of […]

Read more

Using CSOM and PowerShell against an Office 365 / SharePoint Online site

Here you can see how to consume, via CSOM, a SharePoint site hosted on SharePoint Online/Office 365 using PowerShell. First of all you need to load the CSOM libraries in the PowerShell context. Add-Type –Path “C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\ISAPI\Microsoft.SharePoint.Client.dll” Add-Type –Path “C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\ISAPI\Microsoft.SharePoint.Client.Runtime.dll” Then you need to reference the […]

Read more