Google Api OAuth2.0 and Aspnet MVC 3

I had to read everything on the web for a decent example of using the Google APIs in ASP.Net MVC 3 or, equivalently, for any .net web server application.

Since Google strongly recommends using its client libraries for OAuth 2.0, I spent most of the day reading documents looking for a sample for the .net application for web servers.

And I found squats (with the exception of a few unanswered questions in SO and elsewhere).

What I want to do is allow authenticated users to have their site to import contacts from Google. those. use OAuth2.0 to access google contacts.

So my questions are:

  • Should I use google client libraries for OAuth2.0 in my Asp.Net MVC 3 application.
  • Is there a decent sample that I can use.
  • Can someone post a good sample.
+5
source share

All Articles