O'Reilly logo

Microsoft SharePoint 2010 Development with Visual Studio 2010: Expert Cookbook by Balaji Kithiganahalli

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Calling Object Model asynchronously

The previous recipes all included calling object model synchronously. There are times when the execution is a long running process, it makes sense to call the method asynchronously and provide a visual cue to the users about the progress of the execution. In this recipe, we will create a console application that calls the Object Model asynchronously.

Getting ready

You should have successfully completed the previous two recipes to follow this.

How to do it...

In order to call the Object Model asynchronously, adhere to the following steps:

  1. Launch your Visual Studio 2010 IDE as an administrator (right-click the shortcut and select Run as administrator).
  2. Select File | New | Project. The new project wizard dialog box will ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required