BT
x Your opinion matters! Please fill in the InfoQ Survey about your reading habits!

Creating Facebook Applications in WPF, Silverlight, WinForms, and ASP.NET with Facebook SDK 3.0

by Abel Avram on Nov 10, 2009 |

Clarity Consulting Inc. and Microsoft have released Facebook SDK 3.0, a toolkit allowing developers to write WPF, Silverlight, WinForms or ASP.NET applications integrated with Facebook.

Facebook SDK helps writing both Canvas and Facebook Connect type of applications on all major .NET platforms. The toolkit contains the following assemblies:

  • Facebook.dll: This is the main assembly that will be used by all applications. This has all the logic to handle communication with the Facebook application. This assembly also has specific support of XAML applications (Silverlight and WPF) to enhance the Facebook platform to make data binding and data caching easier.
  • Facebook.Silverlight.dll: This is the Silverlight version of the main assembly that will be used by all Silverlight applications. This has all the logic to handle communication with the Facebook application. This assembly also has specific support of XAML applications to enhance the Facebook platform to make data binding and data caching easier. The REST API in this assembly is Asynchronous only.
  • Facebook.Web.dll: This assembly should be used by Canvas applications. The main functionality supported in this assembly is to encapsulate the handshake between the Facebook application and a canvas application (both FBML and IFrame)
  • Facebook.Web.Mvc.dll: Provide a support building canvas applications using ASP.NET MVC. Separated from Facebook.Web.dll to avoid all developers from needing to install the MVC bits.
  • Facebook.Winforms.dll: This assembly provides support for writing Facebook applications using Winform technology. This provides a Component that wraps the API to make it easier to use from Winforms. This also contains some user controls to help display Facebook data easily.

This release removes some architectural inconsistencies introduced in earlier versions and makes use of an asynchronous interface to connect to Facebook. Other enhancements are:

  • Support for Silverlight and ASP.NET MVC
  • Better support for WPF and FBML (Facebook Meta-Language used to create Canvas applications)
  • Login control replacing BasePage and/or MasterPage for Canvas Development
  • Source code refactoring
  • More complete help documentation and samples

The refactoring of the source code done to align it with Microsoft’s guidelines has introduced some breaking changes.

Facebook SDK currently is a CodePlex project under MS-PL 1.1 license and includes the source code, samples and documentation.

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Discuss

Educational Content

General Feedback
Bugs
Advertising
Editorial
InfoQ.com and all content copyright © 2006-2014 C4Media Inc. InfoQ.com hosted at Contegix, the best ISP we've ever worked with.
Privacy policy
BT