This project is read-only.

In the Source Code tab you will find : 

The Social.Facebook SDK implemented by me

One example of is usage an ASP.NET  Web Application  ( attention to the Settings on the web.config) 

 

This SDK consists on 3 Assemblies: 

  1. Social
  2. Social.Facebook
  3. Social.Facebook.Web

 

 

The Social assembly contains the folowing namespaces : 

Social.Core:

 Since this sdk is based on http requests and json responses, the core is considered to be the request formatter and the capacity to deserialize a json response, so this namespace contains:

 JsonDeserializer : Deserialize a json string to a dynamic object

 RequestFormatter: Formats an  http url.  

Social.Core.Protocols:

 The namespace contains an OAuth 2.0 implementation, and entities associated with him.

Social.Core.Contracts:

 The contracts of funcionalities that this sdk considers to be relevant

 

The Social.Facebook Assembly consists on a 2 Layer arquitecture on a total of 3 layer that compose this API - Channel and Service Layers ( the third  layer is the protocol layer that resides on the Social Assembly).

The Social.Facebook Assembly contains the folowing namespaces:

Facebook

 Contains all the commun entities of this Assembly, such as enumators Configuration information, and Entity objects

Facebook.Channel

 Contains the channel layer contract especification and implementation

Facebook.Service

 Contains the Service layer contract especification and implementation

Facebook.Exceptions

Contains the exceptions that can be throw during the usage of any method on each layer.

Facebook.Service

Contains the Service layer contract and implementation of this API. this Layer contains the main funcionalities to access the social facebook graph. 

 

The UML of this Assembly is : 

 

 

 

The last but not the least !! 

Social.Facebook.Web Assembly;

Contains the Facebook.Web namespace: 

This namespace contains web specific implementation of this API.

In this namespace we can find an  ASP.NET IHttpModule implementation responsable to:

  1. Make the Authentication / Authorization OAuth2.0 flow messages based on the information that resides on the configuration file of the application
  2. Instatiate all objects indicated in the previous UML Image in order to access the FacebookService in the application via SessionState.  

Last edited Jun 27, 2011 at 11:55 PM by vpaulino, version 5

Comments

No comments yet.