IntroductionLive SDK

The previous article, Getting Started with the Live SDK: Authorization, shows you have to request a user’s permission to access parts of their Live ID, including SkyDrive.

Time to take a closer look at what we can do with the REST API and SkyDrive. Listing a user’s folders and files stored in his SkyDrive seems like as good as any place to start.

Read the rest of this entry »

IntroductionLive SDK

In a move to compete with DropBox, Google Drive…etc. Microsoft revamped SkyDrive this week incorporating most of Mesh‘s features. If you signed up for SkyDrive before April 22nd, and have uploaded at least one file, be sure to apply for the free upgrade to 25 GB.

I wrote a couple of articles on the use of the DropBox REST API. Microsoft’s revamp made me curious to see if I could do the same with the SkyDrive API.

Read the rest of this entry »

Introduction

I was playing around this morning with the Bitly API. Like the Dropbox API they use OAuth for authentication. But instead of version 1.0 they use the OAuth 2 draft specification.

Wondering how much it differs from the previous version I created a Bitly account and started coding…

Read the rest of this entry »

IntroductionKindle

Mayhap came here sooner than I thought. The previous article on the WPD API dealt with deleting resources. Too destructive perhaps, let’s create some resources this time.

My Kindle’s is hooked up to my PC. Let’s see if I can transfer a book to it.

Read the rest of this entry »

WPD: Deleting Resources

April 15, 2012

IntroductionKindle

Last year I wrote three articles about the Windows Portable Devices (WDP) API, namely:

Regularly I get questions asking me how to add or delete resources from a WPD compatible device. Let’s focus on removing resources first. Mayhap I’ll write another post about adding resources next time.

I’m going to connect my Kindle and see if I can’t delete a book from it.

Read the rest of this entry »

IntroductionDropBox Logo

With this entry into the Dropbox series we come back to the beginning of the cycle. We started with authentication and that’s where we’ll end.

Having a user authorize your application to access his or hers Dropbox account consists out of 3 steps. Using OAuth you must:

  1. Retrieve a request token
  2. Have the user authorize your application
  3. Retrieve an access token

Before retrieving an access token you must wait until the user has authorized your application. There’s no way to determine when this has happened. Up until now we just waited a little while and hoped for the best. However, when you instruct the user to authorize your application, you can also specify a callback URL which will automatically be called when the authorization process has been completed.

Let’s create a sample web application that demonstrates this.

Read the rest of this entry »

IntroductionDropBox Logo

In the last part of the Dropbox series, we handled file downloads. This time I’ll show you how you can easily upload files to your Dropbox account.

To follow along, download the code of part #4 (article 66) from the download page, unzip it and open the solution in Visual Studio.

Solution Explorer

Let’s get started…

Read the rest of this entry »

IntroductionDropBox Logo

So far we’ve covered the following topics in the Dropbox series:

Once you are authenticated you can make API requests such as requesting your account information, creating, deleting folders…etc. One particular type of request is downloading a file from your Dropbox account. Once you’ve worked your way through the previous 3 parts this becomes trivially easy.

If you want to follow along go to the download page and download the code for the third part (article #65). Unzip it and open it up in Visual Studio.

Read the rest of this entry »

IntroductionDropBox Logo

In the previous part (part 2: API Requests) I mentioned that the third part would show you how to perform various folder operations such as creating, deleting and moving folders.

Well it has been a month, so let’s get to it. Go to the download page and download the source code of part 2 (Article #63). Unzip and open the solution in Visual Studio. Make sure you modify the API key and secret located in the console application (Program.cs code file). Replace the values with your own application’s key and secret.

Ready? Set? OK, let’s start with creating folders…

Read the rest of this entry »

Introduction

Last week a reader mailed me with some questions about my “WCF over HTTPS” blog post, which I wrote almost 3 years ago.

I created some sample code to help him enable SSL for a WCF service. Last year this was my most popular article, so I thought it would make sense to create a new up-to-date version that shows you step-by-step how to enable SSL for a WCF service with as little fuss as possible.

Let’s get started…

Read the rest of this entry »

Follow

Get every new post delivered to your Inbox.

Join 78 other followers