FacebookConfiguration.LoadFromAppSettings Method
Loads the configuration properties from app settings.
Namespace: Microsoft.AspNet.Mvc.Facebook
Assembly: Microsoft.AspNet.Mvc.Facebook (in Microsoft.AspNet.Mvc.Facebook.dll)
Syntax
'Declaration
Public Overridable Sub LoadFromAppSettings
'Usage
Dim instance As FacebookConfiguration
instance.LoadFromAppSettings()
public virtual void LoadFromAppSettings()
public:
virtual void LoadFromAppSettings()
abstract LoadFromAppSettings : unit -> unit
override LoadFromAppSettings : unit -> unit
public function LoadFromAppSettings()
Remarks
It will map the following keys from appSettings to the corresponding properties: Facebook:AppId = AppId, Facebook:AppSecret = AppSecret, Facebook:AppNamespace = AppNamespace, Facebook:AppUrl = AppUrl, Facebook:AuthorizationRedirectPath = AuthorizationRedirectPath.