liveservices/LiveSDK

Namespace issue(s) with ASP.NET Oauth sample code

Closed this issue · 1 comments

I'm having a couple issues with the ASP.NET Oauth sample code.

  1. System.Runtime.Serialization.Json not found -- reportedly requires reference to System.ServiceModel.Web namespace.
  2. There's another missing namesapce reference required for the following classes, and I haven't been able to track it down: OAuthConstants, OAuthToken, OAuthError.

What an I missing?

liwa commented

Is your site running against .net 3.5 above?
You need to make sure you are referencing System.Runtime.serialization in your web project.
The OAuthConstants, OAuthToken, OAuthError code are under App_Code directory with the same namespace as the Callback.aspx.cs