Solved

MVC  and Google Contacts API, how to create a controller that will call a view that will display all my contact from my gmail account.

Posted on 2014-03-20
3
911 Views
Last Modified: 2014-11-12
I would like to see how I can create a controller that call a view from a google API. Does anyone as any tips. I'm guessing my view will have a for loop...

Found this online but not sure it is what I'm looking....

http://stackoverflow.com/questions/5860749/mvc-3-and-google-contacts-api
0
Comment
Question by:yguyon28
3 Comments
 

Author Comment

by:yguyon28
ID: 39944237
0
 
LVL 62

Expert Comment

by:Fernando Soto
ID: 39945347
First I have not done much as far as programming in ASP.Net MVC, That said have you attempted to create a Console application and get the Google contact to make sure the code works and can retrieve the needed information?

Once you have the code working the way you want then you can integrate it with your application you are working on, into the Model. Then you should be able to create a View from the Model and return that View from the controller.
0
 
LVL 25

Accepted Solution

by:
apeter earned 500 total points
ID: 39950020
Use the "Controllder" to talk to google api and get the contact details and populate the contact "Model" . Use this model and populate the View.

The controller mostly return "View" is just to render data.
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Learn new improvements released by Google for Google Calendar. Noted in this article are simple tips and tricks that can make your everyday use of Google Calendar better.
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This Micro Tutorial will demonstrate without sampling how to find out top organic landing pages. The hack gets around the standard way to find the pages in Google Analytics results in sampling for larger sites.
This Micro Tutorial will demonstrate how to analyze your website's back links using a network graph powered by a fusion table.

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now