Announcing new .NET and Windows Phone SDKs for SkyDrive, plus IFTTT, DocuSign and SoundGecko integrations

Just under a year ago, we unveiled a set of SkyDrive APIs that made it easy for developers on modern mobile platforms to provide their users with the ability to access their SkyDrive content in their favorite apps. And since then, we’ve been working at how we could continue to make this easy for more and more developers – so we added client-side SDKs targeting Windows 8, Windows Phone, JavaScript Web library, iOS and Android as well as made several enhancement to our REST APIs by removing file extension restrictions and also letting you upload full resolution pictures. Today, we are excited to announce the availability of new SDKs for .NET and Windows Phone 8 that are available at


We also continue to be impressed by the broad range of ways in which developers building apps of all kinds are using the SkyDrive APIs to build great experiences for their users. We have an app showcasethat features a number of apps that we think represent particularly effective integrations. Here, we wanted to highlight some new additions that we find compelling—IFTTT, DocuSign and SoundGecko.


IFTTT(“If this, then that”) allows users to put the Internet to work for them by creating customizable recipes to bring together the power of numerous web services, such as Facebook, Foursquare, YouTube, Tumblr, and more. Users set rules by defining triggers and matching them with actions to automate activities they want. By activating the SkyDrive channel, users can save files from other services to SkyDrive in a multitude of ways. For example, you could setup a recipe that automatically saves all of your Instagram photos to your SkyDrive.






Safe, secure and legally binding, DocuSign empowers users to get signatures from anyone, finish tasks faster, and go completely paperless. Users can send documents they have saved on SkyDrive, other cloud storage services, and their local hard drives. Once a document is sent, users can set automatic reminders for recipients to encourage them to complete it.






SoundGecko is a text-to-audio transcribing service that lets you enjoy written content from around the web on the go. When users link SoundGecko with SkyDrive, they get their MP3 audio transcriptions automatically uploaded to a “SoundGecko” folder in their SkyDrive account, available everywhere they go.







An evolving platform with even more tools

As the SkyDrive platform evolves, you can now use one of the new SDKs we’re releasing for building apps.


New SDKs

We are happy to announce the release of .NET and Windows Phone 8 SDKs for SkyDrive. Since we first introduced our SDKs, we have seen a lot of developers ask for a .NET library that would work for both client desktop apps and ASP.NET applications. With this release you can now create applications that target traditional desktop scenarios and as well as server side scenarios.



Client version


With this release you will be able to create WPF, Windows Form or console applications that let your users use their SkyDrive data. The possibilities are endless and we are really excited to see the type of applications you can create.


Server version


We are also releasing a version of the .NET SDK that will let you create ASP.NET websites and even web server components that talk to SkyDrive. Using the SDK also makes it easier for you to incorporate Microsoft account into your identity system or even just use Microsoft account as your primary identity system. Be sure to check out our Build talk “Powering your apps with Microsoft accounts” below to learn more about it. For those who are eager to dive in, here’s a little overview of the details of our .NET SDK. The following code shows how to retrieve your user’s SkyDrive data from a server .NET application:


public async Task<ActionResult> Index()
            this.authClient = new LiveAuthClient(ClientId, ClientSecret, null);

  var scopes = new string[] { "wl.signin", "wl.basic", "wl.skydrive" };
                LiveLoginResult loginStatus = await this.authClient.InitializeWebSessionAsync(this.HttpContext, this.CurrentPath, scopes);
                if (loginStatus.Status == LiveConnectSessionStatus.Connected)
                    return await GetSkyDriveView();
                else {

                    string reAuthUrl = this.GetLoginUrl(scopes, this.CurrentPath);
                    return null;
            catch (LiveAuthException ex)
                return HanldeAuthError(ex);

        private async Task<ActionResult> GetSkyDriveView ()
            LiveConnectClient client = new LiveConnectClient(this.authClient.Session);
                LiveOperationResult skydriveResult  = await client.GetAsync("me/skydrive/files");
                SkyDriveDataModel skydriveFilesModel = GetSkyDriveDataModel(skydriveResult);
                return View("MySkyDriveView", skydriveFilesModel);
            catch(LiveConnectException ex)
                return HanldeUserDataError(ex);

Windows Phone 8 SDK

There are a ton of Windows Phone applications that already leverage SkyDrive in their applications. Today, we are proud to announce the support for Windows Phone 8. We have taken advantage of some of the new features that Windows Phone 8 has to offer and provided you with an easy to use programming model by supporting the new Task<T> async pattern and dynamic keyword. With this you can easily move your code between your Windows 8 and Windows Phone 8 application.


private async void OnLoaded(object sender, RoutedEventArgs routedEventArgs)
            var authClient = new LiveAuthClient("ClientID");
            LiveLoginResult loginResult = await authClient.LoginAsync(new string[] { "wl.skydrive" });
            if (loginResult.Status != LiveConnectSessionStatus.Connected)
                return ;

            var connectClient = new LiveConnectClient(loginResult.Session);
            LiveOperationResult operationResult = await connectClient.GetAsync("me/skydrive/files");
            dynamic data = operationResult.Result["data"];

            foreach (dynamic file in data)
               //process the result


Getting the SDKs

You can download the Windows Phone and the .NET SDKs from or via NuGet in your Visual Studio project. You can find more information about Live Connect at our dev portal.


Build Windows

The last few weeks have been great for Microsoft with the launch of Windows 8, Surface and Windows Phone 8. At the //build conference here in Redmond, we had some great sessions where we got to talk about Microsoft account and SkyDrive APIs. The sessions and slides are now available at the Build Windows site. Be sure to check it out and learn about the various types of applications you can create by simply leveraging Microsoft account and SkyDrive.


Demo code for the SkyDrive talk can be found at


As always—if you have any questions, either post them in the comments here or on our developer forums, where members of our team are always available.


Omar Shahine,

Group Program Manager,