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
967 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 63

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 Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

With voice direction tools, various map viewing styles, the ability to get directions for different means of transportation and great service, Google Maps is simply one of the best navigations app in the market.    However, over the past year, an …
Whether you’re looking to gather data for research or gather feedback on an idea, being able to build and distribute your own online survey is not only cost-effective, but allows you to reach a larger audience and receive results in real-time. Googl…
This Micro Tutorial  demonstrates whether your site uses one subdomain or multiple subdomains, how to create full URLs from Google Analytics content reports. This procedure is called concatenation and can also be done with the CONCATENTATE function.…
By using UNIQUE function in Google Sheets, you can get around removing duplicates like in Microsoft Excel.

856 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