Tuesday, June 24, 2008

Facebook MVC

THIS ARTICLE IS IN DEVELOPMENT

Welcome to Facebook MVC!

Obviously, if you were able to find this article you are interested in developing Facebook applications using the Model, View, Controller (MVC) design pattern! If this is truly what you'd like to do then you've come to one of the right places!

There are a few things that you'll need to have before you can get started.

1. Visual Studio 2008
2. ASP.NET MVC Preview 3
3. Facebook Developer Toolkit 1.6
4. My Facebook Developer Toolkit MVC Addon

The focus of this article is on how to setup a Facebook application using a MVC approach using ASP.NET. The Facebook Developer Toolkit (FBDT) is a great resource for people that are interested in developing a Facebook .NET application. FBDT is basically a .NET wrapper of the Facebook API. Unfortunately, the current approach taken by the FBDT for building web applications is straight WebForms & as such they use a class inheritance model which does not support an ASP.NET MVC application easily. The Facebook Developer Toolkit MVC Addon, makes supporting a Facebook ASP.NET MVC application a bit easier by adding support for web.config based configuration, & pre-controller-execution FacebookAPI setup via an Action Filter.


Please bear with me as I add more details to this article & to CodePlex

2 comments:

ronald.widha said...

Hi there,

I just found this project recently, and it looks like it's pretty much abandonded.

I'd love to pick on your brain a little bit about the project and maintain it. I'm planning to use it for my pet project, and trying to get it to work on ASP.Net MVC Beta and FDT 2.0.

Got a bit of a problem with isAppAdded line since it's deprecated and replaced with isAppAdded(long pageId). Posted a question on codeples, would appreciate if you know where to look.

thanks
Ron

Justin said...

yeah it's disappointing that this was abandoned, i'm also looking to use asp.net mvc for a facebook app.