InfoQ

News

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

Posted by Abel Avram on Nov 10, 2009

Community
.NET
Topics
Tools ,
Web 2.0 ,
Silverlight
Tags
WPF ,
WinForms ,
ASP.NET MVC ,
Microsoft ,
ASP.NET ,
Facebook

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.

No comments

Watch Thread Reply

Educational Content

Brian Marick on 4 Challenges and 5 Guiding Values of Agile Software Development

Brian Marick takes us through a quick tour of the most important values and challenges to adopting Agile successfully (they aren't the typical challenges and values we hear in the community).

Are You a Software Architect?

The line between development and architecture is tricky. Does it exist at all? Is an ivory tower actually needed? There's a balance in the middle, but how do you move from developer to architect?

Agile – A Way of Life and Pragmatic Use of Authority

The word 'authority' sometimes produces an allergic response in hard-line agilists. Freedom and authority – both are bad if misused and both are good if used in right spirit for a noble cause.

Getting Started with Grails, Second Edition

"Getting Started with Grails" brings you up to speed on this modern web framework. Companies as varied as LinkedIn, Wired, and Taco Bell are all using Grails. Are you ready to get started as well?

Using ITIL V3 as a Foundation for SOA Governance

Those familiar with only ITIL V2 often scoff at the thought that ITIL could serve as a governance framework for SOA. With ITIL V3, the focus of the framework shifted towards service-orientation.

Adrian Colyer on AspectJ, tc Server and dm Server

SpringSource CTO Adrian Colyer discusses AspectJ, SpringSource's dm Server and tc Server products, OSGi and Scrum.

Adam Wiggins on Heroku

Heroku's Adam Wiggins talks about Rails, Background Jobs, Add-Ons, Ruby, and how Heroku manages to work around Ruby's inefficiencies using Erlang and other languages.

SOA as an Architectural Pattern: Best Practices in Software Architecture

For Grady Booch the foundation of a good architecture is patterns, SOA being just one of many patterns. In this Second Life presentation, Booch attempts to bring more clarity on what architecture is.